A Valid Opinion

May 30, 2009

Tree Generator

Filed under: Programming — Epitaph64 @ 7:26 pm

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.

tg2

Click here for more!tg1

tg3

No Comments Yet »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Blog at WordPress.com.