Optional
clickPositionValid
Optional
draw
draw?: ((context: CanvasRenderingContext2D,
delta: IDelta) => void) Optional
drawParticle
drawParticle?: ((context: CanvasRenderingContext2D,
particle: Particle,
delta: IDelta) => void) Optional
export
export?: ((type: string,
data: Record<string, unknown>) => Promise<ExportResult>) Optional
handleClickMode
handleClickMode?: ((mode: string) => void)
Optional
init
init?: (() => Promise<void>)
Optional
particleCreated
particleCreated?: ((particle: Particle) => void) Optional
particleDestroyed
particleDestroyed?: ((particle: Particle,
override?: boolean) => void) Optional
particleFillColor
Optional
particlesInitialization
particlesInitialization?: (() => boolean)
Optional
particlesSetup
particlesSetup?: (() => void)
Optional
particleStrokeColor
Optional
pause
pause?: (() => void)
Optional
play
play?: (() => void)
Optional
reset
reset?: (() => void)
Optional
resize
resize?: (() => void)
Optional
start
start?: (() => Promise<void>)
Optional
stop
stop?: (() => void)
Optional
update
update?: ((delta: IDelta) => void)