Motion Library ‹ Free tools

All / Backgrounds

Particle network

Dots drift across a canvas and draw lines to their neighbours. Particles are pushed gently by the cursor.

JavaScriptCanvasAdvanced
Live demo Open full screen

Good for

Tech, data and AI hero sections. One canvas, no libraries.

Watch out for

Scale particle count with screen area, cap devicePixelRatio, and stop the loop when the tab is hidden or the canvas is off screen.

Accessibility

Wrap motion in @media (prefers-reduced-motion: reduce) and switch it off or shorten it for people who ask for less movement.