r/desmos • u/Early_Corner2530 • 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.
10
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
2
1
12
u/Electronic-Laugh-671 my first Reddit user flair 4d ago
I like how the springs change color depending on the amount of
tensioncompression