Sign in to follow this  

A plant growth algorithm

Recommended Posts

Hi all!,
For a long time I have had in my mind this vision of creating a game involving plant growth and user interaction. Today I was doing some researching on plant growth algs and I found this very cool flash animation:

so my question is: do you guys know the name of such algs?

I'm more concerned about how fast the alg will be than its mathematical correctness.


Share this post

Link to post
Share on other sites
While I don't know much about it I once looked into the same thing and came up continually with "L-Systems" in my searches, look them up kinda what you need...



Especially check out the links, while most of them generate a full plant you could take what they do and expand it to make them grow in an animated fashion.

Its not much but I hope that sorta helps.

Share this post

Link to post
Share on other sites
Well you could use fractals...(im pretty sure that means you'll have to write a recursive function to render)
I'm pretty sure there is a tree fractal algorithim somewhere on the net.
Just look it up.
For the math part I think you might have to use geometric sequences to figure out how many branches you want draw..ect.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this