Constructors

  • Returns Engine

Properties

_configs: any
_domArray: any
_eventDispatcher: any
_initialized: any
_initializers: any
effectDrawers: Map<string, IEffectDrawer<Particle>>
interactors: Map<Container, IInteractor<Particle>[]>
movers: Map<Container, IParticleMover[]>
pathGenerators: Map<string, IMovePathGenerator>
plugins: IPlugin[]
presets: Map<string, RecursivePartial<IOptions>>
shapeDrawers: Map<string, IShapeDrawer<Particle>>
updaters: Map<Container, IParticleUpdater[]>

Accessors

  • get items(): Container[]
  • Returns Container[]

  • get version(): string
  • Returns string

Methods

  • Parameters

    Returns void

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns void

  • Parameters

    • name: string
    • interactorInitializer: InteractorInitializer
    • Optional refresh: boolean

    Returns Promise<void>

  • Parameters

    • name: string
    • moverInitializer: MoverInitializer
    • Optional refresh: boolean

    Returns Promise<void>

  • Parameters

    • name: string
    • updaterInitializer: UpdaterInitializer
    • Optional refresh: boolean

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    • plugin: IPlugin
    • Optional refresh: boolean

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns Promise<void>

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • index: number

    Returns undefined | Container

  • Parameters

    Returns Promise<IParticleMover[]>

  • Parameters

    • plugin: string

    Returns undefined | IPlugin

  • Returns IterableIterator<string>

  • Returns IterableIterator<string>

  • Returns void

  • Parameters

    • index: number

    Returns undefined | Container

  • Parameters

    Returns Promise<undefined | Container>

  • Parameters

    Returns void

  • Parameters

    • Optional refresh: boolean

    Returns Promise<void>

  • Parameters

    Returns void

  • Parameters

    • callback: ((e, particles?) => void)
        • (e, particles?): void
        • Parameters

          Returns void

    Returns void