Scratch Cat is ready to draw you a leaf using recursive code! Just tell him the depth (how many layers) and size of the leaf. Be careful, if you make the depth too big this will run for a long time.
The "Barnsley's leaf" algorithm is from "Measure, Topology and Fractal Geometry" by Gerald Edgar. The original code is written in Logo.