Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 1.11 KB

README.md

File metadata and controls

29 lines (19 loc) · 1.11 KB

Dragon Curve

This repository contains elements to create dragon curves, that recursive space filling curves.

Two implementations are available:

Here are some command line examples that can be used to create the images presented below

python dragon_curve.py --help
python dragon_curve.py 15 -o dragon_curve_15.gif
python dragon_curve.py 10 --tile -o dragon_curve_10_tile.gif
python dragon_curve.py 10 -t -o dragon_curve_ter_10.gif
python dragon_curve.py  9 -t --tile -o dragon_curve_ter_9_tile.gif

Alt text

Alt text

Alt text

Alt text