Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Harvest Map: Valley Harvest

Zoom across a valley of crop fields where markers spring apart, the legend counts what is in view and search ranks where each crop grows.

例

Harvest Map interactive crop field map
新しいタブで開く

Harvest Map interactive crop field map

この例はサンドボックス化されたフレームで実行され、このページにはアクセスできません。

オンラインで実行

SandBase sandbox で実行し、結果を Lab で確認できます。

Lab で開く ↗

得られるもの

Bring a region, its crops with colours and harvest months, place names and an optional palette. The Skill returns a downloadable Skill, an interactive demo and an example video.

仕組み

  1. 01

    Describe and edit the valley

    Start from the bundled valley of a few thousand invented crop fields, or describe your own in the prompt slots. The outline, river, grid, crops, districts, towns, palette and cover sequence live in src/valley.json; the field partition, counts, marker tiers, springs and search live in src/fields.mjs, shared by the page and its tests. A second example, delta orchards, runs on the same code.

  2. 02

    Build the offline file

    With Node 22.4 or newer, run npm ci and npm run build:single to produce dist-single/index.html, one offline file that needs no keys, model calls, map tiles, external assets or storage. Invalid valley data fails with a stable valley_* code, and the page reports a canvas startup failure instead of a blank map.

  3. 03

    Verify and explore

    npm run shoot runs the logic and browser checks. Then explore it: drag to pan, wheel or pinch to zoom, hover a crop in the legend to fade the others and click a field for its card. Far out, district markers spring apart so none overlap; closer, cluster markers pop out; closest, only the fields remain, and the legend counts what is in view.

FAQ

Does Harvest Map need a model key?

No. Harvest Map draws its valley from a local JSON file in an offline canvas, so it needs no API key and calls no model. Harvest Map needs no keys, model calls, map tiles, external assets or storage. A missing Chrome stops only the screenshot checks, and a missing Node 22.4 or npm dependencies stops the build. Sound starts muted.

Is the Harvest Map data real?

No. The Harvest Map sample valley, its fields, crops and towns are invented. references/method.md explains how to bring your own field polygons and what to check about their licence before you publish a map built from them. Keep the crop names, field areas and towns consistent with your own source data.

Why do Harvest Map markers move when I zoom?

In Harvest Map markers that would overlap push each other apart on springs and then settle. As you zoom in, the space grows and they return to their fields. Zoom tiers decide what you see: district markers far out, cluster markers closer, and individual fields closest.

Is Harvest Map accessible?

Harvest Map is designed toward WCAG 2.2 AA: a focusable map with keyboard pan, zoom and field focus, visible focus, a legend of labelled buttons, a card dialog and a live text summary. Full conformance still needs testing with assistive technologies and expert review.

Can Harvest Map be embedded?

Yes. A 345 by 345 Harvest Map embed keeps only the map and a one-row strip, and search and the legend open as drawers. Keyboard controls work there too: arrow keys pan, plus and minus zoom, 0 resets, square brackets step through fields in view and Enter opens a card.

Lab Skill · Video

Science MV

Explain science through visible causes, transformations and results.

Lab Skill · Video

Loop Story

Explain a cycle: build each stage, close the loop, then reveal the takeaway.

Lab Skill · Interactive scenes

Flux Rotor: Cobalt Drive

Inspect an original motor with real winding groups, alternating magnet sectors and a keyed shaft. Balanced phase currents drive prescribed synchronous rotation, material colors and spatial harmonic markers. Open the actual cutaway and separate six components offline. This display does not solve torque, efficiency or magnetic finite elements.

Lab Skill · Interactive scenes

Voxel Paddock: Mint Apex

Inspect an original open-wheel vehicle built from procedural cubes. Spin actual wheels on a stationary display, turn nominal geometric steering and separate twelve component groups. Edit bounded dimensions, voxel density and three palettes offline. This is not a driving or aerodynamics simulation.

Lab Skill · Interactive scenes

River Era: Valley Years

Scrub an authored river settlement timeline from camp and farms to town, workshops and speculative towers. Actual seeded geometry changes reversibly; boats and vehicles follow the same river and bank equations. This is an illustrative sequence rather than predictive history.

Lab Skill · Interactive scenes

3D Mechanical Watch Explorer

Inspect a kinematic mechanical watch with actual meshed tooth ratios, 54 components, axial explosion, material cutaway and bilingual mouse/touch controls. One offline HTML with optional synthesized tones.