Program to create visualizations of plants and other fractals in Python using l-systems
For now it's only a simple program with some operations and a simple parser for the turtle in python. I'm looking into how to make it compatible with some sort of programming language or JSON/toml like config file.
I need to do 2 big things;
- Stochastic grammars
- Add context sensitve grammars.
- Add parametric grammars, this is somewhat difficult but leads to beatiful pay offs
- 3D support, for stuff like trees in 3D space
- Python3.x
- Tkinter
For now it's easy to run this script. The following steps are what you need to follow.
Clone deze repo in de top directory van XAMPP dat is htdocs
$ git clone https://github.com/Thom2503/plants.gitGo to the cloned folder.
$ cd plantsRun the main.py script:
$ python3 main.py --config /configs/islangs.tomlThere are configs in /configs that have the configurations with the rules, axiom, iterations etc. Look at the files and you can edit them however you want.
Below are some resources that I used while making this.