Help guide

Random Index node

Updated June 21, 2026

Random Index node

Product media placeholder

Replace this area with a screenshot or short walkthrough video during the media sweep.

Sister of `pulseCounter`: picks a random integer in [0, count) on each rising-edge `pulse`. Pair with `pulseRouter` for non-rhythmic dispatch where round-robin reads as too mechanical. Deterministic — uses a seeded mulberry32 PRNG so seek + replay produce identical sequences.

Type randomIndexCategory inputsContext sharedDynamic ports noCompound no

Inputs

PortTypeDescription
pulsefloatPulse
resetfloatReset

Outputs

PortTypeDescription
indexfloatIndex

Parameters

ParameterTypeDefaultDescription
countint4Count min 1; max 256
seedint1Seed
avoidRepeatboolfalseAvoid Repeat

Use cases

  • Random cursor / particle trail — feels less mechanical than round-robin since the same channel never reads as the obvious pattern.
  • Sound sample randomization — pick one of N variation samples per trigger so repetition doesn't feel mechanical.
  • Avoid-repeat dispatch — `avoidRepeat=true` ensures back-to-back pulses never hit the same channel.

Envelope

Use randomIndex 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/

Was this guide helpful?

Sunny Arora

Written by

Sunny Arora

Get technical deep dives delivered to your inbox

Join creators and developers who get exclusive insights, tutorials, and behind-the-scenes content every week.

No spam. Unsubscribe anytime.

Continue Exploring

You might also enjoy