Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

Flora
Groundhog
Hydro
Mapping
Terrain

Calculates a random path (in 2 dimensions)

Inputs

NameIDDescriptionType
StartPThe initial starting point or points for the path(s)Point
Step SizeLThe distance to move forward for each step. If provided as a list a random option will be selected for each step.Number
Step CountCThe number of steps to take.Integer
Random SeedSThe random seed to be used for each of the path distance and angle choices. If set the same random results will be produced; if not set they will be different for each run.Integer
DirectionsDThe possible angles in which to move (as a list of numbers in degrees). If not set a random direction in a 360 degree range will be used.Number
BoundaryBA boundary (must be a closed planar curve) that the steps will not be allowed to crossCurve

Outputs

NameIDDescriptionType
PathPThe resulting random pathCurve

Site design © Robin Rodricks.   Groundhog and associated data © 2022 Philip Belesky.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service