Here is a show of what can be done by slightly modifying the coding challenge about fourier series, that you can find here :
- https://thecodingtrain.com/CodingChallenges/130.1-fourier-transform-drawing.html
- https://github.com/CodingTrain/website/tree/master/CodingChallenges/CC_130_Fourier_Transform_1/P5
I only modified the sketch.js, you need the other files of the coding challenge need