This article walks through the code used to animate a tree fractal.
As seen on Minecraft's splash screen.