← shop/Recursion: Functions That Call ThemselvesSHORT

Recursion: Functions That Call Themselves

A function that calls itself is recursion.

  • Inside the function, smaller copies of itself.
  • This produces fractals — the math of nature.
  • Ferns. Coastlines. Snowflakes. All recursive.
  • Mandelbrot proved this in nineteen sixty-seven.

Code below. Try it yourself.

#ShortsAGFarmsm7-recursion~16s
← more from AGFarms shop