Introducing Lsystems.js
If you’ve recently been on my Github repository you’ll notice a new addition to my projects. Lsystem.js is a Scriptographer script for Adobe Illustrator. It allows users to generate Lsystem fractals through a list of available presets.
The script currently features:
- 24 Lsystem presets
- GUI to style, select and modify presets
At the moment the generator only supports DOL-systems, Stochastic L-systems and Bracketed OL-systems. I plan on adding support for parametric and context-sensitive Lsystems in a future release. For a full list of features to be added read here.
This script originally evolved from a canvas implementation I wrote back in October. Unhappy with the quality and finish of Canvas’ drawing API I decided to write a Scriptographer version instead.
If you’ve unfamiliar with what Lsystems are have a read through The Algorithmic Beauty of Plants. ABOP is a highly detailed paper about the history, theory and principles of modelling Lsystems in 2D an 3D.
I’ve wrote an introduction to Lindenmayer systems here. It goes though the basic concepts of how Lsystems work. I also plan on writing a guide to using this script soon, which should be available shortly after the next release of Lsystems.js.
You can download the latest version of this script here.
This entry was posted in Work and tagged fractals, Lindenmayer systems, lsystems, scriptographer, turtle drawing
Follow any comments here with the RSS feed for this postPost a comment or leave a trackback: Trackback URL




4 comments for “Introducing Lsystems.js”
Håkan Lundgren
Hey cool,
I posted an L-system of my own on the Scriptographer homepage a while back. Yours on the other hand has a working GUI that I didn’t include as I never did come up with a smart enough solution.
Good work (it’s OK to say that even though I think my skills are inferior, right?)
David
Hi Håkan,
If you mean superior, your script is more scriptography if that makes any sence :)
I did see your script on the website – half way through writing my scriptographer version though! I wouldn’t want to upload mine on their too. as you did yours first.
It definitely seems to be the craze at the moment. By the way, I like the Mosaic Staple Raster script you’ve wrote. Looks cool :)
David.
Oleg
Looks like a very cool script. I tried to run it in the latest Scriptographer 2.9.072 (Mac, Lion) and getting this error message:
syntax error
at Scriptographer Scripts/Interactive/Lsystems.js:1123
Is there a fix for this?
Thanks!
Oleg
Update:
I messed something up when downloading from github – reloaded the script and it works beautifully.
THE SCRIPT IS THE BOMB!
you should really post this marvel to scriptographer.org…
Cheers!
One Trackback
[...] Following on from the snowflake I made for Christmas 2009 is a snowflake fractal made with Lsystems.js. [...]