L-system sketches
I’ve been getting into procedural drawing and generative art some more, and last week I decided to try out L-systems. I ported some Processing code to Javascript and Canvas, then modified it and added controls so I could tweak the values and try things out. I also wrote a handful of additional brushes to get more interesting renders out of it (since plain lines can be kind of boring).
The algorithm isn’t entirely accurate — at least based off of the axioms and rulesets I plugged in from the Algorithmic Beauty of Plants book — but I like what I’m getting. I’ll do a second app sometime later with the correct algorithm.
Anyway, the code (which is kind of messy at the moment) is on GitHub. Sometime later I plan to add color selectors and more brushes. You can see the rest of these images in my sketches set on Flickr.
![lsystem-sketch-8](https://bencrowder.net/images/2010/12/lsystem-sketch-8-525x262.png)
![lsystem-sketch-18](https://bencrowder.net/images/2010/12/lsystem-sketch-18-525x262.png)
![lsystem-sketch-21](https://bencrowder.net/images/2010/12/lsystem-sketch-21-525x262.png)
![lsystem-sketch-22](https://bencrowder.net/images/2010/12/lsystem-sketch-22-525x262.png)
![lsystem-sketch-27](https://bencrowder.net/images/2010/12/lsystem-sketch-27-525x262.png)
![lsystem-sketch-37](https://bencrowder.net/images/2010/12/lsystem-sketch-37-525x262.png)
![lsystem-sketch-38](https://bencrowder.net/images/2010/12/lsystem-sketch-38-525x262.png)
![lsystem-sketch-40](https://bencrowder.net/images/2010/12/lsystem-sketch-40-525x262.png)
![lsystem-sketch-43](https://bencrowder.net/images/2010/12/lsystem-sketch-43-525x262.png)