procedural tree generation algorithm code example Example: procedural tree generation algorithm int Fib(n){ return n < 2 ? n : Fib(n-1) + Fib(n-2); }