This project uses Manim and SciPy to simulate and animate the Lorenz Attractor, a classic example of deterministic chaos in a 3D system. It highlights how tiny differences in initial conditions can lead to wildly divergent outcomes β the hallmark of chaos theory.
The Lorenz system is a set of differential equations originally developed to model atmospheric convection. Itβs defined as:
dx/dt = Ο(y - x) dy/dt = x(Ο - z) - y dz/dt = xy - Ξ²z
Typical parameters:
[0, 1, 1.05]
and [0, 1, 1.06]
VMobject
curve drawing over timepip install manim numpy scipy
βΆοΈ How to Run
manim -pql Lorenz_attractor.py LorenzAttractorAnimation
Use -qh for high-quality rendering. π Files
Lorenz_attractor.py β Main script
README.md β Project description
π Educational Use
Perfect for:
Demonstrating chaos theory and sensitivity to initial conditions
Teaching dynamical systems and nonlinear math
Visualizing strange attractors and 3D flows
π€ Support Generative Math Animation
Maintained with β€οΈ by Omniacs.DAO β accelerating digital public goods through data.
π οΈ Keep public infrastructure thriving. Buy $IACS on Base β CA: 0x46e69Fa9059C3D5F8933CA5E993158568DC80EBf