Differential Branching & Hyphae Growth Simulation
This is a pure JavaScript / HTML5 Canvas implementation of the generative differential branching algorithm originally created with Python and PyCairo by Anders Hoff (Inconvergent).
O(1) collision checking.θ = θ₀ + (1 - (ge+1)⁻⁰˙¹) · N(0, σ) ensures main trunks shoot straight while fine capillaries branch dynamically.Space : Pause / Resume simulationS : Step forward 1000 iterationsZ or Alt+R : Randomize all parametersR : Restart simulation with current settingsC : Toggle controls drawerMouse Wheel : Zoom in / outMouse Drag : Pan viewportShift + Click : Plant seed node without moving viewport