Posts

Showing posts from October, 2025

Mathematical Animation Engine

Image
I recently discovered an interesting Python library called Manim . It’s a powerful tool that allows us to create beautiful animations of mathematical concepts and geometric shapes such as polygons, graphs, and functions. What makes Manim even more exciting is that it can be used directly in Jupyter Notebook. This means I can combine code, text, and animation all in one place — perfect for explaining mathematical ideas in a more dynamic and visual way. To try it out, I created a simple example using Manim to illustrate the Fourier Transform , one of my favourite topics from university. With just a few lines of code, Manim can generate smooth, professional-looking animations that show how complex waveforms are built from simple sine components. I’m excited to explore more possibilities with Manim and use it to present other mathematical concepts in a creative and engaging way. 1. Installation !sudo apt update !sudo apt install libcairo2-dev \    texlive texlive-la...