UNDER DEVELOPMENT
This small Python library was inspired by the 3Brown1Blue video linked here. After watching this video I took some time to remind myself of the structure of a Fourier series (which I, at one point, taught in ungrad.) before building the classes in the package FOUR.
The idea of a 2-D Fourier series is relatively simple. The general theory states that any function,
Where
References:
A. Gilat and V. Subramaniam, Numerical methods for engineers and
scientists: an introduction with applications using matlab, 3. ed.
Hoboken, NJ: Wiley, 2014.
In this quick example I have imprinted the motion of the duffing oscillator (as begun from a single set point) onto a grid. Each space can be made visible or invisible dependent on whether the point is present in that cell. That is,
Where
This started as a fun side project while working at iRobot in the Summer of 2023. Animations using Fourier transforms are not particularly difficult, but the exercise proved an interesting re-introduction to a topic I was enamored with at the time.
For Abby's birthday I traced an image using the tools in the drawdata folder of this repository to form a reference data set, and used the FOUR-package to create an animation of the lines drawn. For the purposes of the simulation I chose
And the second shows the resulting animation (plus I gave myself sunglasses)...
NOTE: Simulation is very smooth when not formatted as a .gif file.