setup = _ => { createCanvas(800, 600); fill(0); } draw = _ => { applyMatrix(1, 0, 0, -1, 0, 500); clear(); frameCount % speed == 0 && d < 13 && d++; recursive_tree(d); } recursive_tree = (t) => t ? (rect(355, 0, (b = 88), b), applyMatrix((l = 0.5), l, -l, l, 2 * b, -b), applyMatrix(0, -1, recursive_tree(t - 1), 0, 5 * b, 4 * b), applyMatrix(1, recursive_tree(t - 1), -1, 1, b, -6 * b), 1) : 1;