Product media placeholder
Replace this area with a screenshot or short walkthrough video during the media sweep.
Picks a uniform random float in [`min`, `max`) on each rising-edge `pulse` and holds it until the next pulse. Wire into a tween's `to` for per-spawn variety (random rotation, scale variance, fall distance).
Inputs
| Port | Type | Description |
|---|---|---|
pulse | float | Trigger. On rising edge (0 → >0), a fresh random float is sampled. |
reset | float | On rising edge, restarts the PRNG sequence from `seed` and resamples. |
Outputs
| Port | Type | Description |
|---|---|---|
value | float | Most recently sampled float in [`min`, `max`). Stays constant between pulses. |
Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
min | float | 0 | Lower bound (inclusive) of the random range. Example: -360 for full-rotation range, 0 for positive-only values. |
max | float | 1 | Upper bound (exclusive) of the random range. Example: 360 paired with min=-360 → angle in degrees [-360, 360). |
seed | int | 1 | PRNG seed (mulberry32). Same seed → same sequence on every load. Examples: 1, 42, 1337. |
Use cases
- Random rotation per spawn — wire `value` into a tween's `to`, set `min: -360, max: 360`. Each pulse picks a fresh angle.
- Random duration / amplitude — vary tween range per fire so trail items / particles don't look mechanical.
- Deterministic randomness — set `seed` for reproducible sequences across reloads.
Envelope
Use randomFloat as the node type inside a graph node envelope. Add id, optional params, optional connections, and optional activeWhen based on the guide context.
Generated source
Registry faster-motion-docs/node-registry.jsonCategory page /help/faster-motion/faster-motion-node-category-inputs/