In this example, the 2D distance from the mouse to each circle is computed as the mouse moves across. Each circle's size is set accordingly.