3D Recursive Tree

A random 3D tree generator using recursive code in Processing and viewing with your mouse.
(Click to generate a new random tree, move your mouse to rotate the view)
Feature Image
Feature Image

Feature Image Feature Image

When I first started to learn Processing, I was excited to use codes to draw images. I've used recursive loop to create a symmetric 2D tree before, but this time I wanted to create a 3D tree with randomize branches. I adopted Alasdair Turner's Recursive Tree from here: http://www.openprocessing.org/sketch/7150. I made a few changes to make the tree 3d, and enabled mouse control to rotate and view the 3d tree in different angles.

© 2015-2016 Youwen Design. All rights reserved.