effect-motion
API Referenceeffect-motionNamespacesParticlesType aliases

EmitterEmission

type EmitterEmission =

Type Alias: EmitterEmission

type EmitterEmission =
  | {
  burst: number;
}
  | {
  rate: number;
};

Defined in: packages/motion/src/particles/simulate.ts:27

Emission model for a single simulate call:

  • { burst: n } — birth n particles on the FIRST frame, then none
  • { rate: n } — birth n particles per second, continuously
  • { fill: n } — seed n particles EVENLY across the region on the first frame; they drift and wrap at the edges forever (no source, no lifecycle). This is the "floating field" model.

On this page