Thursday, June 17, 2010

LSystem 3

Click on the image below to load the canvas demo (requires FireFox or non-IE browswer)

 I added a zoom, and moved the Javascript into its own file. A tip is to zoom with a very low iteration, as otherwise it is very slow. I am going to look at rendering to a buffer and allowing scrolling.

1 comment:

  1. Nice work !

    I tried playing with the formula a bit

    L->,X->FL-[[X]+X]+FL[[X]+FLX]-X,F->FF

    gives more branching and leaves at smaller intervals

    ReplyDelete