Skip to content

ShapeConfig

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

A built-in shape with an explicit texture size.

optional size?: ShapeSize

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

Texture size in pixels, which is also the on-screen size at scale: 1. Default: 64×64, or 64×8 for "line" and 1×1 for "pixel". A non-square size stretches the shape into it — circle at [32, 16] is an ellipse.


type: ParticleShape

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