Sin
Sine function. Takes an angle in radians and returns a value between -1 and 1.
Block
Interactive preview is available in the interactive reader.
Parameters
input (radians)- Angle in radians. One full cycle = 2π ≈ 6.28.
How it works
Sin produces a smooth wave that oscillates between -1 and 1. Feed it normZ * 6.28 for one complete wave over the print height, normZ * 12.57 for two waves, and so on.
Number of waves
| Multiplier | Formula | Waves over height |
|---|---|---|
| 6.28 | normZ × 2π | 1 wave |
| 12.57 | normZ × 4π | 2 waves |
| 18.85 | normZ × 6π | 3 waves |
| N × 6.28 | normZ × N × 2π | N waves |