jasonwebb / morphogenesis-resources

Resources on the topic of digital morphogenesis (creating form with code). Includes links to major articles, code repos, creative projects, books, software, and more.
2.03k stars 114 forks source link

Soft body physics #39

Open jasonwebb opened 9 months ago

jasonwebb commented 9 months ago

Add to the Useful code patterns and techniques section.

Methods for simulating the motion and behaviors of deformable ("soft") bodies.

Common technique is to use a spring-mass system - a network of points connected with edges that act as springs. Adjusting the mass of the points or the physical properties of the spring produces different effects, as does changing which points are connected to others.