Fourier transform a function that converts the function of time to function of frequency. This project uses Fourier transform to darw the svg's using the epicycles. $\displaystyle{Xk = \sum{n=0}^{N-1} x_n \cdot e^{-i 2 \pi k n / N}}$
Works on a basic priciple of Fourier transform. We store the svg's in index.html as a svg element and it's property is set to hidden so it's not visible. We are using the fourier transform to convert our svg points into epicycles.
Clone the project
git clone https://github.com/Sarath191181208/FourierTransformVid
Go to the project directory
cd ./FourierTransformVid
Install dependencies
pip3 install -r requirements.txt
You need to install Latex on your machine too. And don't forget to add it to path too. Install Latex
Run the project Locally
manim animations/main.py -pqm CreateCircle
WikiPedia : https://en.wikipedia.org/wiki/Fourier_transform
3B1B : https://www.youtube.com/watch?v=r6sGWTCMz2k&vl=en
Coding train Fourier series : https://www.youtube.com/watch?v=Mm2eYfj0SgA
Better explained: https://betterexplained.com/articles/an-interactive-guide-to-the-fourier-transform/
- python
Make sure to add to path
- manim
pip install manim
- scipy
pip install scipy
- numpy
pip install numpy