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
- 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]
多米诺洗牌算法 [View Code] [Arctic Cirlce Phenomena] [Wiki]
正二十面体万花筒 [View Code] [View Webm Animation]
Newton 迭代分形 [View Code] [Wiki]
Wilson 一致生成树算法 [View Code] [Wiki] [Mike Bostock's Javascript Animation]
反应扩散方程模拟 [View Code] [Wiki] [View Webm Animation] [Pmneila's Javascript Animation]
洛伦兹吸引子动画 [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