Skip to content

Render beautiful images or animate interesting algorithms in mathematics with Python.

License

Notifications You must be signed in to change notification settings

hsab/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!

Gitter chat License: MIT PyPI Requirements Status

Contents


Mandelbrot Set

Mandelbrot 集 [View Code]



[Back to Top]


Julia Set

Julia 集 [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's Uniform Spanning Tree 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]


Lorenz Attractor Animation

洛伦兹吸引子动画 [View Code][View Webm Animation]



[Back to Top]


2D Hyperbolic Tilings

Poincare 双曲铺砌 [View Code]



[Back to Top]


3D Hyperbolic Honeycombs

双曲蜂巢 [View Code]



[Back to Top]


Dependencies

Python libs:

$ pip install -r requirements.txt

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.7%
  • Other 1.3%