Recursion

Fractals are the geometry of nature. The idea is simple, call a function that draws something and then calls itself with slightly modified parameters. Also check out theSierpinski triangle.

    // Processing JS:
    // http://processingjs.org/