Push a type disc to displace its neighbours

Contact pushes neighbouring discs apart. Move seven type discs of different sizes around a tray.

Try the motion

When to use it

Make room around a dragged node in an interactive bubble chart or layout.

How the motion works

Compare centre distance with the sum of the radii. The dragged disc follows the pointer while its neighbours separate along the contact line. Reduced motion shows the gathered result immediately.

How to use it

iOS · Android
Touch a disc and push it into a neighbour. Tap Gather three to repeat a collision.
PC
Drag a disc, or Tab to it and use the arrows to push it. Reset tray restores the starting positions.

Try a device version

Example files and implementation notes

Choose a device in the demo and save the motion to your collection to download the working HTML and implementation notes as a ZIP.