Coral Polyp Growth
Living polyps at each branch tip secrete calcium carbonate, extending the coral's rigid skeleton outward. Growth follows a recursive branching algorithm: every few seconds each tip either extends into one new segment or splits into two, with the new direction jittered by a random angle offset from the parent — mimicking the irregular, self-similar branching of real staghorn coral. Growth halts once a branch reaches the maximum recursion depth, leaving a fully formed colony.