You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fourier series visualisation and epicycles in p5js
The code
FourSeries.js is where the main program is, the function approximating the square wave is $\sum_{n=1}^N \frac{4}{n* \Pi}*sin(\theta *n)$
Where N is the number of terms and $\theta$ is time.