Dolbear · field guide
How it was made

Counting a field
into a thermometer.

DOLBEAR is a fictional auditory instrument: a field of forty synthesized crickets whose chirp rate tracks the air temperature you dial in. Its single job is to make Dolbear's law audible — turn the dial, hear the chorus drift then lock, and count the pulses to read the heat.

Palette

Four colours, argued from a warm summer night in long grass. The accent does one job and never becomes small text.

#20261A
Dusk field
A near-black olive, not a cold black — the ground reads as a warm night, and gives every other tone something living to sit on.
#E8B84A
Lamp amber
The only accent. Reserved for the chirp glow, the dial indicator, hairline rules and the giant numeral — never small body copy, which keeps its contrast honest.
#5C6E3A
Grass
Dry meadow green for the blades and for the one straggling caller that never quite joins the lock — a cooler body in a field of amber flashes.
#E4E0CE
Moth white
The ink token. Every heading and paragraph sits in this or its dimmer sibling (#AEB39A), both above 7:1 on the dusk field — the accent stays for marks only.

Type

Spectral · display 300 / body 400 / italic
72°F — a mild evening, 128 chirps a minute

A slightly-condensed transitional serif with real italics. It carries the field-guide-plate voice and, at weight 300, sets the live temperature numeral — the page's one deliberate act of typographic bravery, a number that changes as you turn the dial.

JetBrains Mono · 400 / 500 / 700 · tabular
N = 4 × (T − 50) + 40 · SER. Nº 0073

The instrument's engraved labels, model number, chirp counts and formula variables. Tabular figures keep the readouts from twitching sideways as they tick.

Techniques

Canvas 2D field

Procedural grass blades, glowing crickets and expanding chorus ripples — every mark drawn, no raster assets anywhere.

WebAudio · stridulation synthesis

No samples. Each chirp is a triangle oscillator swept a little, bandpass-filtered near 4 kHz, gated into a four-syllable pulse train by a gain envelope and panned to the caller's spot — built on demand through a highpass + compressor bus, only after a user gesture.

Kuramoto coupling

The drift-then-sync chorus is a real coupled-oscillator model — the same maths behind fireflies and pacemaker cells — not a scripted loop.

No libraries

Vanilla JS and CSS. The whole instrument, both pages, is self-contained: all styles and script inline, zero build step.

The signature: a field that counts itself into a thermometer

The field is forty coupled oscillators. Each caller carries a phase θ and a natural frequency set by Dolbear's law for the dialled temperature, ω = 2π·(4(T−50)+40)/60, plus a small individual timing bias. Every frame each phase is nudged by K·(1/N)·Σ sin(θⱼ−θᵢ) — computed in O(N) from the field's mean resultant vector, not O(N²) — which pulls the whole chorus toward one phase: it begins as a scatter and settles into pulsing waves. When a phase completes a cycle the caller chirps (a flash, and for the twelve voiced callers a synthesized chirp); when the mean phase crosses zero the whole field pulses and a ripple ring goes out. Turn the dial and ω rises for everyone, so the chorus visibly and audibly speeds up. Because the count is engineered to the law exactly — chirps in fifteen seconds equals T − 40 — you can count the pulses and read the temperature straight off the grass.

Iteration log

Pass 1 · Craft
Pass 2 · Depth
Pass 3 · Hardening