← All interactives
This is an interactive canvas animation that tracks mouse movement and visualizes displacement and velocity. The green ball accelerates toward your cursor from a red starting point, tracing its path. Live metrics (total distance, displacement, average speed, and current velocity) are available as text in the Controls panel.
Home
Controls
Total Distance:
0
px
Displacement:
0
px
Average Speed:
0
px/s
Current Velocity:
0
px/s
Show Displacement Triangle
Show Velocity Vector
Save as PNG