Personal Projects and Mucking Around

© Luke Wallin 2005-2017

Three Dimensional Java Tree Generator

If you don't have Java installed to view the applet above, here is a youtube video:

This Java version of the tree generator is built on largely the same ideas as the 2D JavaScript version - it's trying to model branches in an intuitive way, as they grow their strength forces them to go where they want, and gravity forces them to go where it points, and the size and strength of the branch dictates where it does actually go.

It's a long way from perfect - the average tree it produces is still fairly unrealistic! I've got plenty of ideas in the works for how to improve it, so watch this space.

The applet above has very little in the way of user-control. However, if you're interested, you can download the .jar file and run this from the command line to adjust all the options, which are documented if you run it with '--help', eg: "java -jar JavaTree.jar --help".

This project is also integrated into the raytracer to produce very shiny trees!