001
A dark, candlelit instrument page: an engraved dial plate on a charcoal bench carries
eight brass planets on epicyclic arms, each running at its true orbital period. Drag a
planet and you scrub time for the whole machine; release it and it springs back into
orbit trailing fading brass. A machined time-rate lever spins the orrery up, and as it
accelerates every ring flashes with a travelling specular gleam from the fixed lamp at
upper left — the page's signature moment. An ivory-and-steel console to the right reads
out the simulated date, rate and live ephemeris, and doubles as the keyboard interface.
Original prompt
Build a single-page, self-contained interactive art piece: a toy brass desk orrery
rendered in canvas 2D, presented as a museum instrument on a dark workbench.
MOOD. Quiet, warm, mechanical, candlelit. A museum lab at dusk: charcoal-black bench,
one fixed lamp high at the upper left, and a brass machine turning under it. Nothing
glowing-neon, nothing glassy. The pleasure is in engraved metal, aged ivory, and the
slow sweep of real orbital periods.
PALETTE (contract — these exact hexes dominate).
#141210 charcoal-black — page ground, bezel, plate under-dial.
#C9A227 brass — arms, rings, lever, sun, rules, key accents.
#EAD9B0 ivory — engraved inlay band, numerals, labels, hairlines, body text.
#5D7A8C pale steel — epicycle hoops, screws, secondary data, cool shadow.
Supporting tones are mixtures of the four (deeper brass #8A6B18 / #7A5C14 for engraved
lines on light; brighter brass #F0D67A only for specular gleam hits).
TYPOGRAPHY. System stacks only. Display and instrument lettering: Georgia /
'Palatino Linotype' / Palatino / serif, set in small caps with wide tracking for
engraved labels and Roman-style dial numerals. Data readouts: ui-monospace /
Menlo / Consolas / monospace, uppercase, tight letterspacing, for epoch day, date,
rate and longitudes. Extreme scale contrast: 10–11px engraved labels against a 64px+
display title, with a 40px monospace epoch number as the loudest data.
LAYOUT. Desktop: an engraved brass frame around a two-column grid — a stage on the
left (the orrery, fills available space, square-ish) and a narrow instrument console
on the right (~340px) with the readout, the time-rate lever, the eight-planet
ephemeris list and toggle buttons. A header plaque carries the maker's name, model
number and a one-line description. Mobile (<900px): single column — plaque, square
canvas stage, console below; nothing overflows at 360px.
THE ORRERY (canvas 2D, devicePixelRatio-aware, resize-observed).
· Eight planets — Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune —
on true relative periods (87.97 / 224.70 / 365.26 / 686.98 / 4332.59 / 10759.22 /
30688.50 / 60195.00 days) and true mean longitudes at J2000 (252.25, 181.98,
100.46, 355.43, 34.35, 93.06, 173.01, 48.36 degrees). Time is days from J2000 and
the console prints the matching calendar date.
· Each planet rides an epicyclic arm: a tapered brass deferent bar from the central
sun to a pale-steel epicycle hoop, and a short brass crank from the hoop to the
planet sphere. Slight radius compression so all eight sit inside the dial.
· The dial is an engraved plate: dark lacquer field inlaid with ivory hairline
guilloché circles, a radial tick field (1° / 5° / 30° grades), an ivory annulus
near the rim carrying dark serif sector numerals and constellation names, plus
canvas-speckle ageing. The dial rotates once per Earth year, so the engraving
drifts under the arms. Caching: the dial is drawn once to an offscreen canvas and
blitted with rotation/scale, rebuilt only on resize or zoom bucket change.
· A brass sun boss at the centre with engraved rays and a warm bloom; a bezel
outside the dial with four screws and a small etched lamp mark at the light
position.
SIGNATURE MOMENT. A fixed light source sits high at the upper left (an etched lamp
mark on the bezel, with a warm wash across the plate). Every orbit ring is a graduated
brass wheel that turns with its own body: ~48 radial graduations cut into the hoop,
stroked in 'lighter' composite with brightness = cos^9 of the angle between the
graduation and the lamp, so each mark ignites for a moment as it passes under the light
and the whole ring reads as a gleam running around the brass. Arms get the same
treatment as a specular blob sliding along the bar, planets get a lamp-direction
terminator and rim light. Because brightness is a function of angle, speeding time
speeds the flash: dragging the time-rate lever makes the machine strobe with brass
highlights as ring after ring passes the lamp. Clicking LAMP cycles the light to four
fixed positions and the gleam pattern rewrites itself instantly.
INTERACTION.
· Drag any planet: hit-tested in screen space; the planet lifts off its arm (the arm
end shows a ghost ring, a pale steel guide line connects them) and scrubbing its
angle scrubs simulated time for all eight planets, proportionally to their periods.
Release: a damped spring (slight overshoot, never jitter) snaps the planet back into
orbit along a bright brass trail that fades over ~1.5s.
· Wheel or pinch to zoom (0.5×–2.8×, eased).
· The time-rate lever: a machined brass knob on a steel track, signed logarithmic-ish
map, centre detent at HALT, reverse runs time backwards. Keyboard accessible as
role="slider" with arrows, Home/End, Page keys.
· Ephemeris list: eight real <button> rows (Roman index, name, period, live longitude,
brass dot) — click or focus to select a planet, then ←/→ on the canvas scrubs that
planet; 1–8 select directly, +/- zoom, Space halts.
· Toggles: LABELS (ivory leader lines + serif names), TRAILS, RINGS, LAMP, SOUND,
RESET VIEW. All live, none decorative.
· Cursor becomes grab/grabbing over planets; hovering a planet brightens its ring and
row.
FIRST THREE SECONDS. An engraved sweep: the ivory dial is scribed in via a rotating
conic wipe over ~0.9s, then the eight orbit rings expand from the centre staggered
outward on a custom cubic-bezier (.16,.84,.28,1), then the sun blooms, arms swing
their zero positions in, planet spheres scale up on a decelerating curve with a small
overshoot, and finally the labels and console rows fade-and-settle with tracking
tightening. The console plaque letters rise with wide→normal tracking. If the viewer
has not touched anything after the entrance, Earth pulses once with a dashed "drag me"
ghost ring and the hint plate glows; both retire permanently on first interaction.
SOUND. Off by default, explicit brass toggle, Web Audio only, created on first user
gesture: a short filtered metallic tick with a faint second partial when any planet
crosses the lamp direction, rate-capped; volume tied to how fast time runs.
TEXTURE AND FINISH. Inline SVG feTurbulence grain overlay at very low opacity,
screen-blended; layered radial gradients for bench falloff and lamp wash; engraved
double rules (light above, dark below) on every plate edge; hover states everywhere;
visible :focus-visible brass outlines offset 2px on all controls.
REDUCED MOTION. Ambient time rate starts at HALT, the entrance jumps to its finished
state, trails and pulsing nudges are suppressed, and all CSS transitions collapse —
the machine still responds to the viewer's own drags and lever input.
COPY. Written as a real instrument maker's documentation: maker's plaque ("Delamere &
Fenn, Instrument Makers — Cheapside Row"), model and registry numbers, an engraved
legend plate of controls, a short "notes on the seventh model" paragraph about the
spring-driven arbor and the single lamp, and small per-planet footnotes. No lorem,
no placeholders, no "made with" captions.
001-brass-orrery.txt