Yet another 14 Feb project. This time it is 2D line drawing with Fourier series.
The input to the program is a SVG file. It gets transformed to Fourier series and gets fed to a drawing program. Which then simulates series as epicycles.
Drawing a rose isn't a bad idea: see demo.
Find complete workflow in design section below.
Complex Fourier series: any function can be expressed as sum of sine and cosine functions, and as the number of such functions approach ∞, the sum approaches original function. "Complex" because all this can be achieved with complex vectors rotating in complex plane each with some frequency.
Motivation: What is fourier series? (YouTube)
Fourier transforms, Bazier curves, Affine transformation, P5js, Blender