Recursive Art


The image produced is inspired by T.S Eliot's The Waste Land. I chose an arid background image, and drew a fallen and blackened tree on the ground. I slanted the angle of the branches to show that the dead tree is lying on the ground, and that its weight is causing those branches to bend as such. This is meant to inject more realism into the picture.

In writing the program, I thought about the length of the branches, the thickness of them, and the angles at which I wanted them to bend. I initialized the variables accordingly and used recursion to produce the tree-like image.

Lights
Lights
Lights
Lights
Lights
Lights