L-System implementation in JavaScript using a Canvas for rendering