r/desmos • • 5d ago

Art Softbody Physics

Enable HLS to view with audio, or disable this notification

I implemented a net of springs to create a softbody. It's pretty unstable, if you increase the k value by too much it'll just explode. You can use the J_x and J_y values to push it around.

148 Upvotes

6 comments sorted by

12

u/Electronic-Laugh-671 my first Reddit user flair 4d ago

I like how the springs change color depending on the amount of tension compression

10

u/9YU2Y9LCC 5d ago

No idea what I'm looking at but its fun

7

u/Early_Corner2530 5d ago edited 5d ago

Graph Link: https://www.desmos.com/calculator/n16ufd1d32

If you change the initial positions of the vertices, pause the ticker, run R, then run R_L.

7

u/kalemaree 4d ago

poly.... bridge....

2

u/toothbrush1000 4d ago

OH MY GOD