UNPKG

tsparticles

Version:

Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.

13 lines (12 loc) 261 B
export class ConnectLineLinked { constructor() { this.opacity = 0.5; } load(data) { if (data !== undefined) { if (data.opacity !== undefined) { this.opacity = data.opacity; } } } }