technique

Recursive function

A function that calls itself, with a base/exit case, used to build self-similar fractal structures from a few lines of code.

Also called: recursion

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper

Connected to

Contrast with: Recursive fractal tree (deterministic) · Cantor set · Koch snowflake · Stochastic fractal tree · L-system · Recursive branch tree

Further reading: The Nature of Code


Revision 1 · 1 source · Something wrong? Tell us.