Raked Gravel Court
- Lab 스킬
- v0.1.0
- Interactive 3D
A walled court of white gravel under a ginkgo, seen from a timber eave and drawn as crisp pixels, where every groove is relit in hard light bands from its own slope and the stones turn their shadows from dawn to night; drag to rake new grooves, tap a stone to ring it, let rain soften the bed.
예시
Raked Gravel Court scene
이 예시는 이 페이지에 접근할 수 없는 샌드박스 프레임에서 실행됩니다.
온라인에서 실행
SandBase sandbox에서 실행하고 결과를 Lab에서 확인하세요.
Lab에서 열기 ↗얻을 수 있는 것
Bring the court layout, stones, tree, colours and copy for your garden. The Skill returns a downloadable Skill and a runnable gravel-court scene.
작동 방식
- 01
Write the court briefs
Each brief in assets/briefs/ holds the copy, the four hour names, the readout format, the starting hour, the palette and the court itself: rows or waves for the bed, the tree position and kind (ginkgo fan or plum blossom), the lantern positions, the stones with their size, height and lumps, and the stepping stones. The bundled English brief is an autumn court under a ginkgo; the Chinese brief is a dusk court under a plum. A new brief needs no code change. You might tell your Agent: "Use raked-gravel-court to make a moonlit court with three tall stones and no lanterns."
- 02
Build one offline page
npm run build inlines src/court.js and both briefs into dist/index.html, about 70 KB. ?lang=en or ?lang=zh-CN picks the brief. Every surface is a heightfield on a 448 × 300 grid, projected once into a lookup table and drawn into a 448 × 252 pixel buffer scaled up crisp. The grooves are a second field on top of the gravel, so each pixel takes its light from the slope of both, in five hard bands. Shadows are ray-marched toward the sun in slices across frames. There are no images or network requests, no API key and no model calls.
- 03
Check the court before you ship
npm install brings in playwright-core, then npm run shoot drives the page frame by frame in headless Chrome with the network blocked. It runs 44 checks: the bed opens raked with the grooves visible as light bands, a real mouse drag rewrites the bed and counts one stroke, a tap rings a stone, each hour reaches its light and rebuilds the shadows, rain wets and softens the bed and drying reverses it, raking it fresh restores it, keys work, reduced motion opens still, and at 360, 390 and 768 px wide in both languages no two controls overlap.
FAQ
Does Raked Gravel Court need an API key?
No. Raked Gravel Court is a single offline HTML page drawn with Canvas 2D, so it needs no API key and makes no model or network calls, before or after it is built. Node.js is only needed to run the build script, and playwright-core with a local Chrome only for the bundled browser checks.
Does raking really move the gravel?
No. Raked Gravel Court treats a groove as a height offset on the bed, not as moved material. Raking rewrites that offset under the five tines, so it never piles gravel up, and rain only flattens the grooves toward their local mean. The lighting, though, comes from the real slope of every groove.
Can I change the stones and the tree?
Yes. The stones, stepping stones, lanterns and tree live in the brief. Each stone sets its position, radius, height and number of lumps, and the tree can be a ginkgo or a plum in blossom. Copy one of the two bundled briefs, edit it and pass its name to scripts/build.mjs.
Does Raked Gravel Court work on a phone?
Yes. Raked Gravel Court answers touch the same way as a mouse: drag to rake and tap a stone to ring it. Portrait phones get a taller stage that crops the sides of the court, and the bar wraps under it. The checks ran at 360, 390 and 768 px wide under emulation, not on real devices.
Does Raked Gravel Court make sound?
Only when you switch it on. Raked Gravel Court starts silent. With sound on, a soft noise bed follows the rake speed, and the rain, the ring sweep round a stone and night insects each have their own layer. The sound was checked in code, not by ear.
더 많은 Skills
모든 Interactive 3D Skills →
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.

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.

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.

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.

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.

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.

