/grow

A JavaScript L-system implementation for simulating tree growth.

Primary LanguageJavaScriptMIT LicenseMIT

grow.js

Grow.js is a simple javascript implementation of a Lindenmayer System based on the book The Algorithmic Beauty of Plants. About two chapters into reading this, I got so excited about it I had to try building my own simulator.

Support

Only tested on Firefox 5, Chrome 12-13 and Safari 5 so far. A very small set of tests can be run via the spec.html page.

Technologies

This project uses HTML5's canvas element to do the drawing, plus localStorage for saving and loading presets, but the bulk of the Javascript is built upon the shoulders of: