Overview
The Space Colonization Algorithm creates tree- or vein-like forms by repeatedly extending branches in the averaged direction of nearby attractors.
Generates branching structures by growing toward nearby attraction points.
Compact metadata for implementation and discovery.
The Space Colonization Algorithm creates tree- or vein-like forms by repeatedly extending branches in the averaged direction of nearby attractors.
Quick facts
Runtime and memory behavior at a glance.
Best
O(points * branches)
Average
O(iterations * points * branches)
Worst
O(iterations * points * branches)
Space
O(points + branches)
direction = normalize(sum(normalize(attractor - branch_tip)))Averages directions from a branch tip toward its nearby attraction points.
Show branch tips advancing toward a cloud of attraction points.
Spatial indexing is important for large attraction point sets.
What each reference supports for this entry.
Original space-colonization reference for attraction-point tree and branching growth.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Space colonization and L-systems are alternative procedural growth models for branching forms.