Leaf Generator
This is a program that generates organic-shape leaves with texture that makes leaves look like they are 3D.
I programmed this in p5js with the concept of Turtle graphics and I also create functions that allow turtles to communicate with each other for the purpose of drawing texture on the leaves.
The generator is modular so that it can be easily applied to other projects such as the plant on the right.
To draw a leaf, there would be 5 turtles created for outlines and textures. For each step that the turtles move, they will communicate with each other and the texture turtles will visit outline turtles to draw texture. The image below show a leaf without texture. The image below on the right shows the script I made for the texture turtles to visit outline turtles each step and each texture turtles are five steps behind their own parent outline turtle.