This project uses Manim to illustrate the irrationality of π by animating two rotating vectors (arms) spinning at different rates. The resulting motion traces a non-repeating, beautifully tangled path.
| Element | Description |
|---|---|
| Yellow Line | Primary rotating vector (θ) |
| Red Line | Secondary rotating vector (2θ) |
| Blue Path | Traced tip of red vector |
| Smooth Motion | Controlled with ValueTracker |
| Frame Rate | 60 fps for fluid tracing |
pip install manim numpy
▶️ How to Run
manim -pql Pi_Irrational.py compass2
Use -qh for high-resolution render. 📁 Files
Pi_Irrational.py — Animation script
README.md — This file
🎓 Ideal For
Teaching irrational numbers and π
Visual demonstrations of compound rotations
Math and physics education tools
Visual art in generative math
🤝 Support Open-Source Math Animation Maintained with ❤️ by Omniacs.DAO – accelerating digital public goods through data.
🛠️ Keep public infrastructure thriving. Buy $IACS on Base — CA: 0x46e69Fa9059C3D5F8933CA5E993158568DC80EBf