A repeating oscillation (sine, triangle, sawtooth or square) to animate any setting over time.
What it is for
Makes a setting breathe, pulse or sweep by itself, with no keyframes: a force that swells and relaxes, a vortex that reverses, a slow drift of the look. Reach for it whenever something should move in a regular rhythm.
How it works
The node computes Time x Frequency + Phase, takes the chosen waveform at that point (a shape that goes from -1 to 1), multiplies it by Amplitude and adds Offset. The output therefore swings between Offset - Amplitude and Offset + Amplitude. When nothing is plugged into Time, the simulation time of the system is used, so the wave slows down and stops with the simulation. Randomness gives each half wave (each crest and each trough) its own random height. The value is the same for all particles, unless one of its inputs is fed per particle in a chain that drives a force (for example Particle Info > Random into Phase).
Connections
The Value output goes into any number input: a force's Strength, the Particle System's Time Scale, an effect's Strength, a Math node. Every input can be driven: an Audio Analyzer's Accumulate into Time makes the wave advance with the music.
Settings
| Setting | What it does | Default |
|---|---|---|
| Frequency | Number of full cycles per second (of the time used). 1 = one cycle a second, 0.2 = one slow breath every 5 seconds. 0 = no motion. | 1 |
| Amplitude | Height of the swing on each side of Offset. 0 = a constant value equal to Offset. | 1 |
| Offset | Middle value around which the wave swings. With Amplitude 0.5 and Offset 0.5 the output goes from 0 to 1. | 0 |
| Phase | Shifts the wave along its cycle, in cycles: 0.25 = a quarter of a cycle later, 0.5 = opposite, 1 = back to the same point. Use it to offset two waves. | 0 |
| Time | Clock of the wave, used only when something is plugged in; otherwise the simulation time is used and the number typed here is ignored. | 0 |
| Randomness | 0 = every wave has the same height. 1 = each half wave gets a random height between 0 and Amplitude. In between, the height varies less. | 0 |
| Seed | Changes the random pattern of heights. Only whole numbers give a new pattern. | 0 |
| Waveform | Shape of the oscillation. Sine: smooth and round. Triangle: straight lines up and down, with sharp turns. Sawtooth: a steady rise, then an instant drop. Square: jumps between the high and the low value, half of the cycle each.
|
Outputs
Value
Tips
- For a value that pulses between 0 and 1, set Amplitude 0.5 and Offset 0.5. For a slow breath on a Strength: Frequency 0.2, a small Amplitude, Offset at the base strength.
- A Square wave is a ready-made trigger for an ADSR Envelope: one envelope per cycle.
- Two waves with close frequencies (for example 0.2 and 0.27) added with a Math node give a motion that does not look repeated.
- With Randomness, Sine and Triangle stay continuous because the half waves meet at the middle value.