Wheat Before Rain
- Lab Skill
- v0.1.1
- Interactive 3D
An upland wheat field under a building storm: gust fronts roll across thousands of painted stalks as bands of light and shade, and the crop parts and flattens under your hand.
ตัวอย่าง
Wheat Before Rain storm field
ตัวอย่างนี้ทำงานในเฟรมแบบ sandbox ที่ไม่มีสิทธิ์เข้าถึงหน้านี้
รันออนไลน์
รันใน SandBase sandbox และดูผลลัพธ์ของคุณใน Lab
เปิดใน Lab ↗สิ่งที่คุณจะได้รับ
Bring a field, a sky and the weather to move through it. The Skill returns a downloadable Skill and a runnable wind-in-wheat scene.
วิธีการทำงาน
- 01
Build the storm-field page
Wheat Before Rain builds with npm install, which brings playwright-core for the checks only, then npm run build for a bilingual dist/index.html or npm run build:zh for the squall-zh Chinese brief. The page is Canvas 2D drawn by code with no image assets or network requests: a ripe upland wheat field under layered storm cloud, with an oak, telegraph poles, swallows, a hedge and a farmhouse.
- 02
Drive stalks from a wind grid
A coarse perspective wind grid in src/field.js carries gust fronts that pale the crop ahead and darken it behind. Each stalk is a damped spring whose tip chases the sampled wind. Drag to comb the crop, flick or press G to throw a squall uphill, hold to part the ears and tap or press L to flush a skylark. A 180 second weather loop runs six turns.
- 03
Shoot the wind and verify
npm run shoot asserts in headless Chrome with the network blocked that grid rows densify toward the horizon, a front is pale ahead and dark behind, a squall travels and expires, a puff decays, stalk bend rises under a gust and tone varies across the field. It writes dist/shoot-report.json and shoot-field.png. verify.mjs then proves five live interactions under the sandbox CSP.
คำถามที่พบบ่อย
What does Wheat Before Rain show?
Wheat Before Rain shows a ripe wheat field under a building storm, with poppies and cornflowers in the crop, a lone oak, swallows on telegraph wires, a rain shaft and light breaking through cloud. Gust fronts roll across the crop as moving bands of light and shade from the first second, and your pointer adds squalls of its own.
Is the wind in Wheat Before Rain simulated?
Yes. Wheat Before Rain moves gust fronts and pointer squalls across a perspective wind grid, and each stalk is a spring that leans with the wind sampled where it stands. The far and middle crop are baked into depth strips sheared by the wind, so they sway in bands; only the nearest rows are drawn stalk by stalk.
Does Wheat Before Rain need a key?
No. Wheat Before Rain draws the field, sky and birds in code with no runtime model calls, image assets or network requests. playwright-core is installed only for the headless checks, so the scene carries no SandBase charge.
What changes the sky in Wheat Before Rain?
Wheat Before Rain runs a fixed 180 second weather loop of six turns, from calm through gusts, rain and thunder to clearing. The chip at the top left names the current turn and hurries the sky to the next one. The weather is a loop, not a forecast, and the landscape is illustrative.
How fast does Wheat Before Rain run?
Wheat Before Rain ran near 45 to 55 fps full-screen at 1600 by 900 in headless Chrome without a GPU, after dropping to a coarser backing store in its first frames. Capture mode, set with ?capture=1, keeps full resolution and lets a recorder drive frames through window.__scene.
Does Wheat Before Rain work on a phone?
Yes. Wheat Before Rain responds to swiping, holding and tapping the same way as to a pointer. With reduced motion turned on, the gust fronts and rain stop and only a light breeze stays.
Skills เพิ่มเติม
Skills ทั้งหมดสำหรับ Interactive 3D →
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.

