How to make the velocity circle in the drawrange example?

Picture:

Demo: https://codepen.io/prisoner849/full/yLKZdgv