# Snow Bridge

> A woodblock-style snow print pulled block by block: a railed footbridge slants across an indigo river toward a lit two-row village, with travellers, a roofed boat and a laden pine bough.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Interactive 3D](https://www.sandbase.ai/skills/interactive-3d)
- Version: 0.1.1
- Runs online: yes
- Page: https://www.sandbase.ai/skills/interactive-3d/snow-bridge

## What you get

Bring a river, a bridge and a village to snow on. The Skill returns a downloadable Skill and a runnable woodblock snow scene.

## Install

Download the Skill package from https://www.sandbase.ai/skills/interactive-3d/snow-bridge (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/snow-bridge build a woodblock-style snow print of <your river, bridge and village>
```

## How it works

1. **Build the bilingual snow print** Snow Bridge needs only npm install, which brings in playwright-core for the checks, then npm run build for a bilingual dist/index.html or npm run build:zh for a Chinese-only print. The page is drawn by Canvas 2D code at a fixed 1400 by 860 sheet, with no image assets and no network requests, and it runs offline in any browser.
2. **Cut and pull five colour plates** The print is cut into five offscreen canvases, sky, water, greys, red and key, each overprinted with a woodgrain tile and composited with small per-plate offsets for misregistration. Keylines in src/print.js are chains of noise-sized dabs that swell and taper. On load the plates are pulled onto the paper one after another in about three seconds, framed by a title cartouche and two seals.
3. **Shoot the plates and verify input** npm run shoot asserts in headless Chrome that the five plates exist and differ, that an ink line varies in width, that snow crests meet their supports, that three snow depths fall at different speeds and that the sky re-inks across hours. It writes dist/shoot-report.json and shoot-print.png. node assets/flurry/scripts/verify.mjs proves five live interactions under the sandbox CSP.

## FAQ

### What does Snow Bridge show?

Snow Bridge shows a woodblock-style winter print: a railed footbridge slanting over an indigo river toward a two-row village of snow-roofed houses with lit windows, under a white peak. A snow-laden pine bough hangs from the top-left corner, travellers cross the bridge, a roofed boat drifts, chimneys smoke and crows pass.

### How do I interact with Snow Bridge?

Snow Bridge responds to a drag across the print by pushing the snowfall, the boat and the bough sideways. Press and hold to rattle the pine bough and release to shake its snow off in falling clumps. Tap a house to light or dim its windows, and use the round seal at the bottom right to turn the hour.

### Does Snow Bridge need a key?

No. Snow Bridge draws every plate, figure and house in code at run time and makes no runtime model call or network request. The checks use playwright-core, and nothing in the scene is billed by SandBase.

### What does the seal button do in Snow Bridge?

Snow Bridge's seal button re-inks the sky plate for morning, overcast, dusk and night and cross-fades the composite. Each window has its own threshold, so lamps come on one by one, and front-row lamps lay reflections on the water.

### Is Snow Bridge a scan of a real print or place?

No. Snow Bridge is procedural block-print rendering; every block, figure and house is drawn in code, and the titles and seals are its own. The village, figures and boat are illustrative, and the scene does not depict a real place.

### Does Snow Bridge fit a phone screen?

Yes, with margins. Snow Bridge renders a fixed 1400 by 860 print scaled to fit and keeps its proportions, so a phone shows it full width with margins above and below. Swiping, holding and tapping work as with a pointer, and reduced motion slows the snow and figures and stops the breeze.

### Can Snow Bridge be captured for a video?

Yes. Snow Bridge exposes window.__scene with script(t), step(n, dt), inspect(), plates(), setMood, flakes(), walkers(), lit() and input hooks such as press, drag and tap. ?capture=1 stops the animation loop for a recorder, and random state is seeded, so a capture repeats exactly.

## Examples

- Snow Bridge woodblock print (scene)
- Flurry over the Footbridge (video)
