An open API service indexing awesome lists of open source software.

https://github.com/pganssle/fractal-plot

Plotting routines for geometric fractals in matplotlib
https://github.com/pganssle/fractal-plot

Last synced: over 1 year ago
JSON representation

Plotting routines for geometric fractals in matplotlib

Awesome Lists containing this project

README

          

fractal-plot
============

Plotting routines for geometric fractals in matplotlib

### nflake.py
#### Create n-flakes / Sierpinski n-gons using matplotlib.patches.
Sierpinski n-gons are formed by taking a polygon with *n* sides and iteratively replacing it with smaller *n*-gons placed at either the corners or the vertices, and sometimes in the center. For example, here are the first four iterations of a vertex-centered Sierpinski hexagon with no center hexagon, plotted one on top of another: