neozhaoliang / pywonderland

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

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!

License: MIT PyPI


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'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]


Python libs:

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


ImageMagick, FFmpeg, POV-Ray

Ещё не оценен