Function particle

  • Add particles.

    Parameters

    • x: number | VectorLike
    • y: number
    • Optional optionsOrCount: number | {
          angle?: number;
          angleWidth?: number;
          count?: number;
          speed?: number;
      }

      angle: Angle of particles spreading
      angleWidth: The range of angles over which particles diffuse. If omitted, it spreads in a circular shape
      count: Count of particles
      speed: Speed of particles

    • Optional speed: number
    • Optional angle: number
    • Optional angleWidth: number

    Returns void

Generated using TypeDoc