← Portfolio Playground

Playground

Five small experiments where things break, scatter and settle, kept in plain canvas, with no libraries.

Crack the plate

Click the glaze and watch the cracks run, then fill with gold.

branching random walk, animated strokes

A white ceramic plate on a dark ground. Each click or tap on the plate starts branching cracks from that point. After a moment every crack fills with glowing gold, in the manner of kintsugi. The Crack button breaks the plate at a random point and Mend again restores it.

Swarm

Five hundred particles chase your pointer, and drift in orbit when you stop.

steering, separation grid, alpha-clear trails

A cloud of five hundred small particles, gold when fast and warm white when slow. They flock toward the pointer, pressing pulls them tighter, and when the pointer rests they circle slowly on their own. The Scatter button throws them outward.

Gravity type

The word falls apart. Grab a letter and throw it.

circle bodies, impulses, pointer drag

The word mend in large italic serif letters. Each letter is a separate physics body that falls, bounces on a floor and nudges the others. Pointer users can drag and throw letters. The Drop again button lets them fall once more.

Wave grid

Move across the grid to stir it, and click for a bigger ripple.

damped travelling waves, perspective projection

A grid of fine lines in perspective. Moving the pointer sends damped waves outward, and a click sends a stronger one. Wave crests are lit in gold. The Ripple button sends a wave from a random point.

Orbit toy

Press, drag and release to launch a new body into orbit.

n-body gravity, leapfrog integration

A bright central mass with a few small gold bodies circling it under real gravity. Press anywhere, drag to aim the thin line and release to launch a new body; a plain click gives it a circular orbit. Bodies that fall into the centre or escape are removed. The Launch button adds a body on a random orbit and Clear removes them all.