Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

3D Rainy Night Storefronts

A live 3D street-corner store on a rainy night in your browser: wet reflections, puddle ripples, a warm interior, a sliding door, lights and sound.

Przykłady · 2

Rain Night Store interactive demo
Otwórz w nowej karcie

Działa w odizolowanej ramce bez dostępu do tej strony.

Uruchom online

Uruchom w sandboxie SandBase i zobacz wyniki w Lab.

Otwórz w Lab ↗

Co otrzymasz

Bring a store, the weather and optionally the street, props and sounds. The Skill returns a downloadable Skill (meta prompt, lessons, verification) and a runnable reference scene.

Jak to działa

  1. 01

    Fill the store and weather slots

    Rain Night Store takes a slots file with two required values, store and weather, plus optional street, props, palette, interaction, sounds and extraPrompt, each up to 2000 characters. Run node scripts/fill-prompt.mjs --slots slots.json --lang en --out prompt.md, then hand the prompt and any reference image to your coding agent. The Moonbean 24 example ships its slots in assets/prompts/examples/moonbean-corner.json.

  2. 02

    Rework the reference corner locally

    new-project copies a three.js reference app with the store shell, canvas-drawn sign, instanced shelf products, street furniture, wet ground with a planar mirror and ripple shader, rain, night sky and synthesized sound. It runs on your machine after npm ci pulls pinned packages from the public npm registry. The agent edits textures.ts for the brand, config.ts for the layout and Props.tsx or Street.tsx for the props.

  3. 03

    Shoot, build and deliver

    Between npm run dev and npm run build:single the agent runs npm run shoot -- --file dist-single/index.html in local Chrome and compares its beat screenshots with the reference. The result is dist-single/index.html, one self-contained page with no network and no storage. The headless record checks console errors, CSP violations, door, lights, rain and splash interactions, colour balance, audio state and frame rate.

FAQ

What does Rain Night Store build?

Rain Night Store builds a playable 3D street corner at night: a lit shop with shelves and fridges, vending machines, bikes, a lamp and a crosswalk under rain. Visitors drag to orbit, press R for heavy rain, click the door or press D for a sliding door with a two-note chime, press L to flicker the lights and click a puddle to splash it.

Does Rain Night Store need an API key or a paid model?

No. Rain Night Store calls no model and no network service; a coding agent edits the reference scene on your own machine. The only download is the pinned npm packages that npm ci fetches from the public registry, so building a store does not run up SandBase usage.

Is the rain in Rain Night Store a real water simulation?

No. Rain Night Store draws streaks in a vertex shader and puddle ripples as rings in the ground shader. Drops do not collide with props or run down the glass, and water does not flow or pool. Reflections come from one planar mirror of the ground on the high tier, so vertical glass does not mirror the street exactly.

Can I change the shop name and logo in Rain Night Store?

Yes. Rain Night Store draws its signage on canvases, so the agent edits signTexture, box24Texture, pylonTexture and drawGlyph in src/components/textures.ts to show any text or shape. No image files are needed.

Does the Rain Night Store scene run on phones?

Rain Night Store switches phones to a low tier with streak reflections, fewer drops and products, no shadows and on-screen buttons for rain and lights. That tier was checked under headless touch emulation only, not on real devices. Desktop browsers get the planar mirror, shadows and the full shelf of products.

What does Rain Night Store need to verify a build?

Rain Night Store's shoot and record scripts need Node 22.4 or newer and a local Chrome, and record also needs ffmpeg. Headless capture carries no audio, so you listen to the rain, traffic hum and door chime yourself. The build embeds THIRD_PARTY_NOTICES.txt as an HTML comment in the head, which must not be stripped.

Umiejętność Lab · Interactive scenes

Resin Diorama

Live 3D resin-block dioramas in your browser: send a little tram across a clear turquoise sea, or ripple the bay of a cliff island. Synthesized sound, and every scene can be tuned.

Umiejętność Lab · Interactive scenes

3D Vehicle Worlds

Explore interactive 3D vehicle worlds in your browser, with varied terrain, camera controls and driving effects. Choose a playable example to begin.

Umiejętność Lab · Interactive scenes

3D Firefly Terrariums

Turn a thick glass miniature, scatter glowing fireflies and open its brass lid. Actual particles leave through the neck and return before it seals. A moonlit cabin, forest and real local lights in one offline HTML.

Umiejętność Lab · Interactive scenes

Jelly Candy: Fruit Bears

Six translucent fruit gummies on a white table. Grab any part and pull, lift a head until the neck stretches thin, press one flat until it springs back, flick one across the pile or pour in more. Fixed-step soft-body physics and a marching-cubes skin in one offline HTML.

Umiejętność Lab · Interactive scenes

WebGPU Soft-Body Gummy Bears

Four translucent gummy bears on an ivory floor, rendered with native WebGPU. A deterministic 36-second choreography stretches, presses, flips and tumbles them before they settle back to the exact rest pose. Drag any bear to stretch, squish or toss it. A fixed-step tetrahedral XPBD solver in one offline HTML.

Umiejętność Lab · Interactive scenes

Stone Stars: 3D Miniature Landmark City

Turn a city into a storybook 3D island around one landmark, with chapters, a daylight-to-starlight slider, street life and a matching scored 24-second film. Sample: a Gaudí-style basilica.