Grasshopper

algorithmic modeling for Rhino

Animation
Forces
Kangaroo
Mesh
Utility

PowerLaw

Component Index > Kangaroo > Forces > PowerLaw

Attraction or repulsion forces as a function of distance

Inputs

NameIDDescriptionType
ConnectionConnectionLine connecting 2 points for the force to act betweenLine
ExponentExponentsThe distance between the 2 particles will be raised to this power, and multiplied by the (unitized) vector between them. Typically 0, -1 or -2Integer
StrengthStrengthNegative for attraction, Positive for repulsionNumber
CutoffCutoffIf positive, the force only works below this distance; if negative only above this distance; and if 0 it works at all distancesNumber

Outputs

NameIDDescriptionType
Power LawPPower Law outGoo

© 2018   Created by Robin Rodricks and Andrew Heumann.   Hosted by

Badges  |  Report an Issue  |  Terms of Service