Connecting the ends of the rope and additionally enforcing an area constraint, one can get a squishy blob. The area constraints pulls points to the center if the area gets too large, or pushes them outward when it gets too small. Play around with the parameters and see the blob getting more gooey or more firm.

Touch the screen or move the mouse around to start and interact. Note that scrolling with a touchscreen requires to touch ouside the canvas area. If the blob swallows one of the balls, it may help to jerk the size-slider around.

0.15
1.6
1.4

The code can be found at https://github.com/sven-hoek/interactive_animations/.

Inspired by Sublucid Geometry’s blog post.