Here I've created an elastic circle that follows your mouse cursor. This is achieved by calculating the velocity and direction of the mouse movement, and then dynamically adjusting the 'transform' property to reflect these changes.
YouTube Tutorial: https://youtu.be/wG_5453Vq98
A Pen by Denis Gusev on CodePen.