Is there a simple example showing moving objects with a "rubber band"?

There are a number of instances in the physics example but I I was hoping for something more straightforward.

Thanks