We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionExhibition › Recursive Tree Generation
Page Index Toggle Pages: 1
Recursive Tree Generation (Read 610 times)
Recursive Tree Generation
Feb 24th, 2009, 7:44pm
 
I modified the existing code from Daniel Shiffman to create a recursive tree. I tweaked some parameters and made others random so that it had a more realistic outcome. I am fairly pleased with how it turned out.
You can check it out here:

http://geocities.com/shaggin_k/treegen.html
Re: Recursive Tree Generation
Reply #1 - Feb 25th, 2009, 9:17pm
 
That's a great start.  Nice work!

Now, I challenge you to take it to the next level.

With spring nigh upon us, go out and look at some real deciduous trees, before they really leaf out.  Study them.  Look at what makes them look really real versus what makes a fake fractal tree look computer generated.  The trunks and branches aren't straight; they curve and twist.  Most trees don't fork with equal strength on both sides, they send out larger branches from which many smaller branches eminate.  I'm sure that in an hour on a late winter day looking at trees in your area, you can come up with a dozen great ideas for improving your code.
Page Index Toggle Pages: 1