Tree Generator

I was thinking about procedural generation, and read an interesting post over on tigsource, and decided to make a basic tree generator, since I have basically been tackling any programming problems that are interesting to me. Here’s the result of very little work, but it’s still kind of nifty.

Click here for source code

As usual, mt, is the Mersenne Twister. This can be swapped out for Math.random() or java.util.Random.


Click here for more!tg1



Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s