Inspiration
How to Build a Fictional 1890s Steampunk Weather Predictor in the Browser Using Claude 3.5 Sonnet and SVG
Ditch the boring modern weather dashboards. Learn how to prompt Claude 3.5 Sonnet to build a fully interactive, brass-plated Victorian weather engine complete with custom SVG dials and synthetic Morse code sound effects.
Updated 10/30/2026
Why Build Boring Dashboards When You Can Build Steam-Powered Curiosities?
Let’s be honest: the world does not need another clean, minimalist React weather app showing a flat vector sun peeking out from behind a pastel cloud. We are drowning in sterile, corporate user interfaces.
Instead, let's build something delightfully useless, incredibly atmospheric, and utterly tactile: a fictional 1890s Steampunk Weather Predictor.
We are talking about a browser-based instrument encased in polished mahogany, featuring brass rivets, shaking physical needles, custom-rendered SVG glass dials, and a synthetic soundscape of copper relays clicking out Morse code. Using /platforms/claude and its native rendering capabilities (Claude Artifacts), you can build and run this entire interactive micro-experience in under ten minutes.
Here is how to coax Claude into engineering a brass-plated marvel that turns real-time (or delightfully simulated) meteorological data into Victorian scientific prose.
Which AI should I use for this?
Tickd is independent and not affiliated with any AI company.
The Design Philosophy: What Makes the Aesthetic Clockwork Tick
To make this feel authentic, we cannot rely on standard CSS frameworks. Tailwind is brilliant, but it does not do "rusted iron and hand-blown glass" out of the box. We need to instruct Claude to build a bespoke aesthetic engine.
Our Steampunk Weather Predictor relies on three pillars: 1. Dynamic SVG Gauges: Rather than static images, we will use inline SVGs where the pointer needle's rotation is bound to state variables (temperature, barometric pressure, and "ætheric turbulence"). 2. The Web Audio API Soundscape: Every dial adjustment or button press should trigger physical feedback. We will generate raw synthesised audio clicks, hums, and steam venting sounds using pure JavaScript. 3. The Victorian Linguistic Engine: No one wants to read "Chance of rain: 80%". We want "The barometric mercury falls rapidly; prepare your oilskins for an impending tempest."
Step 1: Crafting the System Prompt for Claude
If you simply ask Claude to "make a steampunk weather app," you will get a generic orange-themed bootstrap layout. To get a truly outstanding build, you need to set strict architectural and visual constraints.
Copy and paste this structured prompt into Claude 3.5 Sonnet:
`text
Act as an expert frontend engineer and creative UI designer. Build a self-contained, interactive single-file React component representing an 1890s Steampunk Weather Predictor (an "Aetheric Barometrograph").
Visual Requirements: - The UI must look like a physical machine: dark mahogany wood backing, polished brass borders, glowing vacuum tubes, and rivets. - Use inline SVGs for the main dials (Barometric Pressure, Thermal Expansion, and Aetheric Turbulence). - The dials must have physical, vibrating needles that react smoothly to state changes. - Use radial gradients, drop shadows, and metallic CSS gradients to simulate brushed brass, copper, and thick glass covers.
Functional Requirements:
- Provide a manual override panel where users can adjust sliders for Temperature, Moisture, and Solar Wind.
- Include a "Query the Skies" brass lever. When pulled, it triggers a dramatic calculation sequence: vacuum tubes light up, needles shake violently, and a ticker-tape printer outputs a Victorian-style weather forecast.
- Use the Web Audio API to create synthesised sound effects: a low-frequency hum when running, physical clicks for buttons, and a brief noise-burst "steam hiss" when the lever is pulled.
- No external assets (images or audio files) are allowed. Everything must be generated procedurally via SVG and Web Audio API.
`
Step 2: Unpacking the Web Audio API Synthesis
One of the most impressive things about Claude 3.5 Sonnet is its ability to write clean, mathematical Web Audio API code. Instead of loading heavy MP3 samples, we can generate authentic mechanical sounds on the fly.
When Claude generates the code, look for how it handles the sound effects. A robust implementation uses a quick burst of white noise passed through a bandpass filter to simulate steam, and a rapid decay of an oscillator to simulate a copper relay click.
Here is the underlying logic Claude uses to synthesise a satisfying physical click:
`javascript
const playClick = (ctx) => {
const osc = ctx.createOscillator();
const gain = ctx.createGain();
osc.type = 'triangle';
osc.frequency.setValueAtTime(150, ctx.currentTime);
osc.frequency.exponentialRampToValueAtTime(10, ctx.currentTime + 0.05);
gain.gain.setValueAtTime(0.1, ctx.currentTime);
gain.gain.exponentialRampToValueAtTime(0.01, ctx.currentTime + 0.05);
osc.connect(gain);
gain.connect(ctx.destination);
osc.start();
osc.stop(ctx.currentTime + 0.05);
};
`
This simple block of code gives the interface an incredibly satisfying, tactile crunch whenever a knob is turned or a toggle is flicked.
Step 3: Refactoring the SVG Glass Dials
When Claude outputs the first draft of your weather predictor, the dials might look a bit flat. Don't settle for mediocre brass. Prompt Claude to add depth by layered styling.
Ask Claude to refactor the SVGs with this specific guidance:
> "Refine the SVG gauges. Add a semi-transparent white radial gradient overlay to simulate the glare on a curved glass cover. Add a subtle drop shadow to the needle so it looks like it is floating 3mm above the dial face. Add subtle ticks around the dial circumference labeled in a classic serif font like 'Georgia' or 'Times New Roman'."
This level of detail transforms a cartoonish drawing into a stunning skeuomorphic object. You can see live examples of how these multi-layered SVG components behave interactively by visiting Anthropic's official Claude Artifacts showcase.
Step 4: The Victorian Ticker-Tape Output
To complete the illusion, the weather forecast shouldn't just pop up in a standard div. It should print out on a scrolling paper ticker-tape, complete with retro typography and a slight jitter.
Claude can generate a dynamic parser that takes temperature and humidity values and maps them to a matrix of wonderfully dramatic descriptions. For example:
| Temperature | Humidity | Output Phrase | | :--- | :--- | :--- | | Cold (< 5°C) | High (> 80%) | "A freezing fog creeps across the moors. Stoke the coal fires and guard the pipes." | | Hot (> 28°C) | Low (< 20%) | "A scorching sirocco parches the land. The atmospheric pressure threatens to boil the humours." | | Moderate | High | "A persistent, soot-heavy drizzle descends upon the metropolis. Carriage travel advised." |
Troubleshooting and Iterating
If the code fails to compile or the sound engine stutters, do not panic. Claude can debug its own audio context states quite easily. Common issues usually involve browsers blocking the Web Audio API until a user interaction (like clicking a "Power On" toggle) occurs.
For a deep dive into resolving audio latency or React rendering errors in Claude-generated artifacts, head over to our /platforms/claude/articles where we break down common execution bugs.
The Final Polish
Once the app is running in your browser, try pulling the main lever. You should hear a hiss of steam, see the needles bounce frantically as the "ætheric turbulence" gauge spikes, and watch a paper tape slide up with your custom Victorian forecast.
Building projects like this isn't just about fun; it’s a brilliant way to explore the limits of procedurally generated design, browser-native audio, and advanced prompt engineering. It proves that utility doesn't always have to be boring—sometimes, a little bit of steam and brass is exactly what your portfolio needs.
Keep going
Build something with the prompt generator, decode the jargon in the glossary, or compare the tools on our platform deep-dives.