Claybits: Interactive Visualizations

1 min read Original article ↗

Sine Wave

At every step, the red line is rotated by a small amount. The y-position of the red-line is used to draw the next vertical black line. This produces a sine wave.

Try dragging the point on the canvas. Also, try changing the step-count.