Dandelion’s and the L-System

This evening, I started implementing a 3D L-System engine and merged it into my 3D graphic engine, DeBreeze.

So, what are L-Systems??
Wiki: An L-system or Lindenmayer system is a parallel rewriting system, namely a variant of a formal grammar (a set of rules and symbols), most famously used to model the growth processes of plant development, but also able to model the morphology of a variety of organisms.[1] L-systems can also be used to generate self-similar fractals such as iterated function systems. L-systems were introduced and developed in 1968 by the Hungarian theoretical biologist and botanist from the University of Utrecht, Aristid Lindenmayer (1925–1989).

More: http://en.wikipedia.org/wiki/L-system and http://algorithmicbotany.org/

 

I uploaded two screenshots on my current progress. The first one is a function that I made, trying to model a seeded dandelion: F->FF[+[+F]F][-[-F]F].

The 2nd one is just a normal straw: F->F[+F]F[-F]F.

 

 

I’ll upload more screenshots and code when I get it done. 🙂

Advertisements
This entry was posted in Graphics. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s