This project is a small web app that draws plant‑like patterns using L‑systems (a simple kind of rule‑based drawing) using P5.js. You can learn more about L-systems here: https://algorithmicbotany.org/ You control a few sliders and dropdowns, and the simulation on the screen updates instantly!
- What you can do
- Change the angle and number of iterations to make the branching more or less detailed.
- Switch between different rule sets to get very different tree structures from the same starting point.
- Pick from several color themes to change the background and line colors.
- Adjust a scale slider to zoom the tree simulations in or out.
This project was bootstrapped with Create React App.
- How to run it locally (briefly)
- Install dependencies with
npm install. - Start the dev server with
npm start. - Open
http://localhost:3000in your browser and experiment with the controls on the page.
- Install dependencies with