Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "ParticleImage/ParticleImage"

Index

Interfaces

Type aliases

Functions

Type aliases

PixelOptions

PixelOptions: { image: Array2D<RGBA>; x: number; y: number }

Type declaration

Functions

Const ParticleImage

  • ParticleImage(__namedParameters: { backgroundColor: string; creationDuration: undefined | number; creationTimingFn: undefined | ((t: number) => number); deathDuration: undefined | number; deathTimingFn: undefined | ((t: number) => number); entropy: number; height: number; maxParticles: number; mouseDownForce: undefined | ((x: number, y: number) => ParticleForce); mouseDownForceDuration: number; mouseMoveForce: undefined | ((x: number, y: number) => ParticleForce); mouseMoveForceDuration: number; onImageStateChange: undefined | ((state: ImageState) => void); onUniverseStateChange: undefined | ((state: UniverseState, universe: Universe) => void); otherProps: otherProps; particleOptions: ParticleOptions; scale: number; src: string; style: CSSProperties; touchMoveForce: undefined | ((x: number, y: number) => ParticleForce); touchMoveForceDuration: number; width: number }): Element
  • Parameters

    • __namedParameters: { backgroundColor: string; creationDuration: undefined | number; creationTimingFn: undefined | ((t: number) => number); deathDuration: undefined | number; deathTimingFn: undefined | ((t: number) => number); entropy: number; height: number; maxParticles: number; mouseDownForce: undefined | ((x: number, y: number) => ParticleForce); mouseDownForceDuration: number; mouseMoveForce: undefined | ((x: number, y: number) => ParticleForce); mouseMoveForceDuration: number; onImageStateChange: undefined | ((state: ImageState) => void); onUniverseStateChange: undefined | ((state: UniverseState, universe: Universe) => void); otherProps: otherProps; particleOptions: ParticleOptions; scale: number; src: string; style: CSSProperties; touchMoveForce: undefined | ((x: number, y: number) => ParticleForce); touchMoveForceDuration: number; width: number }
      • backgroundColor: string
      • creationDuration: undefined | number
      • creationTimingFn: undefined | ((t: number) => number)
      • deathDuration: undefined | number
      • deathTimingFn: undefined | ((t: number) => number)
      • entropy: number
      • height: number
      • maxParticles: number
      • mouseDownForce: undefined | ((x: number, y: number) => ParticleForce)
      • mouseDownForceDuration: number
      • mouseMoveForce: undefined | ((x: number, y: number) => ParticleForce)
      • mouseMoveForceDuration: number
      • onImageStateChange: undefined | ((state: ImageState) => void)
      • onUniverseStateChange: undefined | ((state: UniverseState, universe: Universe) => void)
      • otherProps: otherProps
      • particleOptions: ParticleOptions
      • scale: number
      • src: string
      • style: CSSProperties
      • touchMoveForce: undefined | ((x: number, y: number) => ParticleForce)
      • touchMoveForceDuration: number
      • width: number

    Returns Element

Generated using TypeDoc