ParticlesOpt
: {max
: numberMaximum number of simultaneously rendered particles.
lifeTime
?: [number, number]Minimum and maximum lifetime of a particle in seconds.
speed
?: [number, number]Minimum and maximum speed of a particle in pixels per second.
acceleration
?: [Vec2, Vec2]Minimum and maximum acceleration of a particle in pixels per second^2.
damping
?: [number, number]Minimum and maximum damping of a particle.
angle
?: [number, number]Minimum and maximum start angle of a particle.
angularVelocity
?: [number, number]Minimum and maximum angular velocity of a particle.
scales
?: number[]Scale from start to end for a particle.
colors
?: Color[]Colors from start to end for a particle.
opacities
?: number[]Opacity from start to end for a particle.
quads
?: Quad[]Quads from start to end for a particle.
texture
: TextureTexture used for the particle.
Options for the particles's component
group
Components
subgroup
Component Types