Generative Tree

For this project I worked from an existing processing(java) code fromĀ Dan Shiffman And I figured out how to produce an algorithm capable of run inside itself, the use of functions was vital to this process as well as the usage of noise values to make the tree look a little bit more natural.

Functions

For this exercise the goal was to learn the concept and usage of iterative functions. In order to solve the problem I developed an algorithm which allows me to guess the position and rotation of the next object, based on the previous iteration. Here you have two different iterations of the same principle.
Iteration 1

Iteration 2