Claude Fable 5.2 HTML experiment
One model writes 15 briefs and builds each one as a single self-contained HTML page. The prompt is shown next to every page.
claude-fable-5-2Claude CodeNov 10, 202615 pages
I asked a model to write 15 different briefs and then build each one as a single HTML page. Every page is one file. No libraries and no outside assets. Read the full write-up ↓
The rules · 4
- One HTML file per page, with its CSS and JavaScript inline.
- No libraries, no web fonts, and no outside assets.
- Checked at desktop and phone sizes.
- The exact prompt is shown next to the page.
The pages · 15
Open shows the full page. View prompt shows the exact prompt that made it.01Sunprint Herbarium
A cyanotype printing desk. The page opens on a finished Prussian-blue photogram of ferns, a ginkgo leaf, a feather, and a flower head, lying on a dark desk beside a slim column of instructions. Starting a new sheet swaps it for unexposed yellow-green paper with the pressed plants resting on top. Pressing Expose turns on the sun: over a few seconds the uncovered coating darkens to bronze, and anything you move during that time prints as a paler ghost. The sheet then rinses itself — yellow washing out to paper white, bronze turning deep blue — leaving white plant silhouettes with soft edges. Each print can be saved as a PNG.
02Cloud Chamber
A full-screen window into a cloud chamber. Short fat alpha tracks, wandering beta threads, and long straight muon lines appear out of nowhere, hang as chains of white droplets, then sink and fade. Four small instrument panels sit in the corners: what you are looking at, running counts, a legend with a miniature of each track type, and controls. Tapping the chamber sets down a small source that sprays alpha tracks in every direction. The magnetic field starts at 35%, so beta tracks already curl on the first frame; turning it up winds them into tight spirals, with electrons and positrons curling opposite ways. On narrow or short screens the chamber takes the top of the page and the panels stack beneath it.
03Twenty-Five Hours
A long-read feature laid out like a printed magazine spread from a fictional supplement, The Broody Quarterly. It opens with a large italic headline beside a softly shaded egg, moves through a drop-capped introduction, and arrives at an interactive figure set on a dark plate: an oviduct drawn as a winding tube in five coloured regions, an egg cross-section, and a 25-hour slider. As the time advances the cross-section gains its layers in the right order, a checklist of eight layers lights up, and the caption names the region and explains what is being added. Five short sections then walk through the regions with their typical durations set as large numerals and a margin note each, followed by a pull quote, an illustrative week showing why a hen eventually skips a day, and a by-the-numbers box. The page says plainly that the figures are typical and vary by bird.
04Hot Metal
A typing game dressed as a hot-metal line-casting machine at the fictional Pillow Creek Evening Ledger. A clipped paper copy slip shows a short invented headline; every correct keystroke drops a brass matrix onto the assembler rail, spaces arrive as steel spacebands, and a mistake lands as a red matrix that jams the line until it is backspaced. A perfect line casts itself: a glow of molten metal sweeps across, a silver slug with mirrored lettering drops into the galley, and the headline prints on a newsprint proof with a one-line story under it. A 60-second shift measures words per minute, accuracy, and lines cast, and ends with a "Passed for press" stamp on the proof and a composing-room rank. The page opens with the first line already half set.
05Daylight Almanac
A daylight calculator presented as a dusk-coloured instrument panel. The day length for the chosen latitude and date is the large headline figure, with sunrise, sunset, noon sun height, the change since the day before, and three twilight spans beneath it, followed by a plain note that all times are local solar time. Beside it, the year carpet shows every day of the year as a column of night, twilight, and daylight, so the whole seasonal rhythm of a latitude is visible at once — a thin even band at Quito, a swollen lens at London, a solid block of midnight sun at Tromsø. A lower panel plots the sun's height through the selected day against the horizon. It opens on today's date at 36° north.
06Moiré Parlour
A framed square print hangs on a white wall. Inside it, two fine black gratings overlap, and the interference between them produces large fringes that are printed on neither sheet. The first frame is rings over rings, slightly offset, with the top sheet drifting very slowly. Sliding or turning the top sheet by a hair makes the fringes sweep across the print. Chips choose each sheet's pattern from six gratings, sliders set each pitch and the turn, a switch prints the top sheet in vermilion, and "Pull a print" saves a PNG. When both sheets are straight lines the caption works the fringe spacing out with live numbers, using p ÷ (2 sin(θ/2)) for equal pitches and the general two-pitch form otherwise.
07Load Path
A drawing sheet on green engineering-pad paper shows a 24 m truss bridge with a weight hanging from the deck. Members in tension are blue, members in compression are red, zero-force members are grey, and thickness grows with force; every member is labelled in kilonewtons. The first frame is a six-panel Pratt truss with 120 kN at mid-span. Dragging the weight along the deck or up and down re-solves the structure at once. Five layouts are offered: Pratt, Howe, Warren, K, and an X-braced layout added during the build. The first four are statically determinate, so cutting any one member correctly stamps the sheet UNSTABLE; the X-braced layout has four spare diagonals, so there the forces visibly reroute. A title block reports the load, peak tension and compression, reactions, an equilibrium check, and mid-span sag, and the assumptions are listed on the sheet.
08The Last Artifact
A dark long-read about the International Prototype of the Kilogram. The opening screen shows a silver cylinder, as tall as it is wide, under three nested bell jars on a plinth, with the title and a one-line standfirst beneath. Scrolling, or the Lift and Lower buttons, raises the jars one at a time while the light on the cylinder grows. Four short chapters cover the object, its vault, the slow disagreement with its copies, and the 2019 redefinition, broken by three exhibits: a timeline from 1795 to 2019, a schematic drift chart, and the old and new definitions set large. Facts follow the published BIPM record as recalled when writing; the chart is labelled as a schematic rather than plotted data, and there are no invented quotes.
09Tessera
A nonogram game styled as the restoration of a Roman floor. Six puzzles, from 8×8 to 12×12, each hide a small motif: a fish, an amphora, a bird, a breaking wave, the sun, and a key. Laying tiles to satisfy the row and column clues rebuilds the picture, and a finished grid floods with the motif's colours in a ripple from the last stone placed, with limestone filling the background. Trench I opens partly restored. A site notebook lists the six trenches and shows a tiny preview of each mosaic once it is solved. Progress is saved locally when storage is available.
10Contrast Bench
A contrast checker in which the chrome is neutral and the two colours under test carry the page. A specimen card shows real text at 24 px, 14 pt bold, 16 px, and 12 px, with an icon, a control border, and a hairline, and the contrast ratio set as a huge numeral. Two editors adjust the text and background colours. Five badges report each WCAG 2 threshold as Pass or Fail in words as well as colour, a plain-language sentence explains what the pair is good for, and a strip offers the nearest passing alternatives. The default pair, #1b3a57 on #f2e9d8, measures 9.73:1.
11Slow Colony
A full-screen slab of dark, wet slate on which three lichen species spread from seed points: an orange one in broad lobes, a yellow-green crust with dark edging and black dots, and a pale grey one in thin branching fronds. The stone opens with eight half-grown colonies already in place. Colonies never overgrow each other; where they meet, a thin dark line is left. The visitor seeds new colonies, rains on an area to hurry it, turns a time dial from stillness up to a decade a second, and can save the stone as a PNG. A caption carries one true line about how slowly crust lichens grow, with a running count of years, colonies, and the share of stone covered.
12Lodestone Table
A lamplit walnut table covered edge to edge in small brass compasses, with two red-and-blue bar magnets lying on it. Every needle swings to follow the field as a magnet is slid, spun, or flicked, and settles with a little overshoot. Faint chalk field lines can be switched on, a weak background field stands in for the Earth's, and spare magnets wait in a tray along the bottom edge. An engraved brass plate carries the title and one accurate sentence about what a compass needle does.
13Lean
A poster-loud explainer on why a motorcycle leans. A giant slanted yellow LEAN fills the opening above a rider tipped into a corner. Corner 01 gives the formula tan θ = v² ÷ (g × r) with speed and radius sliders, a rear view of the bike tilting to the exact angle, and readouts of lean angle, sideways g, and grip needed. Corner 02, on a yellow field, steps through countersteering in three beats, seen from above and from behind. Corner 03 turns the same numbers into a grip budget with a top-down corner, a grip-limit slider, and a reserve bar. A closing note says plainly that this is an idealised model and not riding instruction.
14Dit Dah
A Morse-copying game at the receiver of a fictional coast station, Marrow Point Radio. A bakelite front panel carries a glowing amber tuning dial, a red signal lamp, and three knobs for speed, pitch, and volume. Below it a paper tape runs right to left out of a brass inker, printing each dot and dash as it is sent. The player types or taps the letter before its marks reach the edge of the desk: a correct copy is stamped under the marks, a wrong one is stamped in red and ringed, and a letter that runs off leaves a red gap. The watch begins with E and T and adds one letter at a time, shortest codes first, whenever eight of the last ten copies are right. Once eight letters are known, short invented weather and shipping messages arrive to be copied as words. The opening tape already carries M, P, and R, and the pad reads "Press Start Watch — sound is optional."
15Polymeter
A bright, bouncy visual metronome for polyrhythms. Each rhythm is a coloured polygon inside one white dial: three beats is a coral triangle, four a teal square, and so on, each with a corner at twelve o'clock. A single hand sweeps the dial once per bar; every corner it passes pulses and clicks. The page opens stopped on three against four, with the note "press play — sound is off until you do." The pattern's name and its number of sub-steps (the least common multiple of the beat counts) sit beside the dial, voice pills sit beneath it, and a strip along the bottom shows the same bar unrolled into a line.
The write-up
I asked a model to write 15 different briefs and then build each one as a single HTML page. Every page is one file. No libraries and no outside assets.
Each page is checked at desktop and phone sizes. The exact prompt sits next to the page it made, so you can judge the result against the request.
The brief set is saved, so the same 15 prompts can be run on another model and the two runs compared side by side.
The format is inspired by Mia's 100 HTMLs (opens in a new tab). The briefs here are my own.
















