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 (replaced by Rate in BPM mode)
SpreadScalar0.00–1Per-laser phase offset that spreads timing across lasers

Outputs

PortTypeDescription
OutScalarCurrent ramp value, 0–1

Controls

  • Free | BPM: Switches between free-running at Speed Hz and locking to the global BPM clock.
  • Rate: In BPM mode, the cycle speed as a multiple of the tempo, from bpm/32 up to 8×bpm. At bpm the ramp cycles every 2 beats, at 2×bpm every beat, and at bpm/2 every 4 beats (one bar).

Ideas

  • Feed into a From Polar node's phase input for continuous rotation at a steady rate.
  • With the switch on BPM, use it as a beat-locked animation driver; pick a Rate to cycle every bar, beat, or subdivision.
  • 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.