Experiments15 HTML files, round 2

Compare runs

The same 15 prompts, one column per model.

Only one model run is here so far. When a second run is imported, it will show up as another column.

16 Specimen Note

The exact prompt
A generative-art piece: a banknote for a country that does not exist, engraved in the page, and re-issued with a new design every time the serial number changes.

Concept: banknotes are protected by guilloché — dense, looping lathe-work that a geometric lathe draws from a few gear ratios and that is very hard to copy by hand. The same few sine terms that make a spirograph toy also make money look like money. This page is a security printer's proof: one note, drawn from nothing but those curves, the word SPECIMEN, and a serial number that is also the random seed.

Mood: the proofing room of a security printer in the 1920s. A light table, a loupe on a brass stand, green baize, the hush of people who count things twice.

Palette: banknote paper #EFE9D6, deep intaglio green #1F4D3A, plum #5B2A4E, madder rose #B5475A, sea blue #2C5F7C, engraver's ink #14211B (the darkest colour; no pure black anywhere), gold foil #B8963E, and a baize desk #16261F behind the note. Each issue picks two of the four colour inks as its main and second colour.

Typography: a high-contrast Didone stack (Didot, "Bodoni 72", "Bodoni MT", "Hoefler Text", Georgia, serif) for the denomination numerals and the name of the issuing bank, widely tracked small capitals for the legends, and a monospace stack (ui-monospace, Menlo, Consolas, monospace) for the serial number. The lettering on the note itself is drawn on the canvas.

Layout: the note lies centred on the baize at roughly 2.1 : 1, as wide as the screen allows up to about 1,100 px, with a soft shadow, as if on a desk. The note holds a woven lathe-work border, a large rosette on the left, a smaller one on the right, a central medallion with the numeral, a pale background tint of fine wave lines, a line of microtext, two serial numbers, and SPECIMEN printed across it in open red capitals. Under the note sits one slim proof slip: the name of the invented country and bank, the denomination, the serial, the "gear ratios" used for this note, and the controls. On a phone the note keeps its landscape shape at full width and a second panel beneath it shows a permanent magnified detail, because a loupe is awkward under a thumb.

Technique: draw everything on Canvas 2D from a seeded pseudo-random generator, so the same serial always makes the same note. A rosette is a family of closed polar curves r(θ) = R + a·sin(pθ + φ) + b·sin(qθ + ψ), drawn many times with the phase stepped a little each time so that the lines cross into a lattice. The border is the same wave wrapped between two straight envelopes. The background tint is a field of parallel lines displaced by a slow sine. The central emblem is an engraved sphere made only of parallel lines whose weight swells and thins to suggest light. Render to a high-resolution master so the loupe shows true fine lines and not enlarged pixels. Generate the country and bank names from invented syllables, and always print "Specimen — not legal tender anywhere".

Signature moment: issuing a note. Press Issue and the paper clears, then the lathe draws: the tint lines sweep across, the border weaves itself around the edge, each rosette is traced as a moving pen-point lays down loop after loop, the numerals ink in, and last the serial numbers stamp on one digit at a time. The whole issue takes about four seconds, and a visitor can press Issue again at once.

First frame: a finished note already on the desk, serial A 0000016, so the page is rich before any input. One second later the loupe drifts once across the large rosette to show that it exists.

Interaction: moving the pointer over the note carries a round brass loupe that magnifies about three times. Denomination chips (5, 10, 20, 50, 100) change the numeral and the colour pair. Four layer switches (Tint, Border, Rosettes, Lettering) show how the note is built. Keyboard: N or Space issues a new note, 1–5 choose a denomination, L pins or releases the loupe, arrow keys move the pinned loupe. Touch: drag on the note to move the loupe.

Voice: dry, official, slightly comic. "Issued by nobody. Payable to no one. Redeemable for the pleasure of looking."

Performance: draw the issue animation incrementally, a few thousand line segments per frame, and never redraw the whole master during the animation.

Reduced motion: no drawing-on animation and no drifting loupe; a new note simply replaces the old one, and the loupe moves only with the pointer or the arrow keys.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Specimen Note, built by Fable 5.2.

17 The Singing Plate

The exact prompt
A physics toy: a square metal plate dusted with sand, which you play with a violin bow until the sand jumps into the geometric figures that Ernst Chladni published in 1787.

Concept: a vibrating plate does not move everywhere. Along certain curves, the nodal lines, it stays still, and sand that is thrown about everywhere else comes to rest there. Each note the plate can sing has its own figure. Chladni showed this to audiences across Europe with a bow and a handful of sand; this page hands the visitor the bow.

Mood: a lecture demonstration by candlelight around 1800. A dark room, one lit object, a held breath before the bow touches.

Palette: a room of warm near-black #17131A, the plate in blackened steel #24212A with a worn brass edge #B08D3C, pale sand #EBD9A8, rosin amber #D9822B for the bow and the active control, and chalk #F2EDE2 for all text. No blue anywhere.

Typography: a bookish old-style stack (Baskerville, "Hoefler Text", "Palatino Linotype", Georgia, serif), with the figure number set large in italic as in an engraved plate caption ("Fig. 12"), and small tracked capitals for labels.

Layout: the plate is a large square in the centre of the screen, seen from directly above, held by a small clamp at its middle. To one side is a narrow notebook column: the figure number, the mode numbers (m, n), a relative pitch, and two sentences of explanation. Along the bottom runs a strip of small thumbnails, a catalogue of the figures the plate can make, each drawn from the real equation; the current one is ringed in amber. On a phone the plate fills the width, the notebook sits beneath it, and the catalogue scrolls sideways inside its own strip.

Simulation: about twenty thousand sand grains on a Canvas. The plate's shape for mode (m, n) is the standard free-plate approximation s(x, y) = cos(nπx)·cos(mπy) − cos(mπx)·cos(nπy) on the unit square (with the plus sign for the second family of figures). While the plate vibrates, every grain takes a small random hop each frame, and the length of the hop is proportional to |s| at the grain's position, so grains on a nodal line barely move and grains on a loud part are thrown about until they find a quiet line. The vibration has an amplitude that the bow raises and that decays over a few seconds after the bow lifts. Give the relative pitch as proportional to m² + n² and say plainly on the page that this is the simple textbook rule and that a real plate's pitches differ.

Signature moment: bowing. Press and drag down the right edge of the plate, where a bow appears under the pointer. The sand leaps at once into a shivering haze, and over about two seconds it drains out of the loud regions and gathers into thin sharp lines. Lift the bow and the figure stands still, finished. Choose another figure and bow again: the old lines break up and flow into the new ones.

First frame: figure (1, 3) already formed in crisp sand lines, with a few stray grains, so the first look is of a finished figure. A small hint by the edge reads "draw the bow along this edge".

Interaction: drag along the right edge to bow; a Bow button does the same for two seconds for anyone who cannot drag. Click a catalogue thumbnail, or use the Left and Right arrow keys, to change the figure. A Scatter button throws the sand evenly across the plate again. Clicking or tapping on the plate sprinkles a pinch of extra sand there. Keyboard: Space bows, S scatters, M toggles sound, arrows change the figure.

Sound: off until a labelled toggle is pressed. When on, bowing plays a soft synthesized tone whose pitch follows the relative pitch of the figure, with a slightly rough bowed edge, fading as the plate rings down.

Voice: a demonstrator's short notes. "The sand is not drawn to the lines. It is thrown off everything else."

Performance: draw the grains with one batched fill per frame; stop the loop when the plate is at rest and when the tab is hidden.

Reduced motion: no shivering haze. Bowing fades the old figure out and the new one in, with the grains placed directly on the nodal lines.

Keep the physics honest and the wording short. One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
The Singing Plate, built by Fable 5.2.

18 A Play in Three Acts and No Script

The exact prompt
A CSS-only piece (no JavaScript at all, not one script tag): a Victorian paper toy theatre that performs an invented three-act play, "The Tailor and the Whale", with a working curtain, scene changes, and rolling paper waves.

Concept: toy theatres were printed sheets, cut out and glued to card, with scenery that slid in from the wings on wires and waves that were long scalloped strips pulled from side to side. Everything in them was flat and everything moved in straight lines, which is exactly what CSS is good at. The title is the joke: there is no script.

Mood: a nursery table in the 1870s, lamp-lit. Chromolithograph colour, slightly too bright, lovingly worn at the edges.

Palette: proscenium red #A3272B, gilt #D9A441, curtain crimson #7C1620, card cream #F4E9CF, Prussian sea #1F4E6B, storm slate #2B3440, foam #EDF3EE, dawn peach #F2B38A, and a dark walnut table #2A1B14 around the theatre. Flat colours with hard edges, as if printed in four inks; shading is done with stripes and hatching, never soft gradients.

Typography: playbill faces from system fonts — a slab stack (Rockwell, "Rockwell Nova", "Bookman Old Style", Georgia, serif) in capitals for the title and act names, and Georgia italic for the narration. The playbill mixes sizes boldly, line by line, as Victorian playbills did.

Layout: the theatre stands in the centre: a red and gilt proscenium arch with a small pediment, a stage opening at about 4 : 3, and a strip of footlights along the front edge. Under the stage is the "orchestra rail", which holds the controls. To the right on a wide screen, and beneath the theatre on a phone, hangs a tall narrow playbill with the title, the cast, and the narration for the current act. On a phone the theatre takes the full width.

The play, told in three stage pictures:
Act I, The Harbour. A row of narrow houses, a quay, a calm sea, a small ship at anchor, and the tailor with his great shears, who has been asked to sew a sail by morning.
Act II, The Storm. The sky goes slate. Three rows of waves roll in opposite directions, the ship pitches, lightning blinks, and the whale rises behind the furthest wave and tears the sail.
Act III, The Morning After. A peach dawn. The sea is calm, the whale spouts in the distance, and the ship carries a sail made of mismatched patches, because the tailor sewed all night.

Technique: every moving part is an HTML element or pseudo-element styled with CSS. Three radio inputs choose the act and one checkbox works the curtain; their labels are the visible controls, and the scenery reads their state through :checked and the :has() selector. Scenery flats slide in from the wings with transitions that are slightly staggered, back row first. Waves are rows of scallops made from repeating radial gradients, moved sideways forever by keyframe animations at different speeds. The ship rocks about its keel. The whale rises on a transform. Lightning is a keyframed flash on the sky. The figures are paper cut-outs on visible sticks. The narration on the playbill changes with the act in the same way. Give the card a paper texture using only layered CSS gradients.

Signature moment: changing to Act II. The harbour houses slide out to the left, the sky darkens from the top down like a roller blind, the wave rows start to run against each other, and the whale comes up slowly behind them while the ship tips.

Entrance: the page opens with the curtain down and the title painted on it; after one second the curtain rises by itself on Act I. The curtain checkbox then lowers and raises it at will.

Interaction: the act labels look like three rope pull-tabs marked I, II, III, and the curtain label is a tasselled cord. Hovering or focusing a paper figure makes it bob on its stick. Keyboard: the controls are real radio buttons and a real checkbox, so Tab reaches them, arrow keys change the act, and Space works the curtain; focus is clearly ringed in gilt.

Voice: the playbill speaks in the grand manner. "For ONE NIGHT only, and every night after." "The WHALE appears by kind permission of the sea."

Reduced motion: the waves, the rocking ship, and the lightning are still. Scenes change at once without sliding, and the curtain opens without its rise.

One file, inline CSS only and no JavaScript, no external resources, responsive from 360px up, no console errors.
A Play in Three Acts and No Script, built by Fable 5.2.

19 Seven Shuffles

The exact prompt
A data visualisation computed in the page: a deck of fifty-two cards drawn as fifty-two coloured threads that braid through one riffle shuffle after another, beside the exact calculation of how far the deck still is from random after each one.

Concept: in 1992 Dave Bayer and Persi Diaconis showed that an ordinary riffle shuffle does almost nothing to the randomness of a deck for the first few shuffles, and then, quite suddenly around the seventh, does nearly everything. The page shows both halves of that result: the feel of it, as a braid of threads, and the proof of it, as numbers the page computes itself and does not copy from a table.

Mood: a mathematics department common room in the afternoon. Chalk, good paper, one deck of cards on the table. Quietly delighted.

Palette: ivory paper #F7F3EA, ink navy #1B2A49, vermilion #D8412F, graphite #3A3D45 for text, pale blue-grey #CFD8E6 for rules and resting threads, and one accent of ochre gold #C89B3C that is used only for the number seven. The top card of the fresh deck is navy and the bottom card is vermilion, with the threads between them shading evenly from one to the other, so that a well-mixed deck looks like evenly speckled cloth.

Typography: a humanist sans stack ("Gill Sans", "Gill Sans MT", "Avenir Next", "Segoe UI", sans-serif) for labels and figures, with tabular numerals, and Georgia italic for the short margin notes. The title is set large and light.

Layout: on a wide screen the braid takes the left two thirds. It is a tall panel in which the deck is a horizontal row of 52 thread-ends at the top; each shuffle is a band below it in which every thread travels from its old position to its new one along a smooth curve; and after the last band the threads end in a row of small card-coloured squares. The right third holds three stacked readings: a bar chart of the distance from random after 1 to 12 shuffles, a small plot of the current deck's "rising sequences", and a paragraph of explanation that changes with the number of shuffles on show. On a phone the braid comes first at full width with fewer, shorter bands visible at once, and the readings follow below.

The mathematics: simulate each shuffle with the Gilbert–Shannon–Reeds model — cut the deck at a binomial(52, ½) position, then drop cards one at a time from the two packets, choosing a packet with probability proportional to how many cards it still holds. Compute the exact total variation distance from uniform after m shuffles using the Bayer–Diaconis formula: a deck with r rising sequences has probability C(2^m + 52 − r, 52) / 2^(52m), and the number of arrangements with r rising sequences is the Eulerian number A(52, r − 1), so the distance is half the sum over r of A(52, r − 1) · |C(2^m + 52 − r, 52) / 2^(52m) − 1/52!|. Do the sum in floating point with logarithms where needed. Print the values to three decimals; the seventh must come out as 0.334. Count the rising sequences of the simulated deck and show that number too.

Signature moment: pressing Riffle. The deck at the bottom of the braid splits into two packets that slide apart, the threads of the two packets interleave downwards into a new band, the new bar in the chart grows to its height, and the running sentence updates ("After 4 shuffles a card sharp could still win money from you"). On the seventh shuffle the bar and the numeral turn gold.

First frame: three shuffles already braided, so the page opens on a handsome, obviously ordered weave with the chart's first three bars standing near 1.000.

Interaction: Riffle adds one shuffle, up to twelve; Undo removes one; Fresh deck starts again; Reshuffle draws new random shuffles for the same count. Hovering or tapping a thread-end highlights that single card's whole path through the braid and names its start and finish positions. A "perfect shuffle" switch replaces the random riffles with exact out-faro shuffles, and the braid shows the deck returning to its original order after eight of them. Keyboard: R or Space riffles, U undoes, F is a fresh deck, P toggles perfect shuffles, and Left and Right step the highlighted card.

Voice: plain and exact, with a dry aside now and then. "Random enough for the kitchen table. Not for a casino."

Reduced motion: no sliding packets and no growing bars; each new band and bar simply appears.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Seven Shuffles, built by Fable 5.2.

20 Gale & Thistle — Kites for Serious Wind

The exact prompt
A landing page for an invented brand: Gale & Thistle, a small firm of kite makers on an invented headland called Wrenmouth Down, "flying since 1908". The hero is a real kite on a real line that the visitor can fly.

Concept: a kite is the simplest aircraft there is, and a kite maker's whole sales pitch is the wind. So the page sells with wind: a simulated kite strains on its line in the hero, and one dial for wind force changes the weather of the entire page. The brand, the place, the people, and the prices are all invented, and the page says so in its footer.

Mood: a bright, blowy Saturday on a chalk headland. Clean air, flapping cloth, cold hands, a flask of tea. Cheerful and outdoorsy with a streak of British understatement.

Palette: sky wash #DCE9EE fading to warm paper #F4F1E6, signal orange #F2552C, deep navy #1D2B4F, sailcloth cream #F6EFDD, thistle purple #7A4E9E, and down-grass green #5E7F3B. Orange and navy do most of the work; purple is a small accent. Shapes are flat with crisp edges, like cut ripstop nylon.

Typography: a geometric sans stack (Futura, "Century Gothic", "Avenir Next", "Trebuchet MS", sans-serif) in bold capitals for display lines, set very large and tight, and an old-style serif stack ("Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif) for body text. Prices and specifications use tabular figures.

Layout: (1) Hero, full viewport: open sky with a few flat clouds, a strip of grass along the bottom, the brand name small at the top left, the line "KITES FOR SERIOUS WIND" very large at the lower left, and the kite high on the right on its line. A compact wind dial sits at the lower right. (2) The range: four kites as cards, each drawn in flat SVG — the Mainbrace diamond, the Cellular No. 4 box kite, the Skua delta, and the Little Tern fighter kite — with span, sail material, wind range in Beaufort forces, and an invented price in pounds. (3) "How we make them": three short steps with small drawings: cut, sew, bridle. (4) A wind table: Beaufort forces 2 to 6 with their names and speeds in knots and km/h, and the kite the firm recommends for each. (5) Two invented testimonials and an "order by post" panel that explains, charmingly, that the shop is not real. On a phone every section stacks to one column, the hero headline wraps to three lines, and the kite flies above it.

The kite: a Canvas simulation in the hero. The kite is a point mass on a line of fixed length anchored at the bottom of the screen; it feels gravity, a lift and a drag that grow with the square of the wind speed, and gusts from slowly varying noise. Its sail tilts to face the wind, the line sags in a curve, and a long tail of bows follows behind as a chain of linked points that whips when the kite turns. The pointer steers: the kite is pulled gently toward the pointer's side of the sky, as if the visitor were walking the line left and right.

Signature moment: turning the wind dial. At Force 2 the kite hangs low and lazy, the tail droops, and the clouds barely move. Click up to Force 6 and the kite climbs hard and shudders, the tail cracks like a whip, the clouds race, the grass blades lie over, and the big headline itself leans a few degrees downwind. The wind table further down highlights the matching row.

Entrance: on load the kite launches from the grass and climbs to its flying position in about two seconds at Force 4.

Interaction: the wind dial has five positions (Force 2 to 6) and is a labelled group of real buttons. Moving the pointer or dragging a finger across the hero steers the kite. Hovering a kite card makes that kite rock on its spine as if lifted. Keyboard: Left and Right steer, Up and Down change the wind force, and every control shows clear focus.

Voice: brisk and dry. "If it will not fly in a gale, it is a flag." "Our tails are longer than they need to be. That is the point." The copy never claims a real history: the footer states that Gale & Thistle, Wrenmouth Down, and everyone quoted are invented for this page.

Accuracy: the Beaufort names and speed ranges in the wind table must be the real ones.

Reduced motion: the kite holds one steady flying pose that still changes with the wind force, the clouds and grass are still, and the headline does not lean.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Gale & Thistle — Kites for Serious Wind, built by Fable 5.2.

21 Radicle

The exact prompt
A scroll-driven story: the first fourteen days of one runner bean, told in a single tall cross-section of garden soil, where scrolling down the page is the same as the root going down.

Concept: a seed's first act is to go the wrong way. Before anything green appears, the first root — the radicle — pushes downward, and only then does the shoot turn up toward the light. A web page also only goes down. So the page is the soil: the reader's scroll position is the tip of the root, and what happens above ground is shown in a small window that stays pinned at the top, catching up later.

Mood: early May, a raised bed after rain. Dark, damp, close, and then suddenly bright. Patient and a little suspenseful, like checking a seed tray every morning.

Palette: topsoil brown #3B2A20, deeper subsoil #2A1D17, loam highlights #6B4A35, root ivory #F1E7D0, seed-coat maroon #6E2433 with cream speckles, new-leaf green #8DBF4A, daylight sky #CFE6EF for the pinned window, and worm pink #D99A8B as a rare accent. Text is root ivory on soil. No pure black and no pure white.

Typography: a sturdy seed-catalogue serif stack ("Bookman Old Style", "Century Schoolbook", Georgia, serif) for the day numbers, set very large; a clean sans stack ("Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif) for the short captions; small capitals for depth marks.

Layout: one very tall column of soil, about nine screens deep. A depth ruler runs down the left edge, marked in centimetres. The bean sits near the top, 5 cm below the surface line. A pinned "surface window" across the top of the screen, about a fifth of its height, shows the same spot from above the ground: bare soil at first, then a cracked crust, then a hooked stem, then two leaves. Captions sit to the right of the root as short cards, one per day or pair of days, each with a huge day number. Soil details slide past as the reader descends: stones, an old twig, a worm in its burrow, a white thread of fungus, a shard of blue china at 20 cm. On a phone the ruler narrows, captions sit over the soil in ivory-edged cards, and the surface window stays pinned.

The story in beats: Day 0, sown. Day 1–2, the seed drinks and swells until the coat wrinkles and splits. Day 3, the radicle breaks out and turns down. Day 4–6, the root lengthens, grows a fine fur of root hairs behind its tip, and sends out the first side roots. Day 7, far above, the stem pushes up as a bent hook, pulling rather than pushing so the tip is protected. Day 8–9, the hook breaks the surface and straightens. Day 10–12, the first true leaves unfold and turn green; the seed's stored food is nearly spent. Day 14, the root has reached 25 cm, and the plant now feeds itself. Present these as the usual order of events for a runner bean in warm, moist soil, with timings marked "about".

Technique: draw the root, side roots, and root hairs as SVG paths whose drawn length is set from the scroll position, so the tip of the main root is always near the middle of the screen. Side roots begin to grow once the tip has passed their branching point. The surface window is a second small SVG whose stages cross-fade and grow by the same scroll value. The soil is layered CSS gradients with a scatter of inline SVG stones; the worm moves a little by itself.

Signature moment: Day 7 to Day 9. The reader is deep underground, following the root, when the pinned window at the top, which has shown nothing but bare soil for six days, cracks. The hooked stem shoulders up through the crust, lifts, straightens, and opens its leaves while the root keeps going down. The page's two directions of growth happen at once.

Entrance: the page opens at the surface on a still garden bed with a seed packet stuck on a cane, labelled with the bean's invented variety name, "Painted Tessa". A small arrow says "scroll to water it".

Interaction: scrolling is the main control. A day scrubber at the right edge shows Days 0 to 14 and can be clicked or dragged to jump. Keyboard: Up and Down or Page keys scroll as usual, and number keys 0–9 jump to that day. Hovering or tapping a soil detail shows a one-line note.

Voice: a gardener's notebook, second person, present tense. "You will want to dig it up and look. Do not."

Reduced motion: the root and shoot are drawn in fixed stages that change at each day's caption without growing continuously, and the worm is still.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Radicle, built by Fable 5.2.

22 One Cylinder

The exact prompt
A museum exhibit of one object: a cutaway single-cylinder four-stroke engine in a glass case, which the visitor can turn over by hand to watch the four strokes happen one at a time.

Concept: almost every petrol engine ever made repeats the same four movements — intake, compression, power, exhaust — that Nikolaus Otto's engine ran on in 1876. With many cylinders the movements blur together. With one cylinder and a hand on the flywheel they can be read like a sentence. The exhibit is a sectioned engine of the kind technical colleges once kept on a stand, with its cut faces painted red.

Mood: a quiet engineering museum on a weekday. Polished linoleum, a brass rail, a typed label, daylight from a high window. Respectful, exact, hands-on.

Palette: museum wall grey-green #D6DBD2, case shadow #AEB5AB, cast-iron dark #3A3F44, machined steel #B9C0C6, section red #C8402F for every cut face, oil amber #C98A2B, cool intake blue #6FA6D6, hot exhaust orange #F08A3C, and label cream #F5F0E1 with typewriter ink #26262B.

Typography: the museum label is typewritten (a monospace stack: "American Typewriter", "Courier New", Courier, monospace). The exhibit title and the big stroke name use a condensed engineering sans stack ("DIN Condensed", "Avenir Next Condensed", "Arial Narrow", "Helvetica Neue", sans-serif) in capitals. Dimension figures use tabular numerals.

Layout: the engine stands in the centre of the screen in side section: crankcase, crankshaft and flywheel, connecting rod, piston with rings, cylinder with cooling fins, and a head with two valves, a camshaft turning at half crank speed, rockers, and a spark plug. Above it the current stroke is named in very large capitals with a number, 1 to 4. To the right a tall "cycle clock" shows all 720 degrees of the cycle as a ring with four coloured quarters and a hand. Beneath the engine is a typed museum label and a strip with a pressure trace for the cylinder. On a phone the engine fills the width, the stroke name sits above it, and the clock and label follow below.

The mechanism: compute it properly. Piston position comes from the crank angle and the rod length by the slider-crank relation x = r·cos θ + √(l² − r²·sin² θ). The camshaft turns once for every two turns of the crank. Each valve lifts along a smooth cam profile: the intake valve opens just before top dead centre and closes a little after bottom dead centre, the exhaust valve opens before bottom dead centre and closes just after top, so that both are slightly open together at the end of the exhaust stroke (label this "overlap"). The spark fires a few degrees before top dead centre on the compression stroke. Draw the gas as a tinted fill above the piston: cool blue mixture entering, darkening as it is squeezed, a white-orange flash and bright expansion on the power stroke, grey-orange leaving past the exhaust valve. The pressure trace follows a plausible indicator curve and is labelled as illustrative, not measured.

Signature moment: turning it by hand. Grab the flywheel and drag it round. The piston, rod, cam, rockers, and valves all follow the hand exactly, forwards or backwards, as slowly as the visitor likes. Easing the flywheel through top dead centre on the compression stroke brings the spark, the flash, and a shove: the flywheel then carries on by itself for one stroke before coasting to rest.

First frame: the engine at rest partway through the intake stroke, with the intake valve open and blue mixture drawn in, so the cutaway is clearly a working thing. A small hand icon on the flywheel invites a drag.

Interaction: drag the flywheel to turn the engine. A Run switch lets it idle by itself, with a speed lever from very slow to about one cycle a second. Four stroke buttons jump to the start of each stroke. A Labels switch names fourteen parts with leader lines. Keyboard: Left and Right turn the crank ten degrees, Shift with an arrow turns one degree, Space runs or stops, 1–4 jump to a stroke, L toggles labels.

Sound: off until a labelled switch is pressed; then a soft thump on each power stroke and a light valve tick.

Voice: a museum label, typed. Plain facts, one dry line: "Three of the four strokes are housekeeping. Only one of them pays."

Accuracy: the order of strokes, the 2 : 1 crank-to-cam ratio, valve timing in relation to the dead centres, and the 1876 date for Otto's four-stroke engine must be correct.

Reduced motion: no idle running by default and no flash; the stroke buttons and arrow keys step the engine between still positions.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
One Cylinder, built by Fable 5.2.

23 Lightwell

The exact prompt
A game: a puzzle in which one beam of daylight enters a dark house through a skylight, and the player turns mirrors to bounce it into every room that needs light.

Concept: before electric light, architects brought daylight deep into buildings with light wells, glass floors, and mirrors. The game makes that a logic puzzle on a grid. The beam obeys one rule only — it reflects off a mirror at a right angle — and each level is a small house, seen in section, with windows of darkness to fill.

Mood: a tall, narrow townhouse at noon with the shutters closed. Cool shadow, dust in a shaft of sun, the pleasure of a room lighting up.

Palette: shadow indigo #1E2238 for unlit rooms, wall plaster #2D3250, sunlight #FFD86B for the beam, lit-room cream #F7EBC8, mirror silver #C9D6DF with a bright edge #FFFFFF used only on mirrors, brick terracotta #B5563C for the house outline, and window teal #3FA7A0 for goals and buttons.

Typography: a friendly rounded-geometric sans stack ("Avenir Next", "Century Gothic", "Trebuchet MS", "Segoe UI", sans-serif); level numbers are large and light; move counts use tabular numerals.

Layout: the house is a grid of square cells, eight columns wide and up to ten rows tall, drawn as a cross-section with a pitched roof and a chimney, centred on the screen. The sun's beam enters through a marked skylight cell. Some cells hold mirrors that can be turned, some hold fixed walls, some hold a "lamp" target that must be lit, and a few hold a prism that splits the beam in two. A side panel shows the level number and name, the count of lamps lit, the number of moves, and buttons. On a phone the grid fills the width and the panel becomes a bar beneath it.

Rules and method: the beam travels in straight lines along rows and columns. A mirror has two states, "/" and "\", and turning it flips between them; a beam meeting a mirror turns ninety degrees accordingly. A prism passes the beam straight on and also sends a second beam out at ninety degrees. Walls stop the beam. A lamp is lit when a beam passes through its cell. Trace the beam again after every move with a simple step-by-step walk across the grid, with a guard against endless loops. The level is solved when every lamp is lit. Supply ten hand-made levels of rising difficulty, the first two acting as lessons, and check in code at load time that each level can be solved (a brute-force search over mirror states is fine at this size), so that no impossible level ships.

Signature moment: solving a level. As the last lamp catches the beam, light floods outward from each lamp through its room cell by cell, the indigo rooms turn to warm cream, the windows on the outside of the house glow teal, and the dust motes in the beam brighten. Then the house slides away and the next, taller house rises into place.

First frame: level 1 with the beam already coming down from the skylight and striking a wall, one mirror one turn away from solving it, and a soft pulse on that mirror, so that the first tap wins and teaches the rule.

Interaction: click or tap a mirror to turn it. The beam redraws at once with a quick travelling pulse from the skylight. Buttons: Undo, Reset level, Hint (pulses one mirror that is in the wrong state), and Previous and Next for levels already reached. Keyboard: arrow keys move a focus square around the grid, Space or Enter turns the mirror under it, U undoes, R resets, H gives a hint, N and P change level. Progress is kept in localStorage inside try/catch.

Sound: off until a labelled toggle is pressed; then a soft glassy tick for a turn and a rising three-note chime for a solved level.

Voice: almost no words. Level names carry the charm: "Hallway", "The Stair", "Two Sisters' Room", "Cellar, Deep".

Performance: SVG or Canvas, redrawn only when something changes, apart from a light dust animation in the beam.

Reduced motion: no travelling pulse, no dust, and no sliding houses; the beam, the lit rooms, and the next level simply appear.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Lightwell, built by Fable 5.2.

24 Doomsday

The exact prompt
A single-purpose tool: type any date and a wooden desk calendar tells you its day of the week — and then shows, step by step, how to work it out in your head with John Conway's Doomsday rule.

Concept: the answer to "what day was that?" is easy for a computer and feels like a magic trick from a person. Conway's Doomsday rule (devised in 1973) makes it a short piece of mental arithmetic: in any year, a handful of easy dates — 4/4, 6/6, 8/8, 10/10, 12/12, and the last day of February among them — all fall on the same weekday, the year's "doomsday". Find that, count to your date, and you are done. The tool gives the answer at once and then teaches the trick with the visitor's own date.

Mood: a tidy desk in a public library reference room. Wood blocks, brass corners, a rubber date stamp. Calm and bookish, with a small magician's flourish.

Palette: desk oak #C89F6A and darker end-grain #8E6A40, block faces cream #FBF3DF, numeral ink #22303A, date-stamp red #C23B33 for the answer, brass #B79A56, blotter green #2F5D50 as the page ground, and a paler green #3D7364 for panels.

Typography: the calendar blocks use a bold grotesque stack ("Helvetica Neue", "Arial Black", Arial, sans-serif) for large numerals; the working-out is set in a serif stack ("Iowan Old Style", "Palatino Linotype", Georgia, serif) with old-style reasoning in short lines; the weekday answer is stamped in tracked capitals.

Layout: a perpetual block calendar sits in the upper centre: two cubes for the day number, a long block for the month, a block for the year, and above them a wide block for the weekday, all in a small wooden tray. Beneath it is the "working" panel: four numbered steps, each a line of arithmetic with the numbers from the current date filled in. To the side is a strip of that year's doomsday dates shown as a row of small tear-off slips, and a miniature month grid with the chosen date ringed. On a phone the calendar comes first, then the steps, then the slips and the month grid.

The method, shown truthfully: (1) the century's anchor day (for 1900–1999 Wednesday, for 2000–2099 Tuesday, repeating every 400 years: Tuesday, Sunday, Friday, Wednesday); (2) the year's doomsday from the last two digits y: take y ÷ 12, the remainder, and the remainder ÷ 4, add them to the anchor, and reduce modulo 7; (3) the nearest doomsday date in the chosen month (3 January, or 4 January in a leap year; the last day of February; 14 March; 4 April; 9 May; 6 June; 11 July; 8 August; 5 September; 10 October; 7 November; 12 December); (4) count from that date to the chosen date, modulo 7. Use the Gregorian calendar for all dates and say so in a note, with the reminder that countries adopted it at different times. Check the worked answer in code against an independent calculation, so the two always agree.

Signature moment: changing the date. The blocks tumble: each cube rolls forward a quarter turn to its new numeral, slightly out of step with the others, and lands with a tiny bounce; then the weekday block rolls last and the answer is stamped across it in red at a slight angle. Below, the four steps re-ink one after another, each number counting up to its value.

First frame: today's date already set and solved, with all four steps filled in. If the date cannot be read, use 20 July 1969, which was a Sunday.

Interaction: three inputs for day, month, and year (years 1583 to 9999), with small plus and minus buttons on each block. Buttons: Today, Random date, and "Quiz me", which hides the answer and the steps, lets the visitor choose a weekday from seven buttons, then reveals the working and keeps a streak count. Keyboard: Tab between the fields, Up and Down change the focused field by one, T is today, R is random, Q starts a quiz round, and keys 1–7 answer it (1 = Monday).

Voice: a kindly reference librarian. "Leap years are the only trap. Mind January and February."

Reduced motion: the blocks change without rolling and the steps appear at once.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Doomsday, built by Fable 5.2.

25 Dappled

The exact prompt
An ambient, full-bleed scene: a rough plaster wall in late afternoon, covered edge to edge by the moving shadow of a tree that is somewhere behind the viewer, with nothing else on screen.

Concept: the bright spots in the shade of a tree are not leaf-shaped holes. Each gap between leaves works as a pinhole camera and throws a soft round image of the sun, which is why dappled light is made of overlapping discs, and why those discs turn into crescents during a partial eclipse. The scene is a wall, a shadow, and a breeze. It is meant to be left open, like a window.

Mood: about five in the afternoon in early September, in a courtyard. Warm, drowsy, unhurried. The feeling of a book put down.

Palette: sunlit plaster #F1DFC2, shaded plaster #B99F86 with a cool violet cast #8E86A0 in the deepest shade, a low terracotta dado #C46F4A across the bottom fifth of the wall, and sun-disc highlights that reach #FFF4DC. In the evening state the sunlit plaster warms to #F3C48E and the shade deepens to #6E5F78. No greens are shown directly; the tree is known only by its shadow.

Typography: almost none. One line of small text in a light humanist sans stack ("Avenir Next", "Gill Sans", "Segoe UI", sans-serif), low on the wall like a pencilled note, and a small control cluster in the same face.

Composition: the wall fills the whole viewport. The lower fifth is the painted dado with a slightly uneven hand-painted edge. The shadow of branches enters from the upper left; large soft leaf masses cover two thirds of the wall, thinning toward the lower right where the plaster is in open sun. The plaster has visible trowel marks and a hairline crack. On a phone the composition is the same, upright, with the branch entering from the top.

Shader design: use WebGL with one fragment shader. Build the tree canopy as a few layers of leaf clusters from value noise and scattered soft-edged ellipses at different depths; the nearer the layer is to the wall, the sharper its shadow, and the further, the blurrier. Treat the light that gets through as a sum of round sun-discs: where the canopy noise leaves small gaps, draw soft discs of a size set by that layer's distance from the wall, and let them overlap and add. Move each layer with a slow two-frequency sway, plus gusts that travel across the wall as a wave so that the leaves do not all move together. Multiply the result over a plaster texture made from fine noise, long low-contrast trowel arcs, and a faint crack. Add a very slight warm bloom where discs overlap.

Fallback without WebGL: a Canvas 2D version that draws a few hundred blurred dark leaf ellipses and light discs onto the plaster and sways them by groups. It must still look like a designed scene, not an error.

Signature moment: a gust. Every so often, and whenever the visitor moves the pointer quickly or swipes across the wall, a gust crosses from left to right: the shadow masses heave and shiver, the sun-discs stretch and flicker, a few detach and skitter, and then everything slowly settles back to its drowsy sway.

Entrance: the wall fades up from a soft over-exposed cream in about a second and a half, as eyes adjust on stepping into a courtyard.

Interaction: moving the pointer gently leans the nearest branches toward it, very slightly. A small cluster of three controls in the lower right, nearly invisible until hovered or focused: a time-of-day slider from four o'clock to sunset (the light warms, lowers, and lengthens the shadows sideways), a breeze slider, and an "eclipse" switch that turns every sun-disc into a crescent. Keyboard: G sends a gust, E toggles the eclipse, Left and Right move the time of day, Up and Down change the breeze, H hides or shows the controls.

Voice: one pencilled line on the wall, changing only with the eclipse switch: "Every gap in the leaves is a small camera." and "Under an eclipse, the cameras show it."

Performance: render at a capped device pixel ratio of 1.5, and lower the internal resolution if a frame takes too long. Pause when the tab is hidden.

Reduced motion: the sway slows to a barely visible drift, with no gusts and no flicker; the time-of-day and eclipse controls still work.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Dappled, built by Fable 5.2.

26 Eight Glasses

The exact prompt
A single instrument you can play: a glass harp — eight stemmed wine glasses on a table, tuned by how much water is in each, that sing when a wet finger circles their rims.

Concept: a wine glass rings at a pitch set by its bowl, and adding water lowers that pitch, because the glass has to move the water with it. Eight glasses and a jug make a scale. The instrument has two gestures and the page keeps both: pouring, which tunes, and rubbing, which plays. Unlike a keyboard, a glass will not speak at once; the note has to be coaxed up, and it lingers after the finger leaves.

Mood: a long dinner table after the guests have gone, near midnight. Candle stubs, a white cloth, someone idly making the glasses hum. Intimate and a little uncanny.

Palette: table linen #EEE8DD in candlelight, room dark aubergine #241A2B, glass highlights #F8FBFF and glass edge blue-grey #9FB4C4, water tinted pale rosé #E7B6B0 so that levels read clearly, candle flame #FFC56B, and a single deep claret #7A1F35 for text accents and the active glass's glow.

Typography: an elegant transitional serif stack (Baskerville, "Libre Baskerville", "Times New Roman", Times, serif) in italic for note names and the few lines of text, with small capitals for labels. Note names sit under each glass like place cards.

Layout: the eight glasses stand in a gentle arc across the lower two thirds of the screen on the white cloth, the largest on the left. The dark room rises behind them with two candles. Each glass shows its water level, a place card with its current note name and how many cents it is from that note, and a faint ring on its rim where a finger can circle. A small water jug stands at the right. On a phone the glasses stand in two rows of four, slightly overlapped, and the place cards shrink to the note name only.

The instrument: synthesize each glass with Web Audio as a small set of sine partials (a strong fundamental and two quiet, slightly inharmonic overtones) with a slow attack and a long release. Rubbing sets the level: while the pointer circles a rim, the tone swells toward a level set by the circling speed, with a gentle tremolo at the rate of circling, which is what a real glass does; when the pointer leaves, the tone rings down over about two seconds. Tuning: an empty glass has its highest pitch, and filling it lowers the pitch smoothly by up to about a fifth; the page states that the true relation depends on the glass and that this curve is a plausible model, not a measurement. The starting fill levels give a major scale from C4 to C5.

Signature moment: the water answers. While a glass sings, the surface of its water breaks into a ring of fine standing ripples that grows with loudness, the candle flames lean and flutter slightly, and a soft claret glow spreads on the cloth beneath that glass. Holding two glasses at once (two fingers, or one held with the keyboard while another is rubbed) makes both sets of ripples, and a slow beating in the sound when the two are nearly in tune.

First frame: the eight glasses filled to their scale, candles lit, silent, with one line on a folded card: "Wet a finger. Circle a rim. Sound stays off until you do."

Interaction: circle or simply press and hold on a rim to make a glass sing; moving faster makes it louder. Drag the water level up or down inside a glass to retune it; the place card shows the nearest note and the cents offset as it changes. Buttons: "Tune to a scale" with three choices (major, natural minor, pentatonic), "Empty all", and a visible sound switch. A "Play it for me" button performs a short original eight-bar tune, so the instrument can be heard without skill. Keyboard: keys A S D F G H J K hold glasses one to eight for as long as they are pressed; with a glass focused, Up and Down change its water level; M mutes.

Voice: very few words, in italic, like a note left on the table.

Performance: one audio graph built on the first gesture; ripples drawn on a small Canvas per glass or one shared Canvas; nothing animates while all glasses are silent except the candle flames.

Reduced motion: no ripples, flutter, or glow animation; a singing glass shows a steady highlighted rim.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Eight Glasses, built by Fable 5.2.

27 Phantom Jam

The exact prompt
A simulation: a ring road seen from above with a few dozen cars driving round it, and no accident, no junction, and no roadworks — on which a traffic jam nevertheless appears from nothing and rolls slowly backwards.

Concept: most motorway jams have no cause that a driver ever gets to see. When a road is dense enough, one driver braking a little too hard makes the next brake a little harder, and the disturbance grows into a stop-and-go wave that travels upstream against the traffic. In 2008 a Japanese team led by Yuki Sugiyama showed this on a real circular track with real cars and nothing in their way. The page lets the visitor run that experiment, cause the jam with one tap, and then try to cure it.

Mood: a traffic control room at night. Calm, analytical, slightly wry. The view of someone who has watched this happen ten thousand times.

Palette: asphalt night #15181D, road grey #2C3138, lane-paint cream #EDE6D3, brake red #FF4B3E, flowing green #3CCB7F, slow amber #F5B83D, and an instrument cyan #58C4DD for the plots. Each car is coloured on a scale from red through amber to green by its speed, so the jam is visible as a red knot moving around the ring.

Typography: a narrow signage-style sans stack ("Avenir Next Condensed", "DIN Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif) for labels and large readouts, with tabular numerals; short notes in the regular width of the same family.

Layout: the ring road fills a square on the left, with small rounded cars driving anticlockwise, and a centre island that holds two big readouts: average speed and number of cars. On the right is a "time–space diagram": the ring unrolled into a horizontal line, with time running downward, each car leaving a trace coloured by its speed, so that a jam shows as a slanted red band — the slope of the band is the speed at which the jam moves backwards. Under it are the controls. On a phone the ring comes first, the diagram is a shorter strip beneath it, and the controls follow.

Simulation: use a standard car-following model, the Intelligent Driver Model. Each car's acceleration is a·[1 − (v/v₀)⁴ − (s*/s)²], where s is the gap to the car ahead and s* = s₀ + v·T + v·Δv / (2·√(a·b)) is the gap the driver wants. Use ordinary parameter values (desired speed about 30 m/s on the open road but limited here to a ring of about 230 m circumference for the first preset, time headway about 1.5 s, comfortable acceleration about 1 m/s², comfortable braking about 2 m/s², minimum gap 2 m), give each driver slightly different values and a little noise, and integrate with a small fixed time step. With few cars the flow is smooth and stays smooth; past a critical number of cars, small differences grow into a jam with no outside cause.

Signature moment: the tap. In smooth flow, click any car: it brakes hard for one second and then drives normally again. At low density the ripple dies out within a few cars. At high density that single tap becomes a full stop-and-go wave that keeps circling long after the car that caused it has driven on — and the time–space diagram draws the red band tilting backwards.

First frame: twenty-two cars on the ring, already bunching, with the first faint red knot forming and a few seconds of history drawn on the diagram.

Interaction: a slider for the number of cars (8 to 40); a slider for how alike the drivers are; buttons to Pause, Reset to evenly spaced, and "Tap a random brake". A switch turns on "smoothing cars": one car in five then keeps a longer, steadier gap, and the visitor can watch the wave shrink — the idea behind adaptive cruise control experiments. Hovering a car shows its speed and gap. Keyboard: Space pauses, B taps a random brake, Up and Down add and remove a car, S toggles smoothing cars, R resets.

Voice: dry control-room notes. "Nobody did anything wrong. That is the problem."

Accuracy: describe the 2008 ring experiment only in general terms that are certainly true (a circular track, real drivers asked to keep a steady speed, a jam forming with no bottleneck) unless exact figures have been checked; label the model's numbers as model values.

Performance: Canvas for both views; the diagram scrolls by drawing one new row per step.

Reduced motion: the cars still move, because the motion is the content, but at half speed, with no screen-shake or pulsing; a Pause control is focused first.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Phantom Jam, built by Fable 5.2.

28 Flight 8½ × 11 — Safety Information

The exact prompt
An editorial zine in the form of an airline safety card: a complete, straight-faced passenger safety leaflet for a paper aeroplane folded from one sheet of letter paper, with fold diagrams that fold themselves.

Concept: the laminated card in a seat pocket has one of the most recognisable visual languages there is — wordless numbered panels, calm faceless people, arrows, a red cross through the wrong thing. Applying that solemn language to an aircraft that is one sheet of paper, has no passengers, and flies for four seconds is the joke. But the zine is also useful: its central panels are a correct, followable guide to folding the classic dart.

Mood: a seat-back pocket in 1974. Slightly off-register spot colour, rounded corners, optimistic modernism. Deadpan.

Palette: card stock off-white #F5F3EC, safety-card blue #1F5AA6, signal red #E03A2E, warm yellow #F7C948 for highlights and life-vest details, pale blue tint #D7E4F2 for panel grounds, and line black softened to #1B1F27. Flat colour only, with thin even outlines.

Typography: a neutral grotesque stack ("Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif) throughout: bold capitals for the header band, large bold numerals for panel numbers, small regular text for the few captions. A second "language" line under each caption is set in italic and says the same thing in comic over-formal English, where a real card would carry a translation.

Layout: one long vertical card with rounded corners on a grey tray-table background, built from bordered panels on a grid — three across on a wide screen, one across on a phone. A blue header band carries the invented airline mark (a folded-paper chevron), the words "SAFETY INFORMATION", the aircraft type "Dart 8½ × 11", and "Please leave this card on the desk". Sections in order: (A) Know your aircraft: a labelled plan of the dart — nose, wing, keel, the one crease that matters. (B) Assembly: six numbered fold panels. (C) Before take-off: check the wings are level, add a small up-bend at the trailing edge, hold at the keel a third of the way back. (D) Launch: the correct throw (level, firm, not hard) and three crossed-out wrong ones. (E) In the event of a stall, a dive, or a turn: three small cause-and-cure panels. (F) Emergency exits: there are none; the panel says so, calmly. (G) A flight log panel with a small glide simulator.

Fold diagrams: draw each of the six assembly steps as an SVG of the sheet with dashed fold lines and curved arrows, in the usual diagram convention. Each panel animates its own fold when it scrolls into view and again when pressed: the flap turns over along its crease, showing the paper's reverse side in the pale blue tint, by animating the flap's polygon points (or a 3D rotation about the crease line). The six steps are the classic dart: fold in half lengthways and unfold; fold the two top corners to the centre crease; fold the new slanted edges to the centre crease again; fold the plane in half along the centre crease; fold one wing down level with the bottom edge; turn over and fold the other wing to match.

Signature moment: the flight log. A small side-view Canvas at the foot of the card shows a desk, a room, and a far wall with a distance scale. Three sliders set launch angle, launch speed, and elevator bend. Press Launch and a tiny dart flies under a simple glider model (lift and drag proportional to speed squared, with a pitching tendency set by the elevator bend), leaving a dashed trail; it glides, stalls and mushes, or dives, as the settings deserve. The card then stamps the distance and one of the safety-card verdicts: "NORMAL FLIGHT", "STALL — LESS ELEVATOR", "DIVE — MORE ELEVATOR".

First frame: the header band and the first row of panels, with the "know your aircraft" plan drawing itself in over about a second.

Interaction: press any fold panel to replay its fold; a "Fold all" button plays the six in order. The glide simulator has its three sliders, Launch, and Clear trails. Keyboard: all panels are focusable buttons, Enter or Space replays a fold, and in the simulator L launches and arrow keys adjust the focused slider.

Voice: airline-official, never winking. "Your aircraft has no engines. This is normal." "In the unlikely event of a landing on water, the aircraft will become soggy."

Accuracy: the folding steps must produce a real dart, and the trim advice must be right (nose dives: bend the trailing edges up a little; stalls and swoops: bend them down or throw more gently).

Reduced motion: fold diagrams show the before and after states side by side without animating, and the simulator draws the whole flight path at once.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Flight 8½ × 11 — Safety Information, built by Fable 5.2.

29 Sheet 47 — Survey of an Island That Is Not There

The exact prompt
A generative-art piece: one sheet from a national survey map series, drawn in the page, showing an island that has never existed — and a different island for every sheet number.

Concept: a topographic map is a drawing made entirely of rules: a contour every ten metres, a heavier one every fifty, blue for water, a set symbol for a church. Follow the rules over invented terrain and the result is completely convincing. This page is a survey office for nowhere. It grows an island from noise, then draws it with the full solemn apparatus of a printed map sheet: contours, spot heights, soundings, streams, a grid, a legend, a scale bar, and place names that sound almost right.

Mood: a map library reading room. A wide flat drawer, a sheet smoothed out under glass weights, north light. Studious and a little wistful.

Palette: map paper #F3EEDD, contour brown #A9713F, index-contour sepia #7B4A22, sea tint from #DCEBEE near shore to #B7D3DC in deep water, hydrography blue #2E6F8E for streams, coast, and soundings, woodland green tint #CFE0B8, grid and lettering black softened to #2B2A28, and survey magenta #B4326A used only for the sheet number and the visitor's own marks.

Typography: place names in a serif stack ("Hoefler Text", Baskerville, "Palatino Linotype", Georgia, serif), with water names in blue italic and hills in upright capitals, as on real sheets; marginal information in a small clean sans stack ("Gill Sans", "Avenir Next", "Segoe UI", sans-serif). Letter-spacing widens for the names of large features so that they stretch along them.

Layout: the sheet lies centred on a dark desk, with a white margin all round. Inside the neat line is the map. The margin holds, as a real sheet does: the title and sheet number at the top, grid numbers along the edges, a legend block, a scale bar in kilometres and miles, a north arrow with a small magnetic variation, a "compiled from no surveys whatever" imprint, and the edition note. Controls sit in a slim strip under the sheet. On a phone the sheet is upright, the legend and scale move under the map, and pinch or a button zooms.

Method: make a height field from several octaves of seeded gradient noise, multiplied by a radial falloff that is itself distorted by noise, so that the land is one main island with coves, a headland, and perhaps an islet. Sea level is zero. Trace contours with marching squares at ten-metre intervals, join the segments into continuous lines, and draw every fifth one heavier with its height written along it in a gap in the line. Find summits as local maxima and mark each with a dot and a spot height. Run streams downhill from high points by steepest descent until they reach the sea, thickening as they join. Draw the sea with a few depth contours and scattered soundings. Tint a noise-chosen area of low hills as woodland with small tree symbols. Place one or two settlements on flat ground near the coast with a few black building squares and a track. Generate names from syllable tables in one consistent invented language per island, with the right generic words (a word for hill, bay, stream, point) attached to the right features. Everything follows from the sheet number, which is the seed.

Signature moment: the survey. Choose a new sheet and the map is plotted in the order a draughtsman would work: the coastline is inked first as a single running line, then the contours rise from the shore to the summits ring by ring, the streams run down, the tints wash in, the names are lettered one by one, and last the magenta sheet number is stamped in the corner.

First frame: Sheet 47, fully drawn, named, and bordered.

Interaction: "Next sheet" and "Previous sheet" step the number; a field takes any number from 1 to 9999. Moving the pointer over the map shows a small readout of grid reference and height (or depth) under the cursor. Clicking two points draws a magenta line between them and shows the distance and a small elevation profile of the walk. Switches turn contours, names, and tints on and off. Keyboard: Left and Right change the sheet, C, N, and T toggle the three layers, and with the map focused the arrow keys move a crosshair whose reading is announced in the readout.

Voice: marginal notes in survey-office prose, entirely serious. "Heights are in metres above a sea that does not exist."

Performance: compute the height field once per sheet on a grid of about 220 by 160 cells; draw to Canvas; replay the plotting animation from stored line lists.

Reduced motion: the finished sheet appears at once with no plotting sequence.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Sheet 47 — Survey of an Island That Is Not There, built by Fable 5.2.

30 Colour Code

The exact prompt
A single-purpose tool: one enormous resistor that can be read both ways — click its colour bands to get the value, or type a value to get the bands — with the nearest standard part found for you.

Concept: a resistor is too small to print numbers on, so its value is written in stripes of colour: two or three digits, a multiplier, and a tolerance. Everyone who solders learns the code and everyone forgets it. The tool is the resistor itself, made a thousand times life size, so that reading the stripes becomes the whole interface. It also answers the question that follows at once: the value you calculated is not a value anybody makes, so which one do you buy?

Mood: an electronics bench on a Sunday afternoon. A cutting mat, component drawers with handwritten labels, the smell of flux. Practical, cheerful, precise.

Palette: cutting-mat green #1F6B5A with a fine paler grid #2F8472, resistor body beige #E3CFA4 (for 5% parts) and body blue #7FB2D9 (for 1% parts), lead-wire tin #C9CED3, drawer-label cream #FBF6E6, ink #1C2226, and the ten code colours exactly as components use them: black #1A1A1A, brown #7A4A21, red #D12F2F, orange #F08A24, yellow #F5D327, green #2E9E4F, blue #2C63C9, violet #8B4CC7, grey #8C8F94, white #F4F4F0, plus gold #C9A227 and silver #B7BCC2 for multipliers and tolerances.

Typography: big numerals in a rounded technical sans stack (ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif) with tabular figures; drawer labels and small notes in a handwriting-leaning stack ("Bradley Hand", "Segoe Print", "Comic Sans MS", cursive, sans-serif) used sparingly; units set with a proper Ω sign.

Layout: the resistor lies across the middle of the screen, drawn in SVG with a shaped body, end caps, soft highlights, and leads running off both edges. Its bands are wide enough to press. Above it the value is shown very large ("4.7 kΩ ±5%"), with its range in smaller figures beneath ("4.465 kΩ to 4.935 kΩ"). Under the resistor, each band has a small column: its role (1st digit, 2nd digit, multiplier, tolerance), and a vertical strip of the colours it may take, with the current one marked. To the right is a small drawer cabinet for the nearest standard values. On a phone the resistor shrinks to the full width, the value sits above it, the band columns become four horizontal pickers beneath, and the drawers follow.

How it works: support four-band and five-band resistors with a switch. Digits: black 0, brown 1, red 2, orange 3, yellow 4, green 5, blue 6, violet 7, grey 8, white 9. Multipliers: the same colours as powers of ten from 10⁰ to 10⁹, plus gold ×0.1 and silver ×0.01. Tolerances: brown ±1%, red ±2%, green ±0.5%, blue ±0.25%, violet ±0.1%, grey ±0.05%, gold ±5%, silver ±10%. Typing: accept entries such as 4700, 4.7k, 4k7, 1M, 0.22, and 330R, and set the bands to match. Standard values: compute the E12, E24, and E96 series for the entered value's decade and show the nearest value in each series, the error of each as a percentage, and its bands as a miniature resistor that can be clicked to load it. Check the E-series tables against the standard preferred numbers, not a formula alone, since a few standard E24 values differ from the rounded formula.

Signature moment: typing a value. As each character is entered the bands change colour with a quick wipe from top to bottom, like paint being dipped, the big value re-forms, and in the cabinet three little drawers slide open to offer the nearest E12, E24, and E96 parts, the closest one sliding furthest.

First frame: a beige four-band 4.7 kΩ ±5% resistor — yellow, violet, red, gold — on the green mat, value shown, drawers open.

Interaction: click a band to select it, then click a colour in its strip, or press the band again to step to the next colour. Type in the value field. Switches: four or five bands; and "show as colour-blind-safe", which prints the digit on each band and each colour chip so that the tool never depends on colour alone. A "Quiz" button shows random bands and asks for the value, with a streak count. Keyboard: Left and Right move between bands, Up and Down change the selected band's colour, digit keys 0–9 set the selected digit band directly, Tab reaches the value field, and Enter applies it.

Voice: short bench notes in the handwriting face. "Gold on the right. If it is on the left, turn the part round."

Accuracy: the colour code and the E12 and E24 values must be exactly right.

Reduced motion: band colours and drawers change at once with no wipe or slide.

One file, inline CSS/JS, no external resources, responsive from 360px up, no console errors.
Colour Code, built by Fable 5.2.