3D Sine Wave


Abrar Rakin
Computer Science Student at University of Waterloo

A sine wave is a geometric waveform that oscillates (moves up, down or side-to-side) periodically, and is defined by the function y = sin x. In other words, it is an s-shaped, smooth wave that oscillates above and below zero.

The following is a 3D visualization of the sine wave in p5.js.



The code for the above visualization is given below.



To know more :

//en.wikipedia.org/wiki/sine_wave

Discover more