Leaves and Branches: Objected Oriented Generative Art

Leaves and Branches

By Lama Ahmad

I created a Branch class to generate different numbers, positions, and colors of branches and leaves. I really liked the different shades of greens and added a parameter called ‘wiggle’ that contributed to the curves in the stems. Each time you click on the canvas a new image is generated.

I wanted to create an art piece as opposed to a game because I have already done a project like that in Processing (bonus, you can see it here).

To view and interact with the project you can click here.