Drawing anything with Fourier Series using Blender and Python

Recently, in the Fourier Series chapter of “Coding Druid”, I practiced the visualization of Fourier Series and demonstrated the periodic square wave curve, which can be decomposed into a series of sine wave curves: Above is Python (Blender) version. There are JavaScript (React) version, and Unity version. “Coding Druid” series is my horizontal programming practice notes, each part around a topic like mathematical, physics, electronic, graphics, sound, etc., implemented in several programming languages. This time I’m try to draw something with Fourier