The Flower - Organic Spherical Branching With Shortest Path and Custom Edge Cost in Geometry Nodes
Documentation
This Geometry Nodes setup generates an organic, spherical branching structure using the Shortest Edge Paths node. By calculating paths across a base mesh and dynamically deleting or displacing vertices based on their proximity to a custom Effector object, the system forces the pathing algorithm to reroute. This creates a natural, flower-like growth pattern that actively reacts to the effector.
Quick Setup
Apply the Geometry Nodes modifier to any base object (the tree generates its own Ico Sphere by default).
Create an Empty or use an existing mesh in your scene to act as the effector.
Locate the Effector object frame inside the node tree and assign your object to the
Object Infonode.Animate the Effector moving closer to or further from the base mesh to drive the branching growth.
Customization
Root Point: Inside the Vertex selection frame, adjust the
Comparenode's integer value (default is 2). This changes which vertex index the shortest path algorithm uses as its starting point.Branch Thickness: Adjust the
Float CurveandCurve Circleradius inside the Curve visuals (Bevel, smoothing) frame to taper the branches or change their overall thickness.Decorations: The setup automatically instances small UV spheres and point lights along the branches. You can swap these out in the ADDITIONAL STEP - DECOR POINTS and Instance lights frames. Their scale is controlled by the
Float Curvein the Customize decor point scale frame.
Discover more products like this
Branch procedural tree generative growth shortest path organic branching shortest procedural shortestpath edge cost geometry nodes