From the course: Grasshopper: Generative Design for Architecture

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Springs: How physics solvers work

Springs: How physics solvers work

From the course: Grasshopper: Generative Design for Architecture

Start my 1-month free trial

Springs: How physics solvers work

- [Instructor] At its core, Kangaroo Physics and other similar physics simulators are clouds of points whose locations are updated over and over again in a cycle. These points are linked together by springs, forces that are represented computationally as vectors having direction and magnitude. In each cycle, the singular calculates new force vectors, and uses the vectors to update the location of points. Typically, this loop continues until the points no longer move, or move less than some very small distance in each loop. This is called convergence. The model is stable. The sum of all vectors within the model is minimized. Convergence represents an optimal solution for a particular set of force vectors. It's not guaranteed that a model will converge. If a model is not anchored in place or forces are not balanced, it is more likely that the model will explode or fly away. The simplest example of this is applying a gravity-type force without specifying a ground. In this scenario…

Contents