00Labs · Experiment

Particle Field Web experiment, live in the browser

A simple particle field on canvas - the lab's hello world.

Canvas 2D · React 19 · 03.2026

Particle Field · live
01

Build notes

How it works

Hundreds of particles, one canvas, no library. Each dot drifts with a little randomness, reacts to the mouse position and draws a line to every neighbour within reach.

Built as the first experiment in the Comole Labs setup - to check that React components render live inside MDX without trouble.

Under the hood: the <ParticleField /> component runs entirely on the client, animates with requestAnimationFrame and scales to the container width on its own.

From the site diary

Motion without a library like here, or with one like the rest of the site: why route transitions do not run through React itself yet is in ViewTransition from 'react' is undefined.