field
function field(props): Effect<FloatField, never, Runner>;
Function: field()
function field(props): Effect<FloatField, never, Runner>;Defined in: packages/motion/src/particles/constructors.ts:90
Create a floating field: particles spread evenly across the region,
drifting and wrapping at the edges. Simulate it with { fill: n }.
Parameters
| Parameter | Type |
|---|---|
props | FieldInput |
Returns
Effect<FloatField, never, Runner>