https://github.com/akihiko47/trees-generator
Random tree generator using turtle, python, and L-systems
https://github.com/akihiko47/trees-generator
generative-art l-systems python turtle
Last synced: 6 months ago
JSON representation
Random tree generator using turtle, python, and L-systems
- Host: GitHub
- URL: https://github.com/akihiko47/trees-generator
- Owner: akihiko47
- Created: 2023-10-10T09:27:08.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-10T09:43:04.000Z (about 2 years ago)
- Last Synced: 2025-02-16T04:31:42.496Z (8 months ago)
- Topics: generative-art, l-systems, python, turtle
- Language: Python
- Homepage:
- Size: 1.82 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🌳 Trees Generator 🌳

A random tree generator using turtle, python, and L-systems. You can see examples of generated trees in the `trees` folder
## Usage
1. You can copy the directory to make changes using ```git clone https://github.com/akihiko47/Trees-Generator.git``` or download `.zip` arichve.
2. Configure settings
3. Wait for result## Settings
1. `end_gen = 11` The last generation in the algorithm. The larger the value, the more beautiful the trees will be, but they will take much longer to generate.
2. `angle = 15` Standard branch offset angle. The larger the value, the wider the tree will be.
3. `rand_angle_max = 13` The maximum value of the random deviation of the branches. The larger the value, the more random the trees will be.
4. `thick = 16` Width of the tree trunk.
5. `dist = 10` Length of tree branches.## Contributions
Contributions are welcomed! 👋