Emitter Config
Parameters
identifier used to key the particle in composition; set by MultiEmitter to distinguish concurrent emitters. Leave as the default for a single emitter.
number of particles emitted in one run.
how long emission takes, in milliseconds. 0 emits every particle at once; a positive value staggers emission evenly across the duration. This is the duration of the emitter, not of the whole animation — the entire animation lasts emitDurationMillis plus the particleLifespanMillis of the last emitted Particle.
how long each particle stays on screen, in milliseconds.
launch-velocity multiplier for each particle (default 100); higher values fling particles farther from the start point.
strength of gravitational force applied to particles in Dp/s². A value of 0 means no gravity. Higher values create stronger pull.
direction of gravity in degrees. 0 degrees points downward (bottom of the screen), 90 degrees points left, -90 degrees points right, 180 degrees points upward.
range of launch angles (degrees) sampled randomly per particle. 0° points toward the top of the screen (vertical).
horizontal boundary, in Dp, that a particle may travel from its start point. 0 means no boundary.
scales how much each particle spins over its lifespan: 0f disables rotation, 1f (default) is one full back-and-forth turn, higher values spin faster.
when true (default) each particle starts at a random point within the emitter bounds; when false all particles start from the center.
the @Composable content drawn for every particle.