ABOUT: SANITY

Q1: What is SANITY?

SANITY is a simple in browser tool that allows you to create and view L-Systems as an SVG.

Any L-System created in SANITY can be saved as an SVG file for later post-processing by using vector art programs like Inkscape or Adobe Illustrator.

Q2: What is an L-System?

A L-System or a "Lindenmayer system" is a formal grammar like a simple programming language or script which can be used to produce fractal images.

There are many types of L-Systems and many ways to create interpreters for them. SANITY uses an iterative Turtle Graphics interpretation with a reduced subset of the Paul Bourke alphabet of symbols.

If you would like to learn more about how L-Systems really work we highly recommend you read the wonderful book The Algorithmic Beauty of Plants as this is the best and most detailed collection of information on L-Systems.

Q3: How do I learn L-Systems?

By studying L-Systems and the relation to axioms, identities and production rules and their derivations.

Or by simply playing around with SANITY and having a Bob Ross approach that is: "There are no mistakes, just happy accidents".

We have provided many examples that you can modify and play with. HAVE FUN 😁