quirks.

Little simulations, toys and tools.

Things to play with

01Simulation
A flock of small blue triangles swirling across a dark screen, with a panel of sliders on the right

Flock simulation

Three rules make a flock

A few hundred little birds, each following three simple rules about the birds around it. Nobody tells them to flock, but they do. Move your mouse through them, or tweak the rules with the sliders.

Play →
02Toy
A colorful sunset over mountains and water, drawn entirely out of text characters

ASCII video

Pictures made of letters

Turns your camera or any video into moving text art, live in the browser. Pick a character set, add color, and save a frame. Nothing gets uploaded anywhere.

Play →
03Simulation
A grid of yellow cells forming blocks, blinkers and other patterns on a dark background

Game of Life

A universe on graph paper

A grid of cells that live or die by counting their neighbours. Three tiny rules, endless patterns. Draw your own and watch them grow.

Play →
04Simulation
Purple raindrops of different lengths falling across a light lavender sky

Rain

Depth from nothing but speed

Drops falling from the sky in purple, blue, or black and yellow. Close drops are long and fast, far ones short and slow, and that alone makes a flat screen feel deep. Change the amount, speed and wind.

Play →
05Simulation
A stream of sand pouring onto a big pile striped in wavy rainbow layers

Falling sand

Every grain looks down

Pour sand and water, draw walls, and watch it all pile up and slosh around. Turn on Colorful and the sand comes out in rainbow bands. Each grain follows a couple of tiny rules about the cells just below it, and that's enough to feel real.

Play →
06Simulation
Five colorful pentagons, each made of smaller pentagons, drawn entirely out of tiny dots

Chaos game

Order out of random dots

Put down a few corners, then jump halfway toward a random one, over and over, leaving a dot each time. You'd expect a random mess. Instead, a perfect fractal appears out of the noise.

Play →
07Simulation
A blue mesh of cloth hanging from pins, with a slit cut into it and one corner being pulled out

Cloth

Points, sticks and a bit of patience

A sheet of fabric hanging from a few pins. Grab it and pull, let the wind blow it around, or slice through it and watch it fall apart. Pull too hard and it rips.

Play →
08Simulation
Twenty rainbow-colored double pendulums: half still swing together as a fan, the other half have scattered every which way

Double pendulum

Tiny differences, wild results

A pendulum hanging off another pendulum. A whole rainbow of them start a hair's width apart and swing together, until suddenly they don't. It's chaos you can watch happen.

Play →
09Toy
A chain of spinning circles, one riding on the next, with a yellow pen at the end halfway through tracing a hand-drawn star

Drawing with circles

Any shape is just circles in disguise

Draw anything in one stroke, and a chain of spinning circles works out how to draw it back. Slide the number of circles down and watch your drawing melt into smooth blobs, then sharpen again.

Play →

No magic, just source

Every quirk is a plain HTML, CSS and JavaScript page. No frameworks, no build step, nothing to install.

Right-click, View page source.
It's all there, with comments.