Saturday, August 13, 2016

Fun with L-systems

I haven't done much with javascript embedded in HTML before, but I had some fun today before and after our graduation ceremony (congratulations, Clifton, Dan and Karl!). For information about L-systems, see Wikipedia. Edit the following to your satisfaction. Feel free to view the source of this post, and I hereby release this post and its source code into the public domain.
If you click on "Go" with the default settings, you'll get a Koch snowflake. Here are some other systems to explore:
Axiom:
Rules:
Actions:
Preamble:
Iterations:
Show transformed text:

No comments: