Skip to content

Render beautiful images or animate interesting algorithms in mathematics with Python. Mandelbrot Set, Domino Shuffling Algorithm, Wilson's Uniform Spanning Tree Algorithm, Reaction-Diffusion, Penrose Tilings, 120-Cell, Newton's Fractal, The E8 Root System, The Modular Group, Navier-Stokes Equation, ...

Notifications You must be signed in to change notification settings

ppinette/pywonderland

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Tour in the Wonderland of Math with Python

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!

Code Health License: MIT PyPI

Contents


Mandelbrot Set

Mandelbrot 集 [View Code]



[Back to Top]


Domino Shuffling Algorithm Animation

多米诺洗牌算法 [View Code] [Arctic Cirlce Phenomena] [Wiki]



[Back to Top]


Icosahedral Kaleidoscope

正二十面体万花筒 [View Code] [View Webm Animation]



[Back to Top]


Newton Fractal

Newton 迭代分形 [View Code] [Wiki]



[Back to Top]


The E8 Pattern

李代数 E8 的根系 [View Code] [Wiki]



[Back to Top]


The Modular Group

模群的基本域 [View Code] [Wiki]



[Back to Top]


Generalized Penrose Tilings

彭罗斯铺砌 [View Code] [Wiki]



[Back to Top]


Wilson Algorithm Animation

Wilson 算法 [View Code] [Wiki] [Mike Bostock's Javascript Animation]



[Back to Top]


Reaction-Diffusion Simulation

反应扩散方程模拟 [View Code] [Wiki] [View Webm Animation] [Pmneila's Javascript Animation]



[Back to Top]


The 120-cell

120 胞腔 [View Code][Wiki]



[Back to Top]


Dependencies

Python libs:

numpy, matplotlib, scipy, cairo, palettable, tqdm, numba, pyglet, vapory

Softwares:

ImageMagick, FFmpeg, POV-Ray

About

Render beautiful images or animate interesting algorithms in mathematics with Python. Mandelbrot Set, Domino Shuffling Algorithm, Wilson's Uniform Spanning Tree Algorithm, Reaction-Diffusion, Penrose Tilings, 120-Cell, Newton's Fractal, The E8 Root System, The Modular Group, Navier-Stokes Equation, ...

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.5%
  • Other 1.5%