A collection of python scripts for drawing beautiful figures or animating interesting algorithms in mathematics.
This repository will be always under construction since there are too many interesting things in math that can be shown by code. Pull requests, issues, questions, and suggestions are all welcomed!
- Mandelbrot Set
- Julia Set
- Domino Shuffling Algorithm Animation
- Icosahedral Kaleidoscope
- Newton Fractal
- The E8 Pattern
- The Modular Group
- Generalized Penrose Tilings
- Wilson's Uniform Spanning Tree Algorithm Animation
- Reaction-Diffusion Simulation
- The 120-cell
- Lorenz Attractor Animation
- 2D Hyperbolic Tilings
- 3D Hyperbolic Honeycombs
Mandelbrot 集 [View Code]
Julia 集 [View Code]
正二十面体万花筒 [View Code] [View Webm Animation]
Newton 迭代分形 [View Code] [Wiki]
洛伦兹吸引子动画 [View Code][View Webm Animation]
Poincare 双曲铺砌 [View Code]
双曲蜂巢 [View Code]
Python libs:
numpy
, matplotlib
, scipy
, cairo
, palettable
, tqdm
, numba
, pyglet
, vapory
Softwares:
ImageMagick
, FFmpeg
, POV-Ray