generative modeling for Rhino
This video illustrates a least-cost-path algorithm written in Python and run in Grasshopper.
The algorithm utilizes the networkx python graph calculation library, creating a weighted graph from 3d mesh geometry. In the video three separate paths through shifting terrain are found from three starting points to a shifting destination point. The algorithm includes an input, called "flatness bias" for seeking out routes that are both short and flat as possible.