Skip to content

ShapeSize

ShapeSize = number | [number, number]

Defined in: particles/src/shapes.ts:23

The generated texture’s size in pixels: one value for a square, or an explicit width and height. At the default scale: 1 this is also the size a particle covers on screen. Every distinct size generates and caches its own texture, so keep to a few and vary per-particle size with scale.