This gummy blob's edge is one smooth curve through 16 hidden dots. Drag the pink gumball into it: nearby dots get pushed in, the rest bulge out, and the curve wraps around the ball with no corners. Check "Dots": they bunch up where the curve bends most.
The source code is at github.com/KirillOsenkov/LiveGeometry. It is written in .NET and Avalonia.