Skip to content

Quentin18/Matplotlib-fractals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Matplotlib fractals

A collection of fractals in Python using matplotlib

Install

You need to install matplotlib and numpy:

pip3 install matplotlib
pip3 install numpy

Then, you can clone the repository:

git clone https://github.com/Quentin18/Matplotlib-fractals.git

Collection of fractals

This is the list of the fractals. The files are in the repository fractals.

Barnsley fern

See: here

python3 barnsleyFern [nbpoints]
  • Default nbpoints: 100000

Dragon curve

See: here

python3 dragonCurve [nbpoints]
  • Default nbpoints: 50000

Koch snowflake

See: here

python3 kochSnowflake [order]
  • Default order: 4

Pythagoras tree

See: here

python3 pythagorasTree [order] [angle]
  • Default order: 4
  • Default angle: 3

Sierpinsky carpet

See: here

python3 sierpinskyCarpet [order]
  • Default order: 4

Sierpinsky triangle

See: here

python3 sierpinskyTriangle1 [order]
  • Default order: 5

python3 sierpinskyTriangle2 [nbpoints]
  • Default nbpoints: 10000

Vicsek fractal

See: here

python3 vicsekFractal [order]

Default order: 4

Contact

Quentin Deschamps: [email protected]

About

A collection of fractals in Python using matplotlib

Topics

Resources

License

Stars

Watchers

Forks

Languages