Phasor

A continuously rising ramp that wraps from 0 back to 1. Unlike the Oscillator, the Phasor produces a single value per frame (not per point) that advances over time. It's the go-to node for driving rotation, phase modulation, and anything that needs steady forward motion.

Inputs

PortTypeDefaultRangeDescription
OffsetScalar0.00–1Static offset added to the ramp
Speed HzScalar0.0−20–20Ramp speed in cycles per second (ignored in BPM sync mode)
SpreadScalar0.00–1Per-laser phase offset that spreads timing across lasers

Outputs

PortTypeDescription
OutScalarCurrent ramp value, 0–1

Controls

  • BPM Sync: When enabled, the ramp locks to the global BPM clock instead of free-running at Speed Hz.
  • Sync Rate: The beat division when BPM Sync is on (1 bar, 1/2, 1/4, etc.).

Ideas

  • Feed into a From Polar node's phase input for continuous rotation at a steady rate.
  • With BPM sync enabled, use as a beat-locked animation driver; every bar, beat, or subdivision resets the ramp.
  • Connect to an Oscillator's Phase input for frequency modulation; the oscillator's waveform slides forward over time.
  • Use the Spread input to offset timing per laser. This creates a multi-laser chase effect without the Laser Chase node.

Tips

  • Speed Hz and Spread are sampled once per frame, not per point. They set the rate for the whole frame.
  • The Phasor accumulates phase across frames, so it never jumps or resets (unless you trigger a reset). This makes it ideal for smooth continuous motion.