Skip to content

Playing around with lsystems and drawing the resulting string with the help of an svg-turtle as a curve.

License

Notifications You must be signed in to change notification settings

mschlund/lsystems

Repository files navigation

License: MIT conda build poetry-build

lsystems

Playing around with lsystems and drawing the resulting string with the help of an svg-turtle as a curve. See the corresponding blog-post https://maximilianschlund.wordpress.com/2023/01/06/drawing-curves-with-l-systems/

Build

Prerequisites:

  1. set up environment $ poetry install

  2. run the draw-curves notebook: Either do

$ cd notebooks

$ jupyter-notebook draw_curves.ipynb or open the notebook in your favorite ide.

Conda (deprecated)

Prerequisites:

Then follow these steps:

  1. setup environment

$ conda env create -f env.yml

$ conda activate lsystems

  1. install this package in editable mode python -m pip install -e .

  2. run the draw-curves notebook: Either do

$ cd notebooks

$ jupyter-notebook draw_curves.ipynb or open the notebook in your favorite ide.

Tests

Tests can be executed via:

$ python -m unittest discover -s ./test -p test*.py

About

Playing around with lsystems and drawing the resulting string with the help of an svg-turtle as a curve.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published