Interactive pixel-art winter room with glass-breaking effects
Interactive pixel-art winter room with glass-breaking effects is a 21.4-second Claude Opus motion design reference by @N1njaCodex, built around Web Audio, Canvas, WebGL. [Note: the creator shared a partial prompt. Copy this AI motion prompt, keep the creator's frame counts and palette, and adapt the subject for your own launch film.
@N1njaCodexView post
Prompt
[Note: the creator shared a partial prompt. Wording below is theirs.]
GOAL:
Build a single-file interactive pixel-art wallpaper called "Snow Window": a cosy room on a snowy New Year's evening, seen at 480×270 art pixels scaled up with nearest-neighbour, composited by one WebGL fragment shader.
MOTION:
No external assets; everything is drawn with canvas 2D and synthesised with Web Audio. English UI only.
The scene:
- A wooden window takes up most of the left side. Outside is an old town at night:
- a twilight sky with a moon behind snow clouds;
- snowy rooftops, an onion-domed church, and a town-hall tower whose lit clock shows the real time;
- houses with snow-capped gables, a mansard with dormers, and smoking chimneys;
- warm windows with curtains, silhouettes, wreaths and candle bridges;
- shopfronts with striped awnings and glowing signs: BAKERY, CAFE, TOYS, BOOKS, plus a blinking pharmacy cross;
- a decorated fir tree in the square, garlands across the street, old lantern street lamps;
- snowy pavements and a road with tram rails under an overhead wire.
- Life outside:
- three depths of falling snow in wind gusts, glowing warm near the lamps;
- people in hats and scarves, a child with a sled, people walking dogs or carrying gifts;
- cars throwing snow spray;
- a red-and-cream tram with pantograph sparks and a bell;
- three bullfinches on a snowy branch close to the glass. They flee when the glass is hit nearby and come back later.
- Snowflakes stick to the pane and melt into drops.
- The glass:
- The inside is misted. Dragging wipes it clear, with a droplet rim, drips that run down and a squeak; the mist creeps back over ~40 s.
- Rime frost ferns grow from the edges and corners.
- A peephole and a heart are pre-wiped at start.
- Breaking the glass:
- Any click on the glass that does not become a wipe (allow ~10 px of wobble) breaks it.
- Holding the click first charges a harder hit, shown by a ring that closes around the pointer. A hard hit makes a bigger crack star and knocks out the inner ring of pieces.
- Cracks grow outward, closed pieces fall as rotating shards that shatter into glinting crumbs on the desk, and unsupported islands drop.
- A "Snowball" button (or the B key) makes a child on the pavement throw a snowball. It arcs and grows toward the window, smashes it with a heavy hit, leaves a snow splat that slides and melts, and bursts snow into the room.
- Through the holes the street is seen sharp, snow blows in and settles on the sill and desk, and the wind gets louder.
- A Repair button (or the R key) heals the pane.
- The room:
- Striped wallpaper and a pine garland with twinkling bulbs.
- A brick fireplace with animated flame tongues, embers and sparks; a real-time mantel clock, candles, stockings, and a painting of a snowy cabin.
- A round red rug.
- A desk holding: a potted mini fir, a snow globe, cocoa with steam, gingerbread men, a candle, tangerines, and a knitting basket.
- Pets:
- A ginger tabby cat sits on the desk watching the snow. It follo
Author original
Build a single-file interactive pixel-art wallpaper called "Snow Window": a cosy room on a snowy New Year's evening, seen at 480×270 art pixels scaled up with nearest-neighbour, composited by one WebGL fragment shader. No external assets; everything is drawn with canvas 2D and synthesised with Web Audio. English UI only.
The scene:
- A wooden window takes up most of the left side. Outside is an old town at night:
- a twilight sky with a moon behind snow clouds;
- snowy rooftops, an onion-domed church, and a town-hall tower whose lit clock shows the real time;
- houses with snow-capped gables, a mansard with dormers, and smoking chimneys;
- warm windows with curtains, silhouettes, wreaths and candle bridges;
- shopfronts with striped awnings and glowing signs: BAKERY, CAFE, TOYS, BOOKS, plus a blinking pharmacy cross;
- a decorated fir tree in the square, garlands across the street, old lantern street lamps;
- snowy pavements and a road with tram rails under an overhead wire.
- Life outside:
- three depths of falling snow in wind gusts, glowing warm near the lamps;
- people in hats and scarves, a child with a sled, people walking dogs or carrying gifts;
- cars throwing snow spray;
- a red-and-cream tram with pantograph sparks and a bell;
- three bullfinches on a snowy branch close to the glass. They flee when the glass is hit nearby and come back later.
- Snowflakes stick to the pane and melt into drops.
- The glass:
- The inside is misted. Dragging wipes it clear, with a droplet rim, drips that run down and a squeak; the mist creeps back over ~40 s.
- Rime frost ferns grow from the edges and corners.
- A peephole and a heart are pre-wiped at start.
- Breaking the glass:
- Any click on the glass that does not become a wipe (allow ~10 px of wobble) breaks it.
- Holding the click first charges a harder hit, shown by a ring that closes around the pointer. A hard hit makes a bigger crack star and knocks out the inner ring of pieces.
- Cracks grow outward, closed pieces fall as rotating shards that shatter into glinting crumbs on the desk, and unsupported islands drop.
- A "Snowball" button (or the B key) makes a child on the pavement throw a snowball. It arcs and grows toward the window, smashes it with a heavy hit, leaves a snow splat that slides and melts, and bursts snow into the room.
- Through the holes the street is seen sharp, snow blows in and settles on the sill and desk, and the wind gets louder.
- A Repair button (or the R key) heals the pane.
- The room:
- Striped wallpaper and a pine garland with twinkling bulbs.
- A brick fireplace with animated flame tongues, embers and sparks; a real-time mantel clock, candles, stockings, and a painting of a snowy cabin.
- A round red rug.
- A desk holding: a potted mini fir, a snow globe, cocoa with steam, gingerbread men, a candle, tangerines, and a knitting basket.
- Pets:
- A ginger tabby cat sits on the desk watching the snow. It follo
Questions
What is this other prompt for?
It is a Claude Opus motion design brief for “Interactive pixel-art winter room with glass-breaking effects”. Paste it into Claude and keep the timings already written in the prompt.
Where is the original film?
The creator is @N1njaCodex. Use View post to open the X video this prompt belongs to.