Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Koi Basin

Twelve koi in a basin under noon light. Towed-chain spines with wander, soft walls and pursuit steering; tap scatters them, hold scatters pellets.

Örnek

Koi Basin noon pond
Yeni sekmede aç

Koi Basin noon pond

Örnek, bu sayfaya erişimi olmayan sandbox'lanmış bir çerçevede çalışır.

Çevrimiçi çalıştır

Bir SandBase sandbox'ında çalıştırın ve sonuçlarınızı Lab'de görüntüleyin.

Lab'de aç ↗

Neler elde edersiniz

Bring a basin and the koi to swim in it. The Skill returns a downloadable Skill and a runnable koi basin.

Nasıl çalışır

  1. 01

    Pick a pond theme

    Koi Basin is a top-down noon pond with twelve koi in kohaku, showa, ogon and tancho patterns cruising between two stones and a lily pad. An English brief and the lantern-zh Chinese brief set the copy. A prompt such as 'Use koi-basin to build a schooling-fish pond on a temple courtyard theme' tells your agent what to restyle.

  2. 02

    Steer the towed-chain fish

    Each fish is a head towing a 14-node chain, every node held one segment behind its predecessor, with a 12-knot width profile and a lateral swimming wave. Steering sums Ornstein-Uhlenbeck wander, soft walls, stone and neighbour repulsion, pellet pursuit with swirl and pointer following. Tap scatters the school, holding drops food, and dragging lures the nearest fish.

  3. 03

    Build and check the mechanism

    npm run build writes one offline dist/index.html and npm run build:zh the Chinese version, with no assets or network. npm run shoot asserts the mechanism rather than pixels: the width profile at all 12 knots, spine spacing within 1e-5, a tap scattering fish and opening ripples, a pellet eaten and a follower picked. Version 0.1.1 passed 12 of 12.

SSS

What can I do in Koi Basin?

Koi Basin lets you tap the water to send a ripple and scatter the fish, hold to scatter food pellets they chase with a swirl, and drag so the nearest koi follows your pointer. Idle fish also gulp at the surface every so often. Touch uses the same gestures on a phone.

How does Koi Basin make the fish swim?

Koi Basin drags each of 14 spine nodes to sit exactly one segment behind the one before, so the body trails the head like a chain with no joint physics. A sine wave across the width adds the swimming motion, and a speed envelope ramps thrust in fast modes and kicks again when cruising slows.

Are the Koi Basin caustics animated by a shader?

No. Koi Basin bakes its caustics under the noon light, so the surface shimmers without running a shader loop. Everything else, including fish patterns, stones and the lily pad, is drawn procedurally with no image files.

Does Koi Basin need a model or network access?

No. Koi Basin sends all randomness through one seeded generator per pond and runs from a single local HTML file, so it never reaches a model and nothing is billed. The headless check runs in Chrome with zero network requests.

Can I change the number of koi in Koi Basin?

Koi Basin ships with twelve fish and fourteen spine segments each, as recorded in the release facts. Changing the count is a source edit, and the verification asserts that all twelve settle inside the basin, so that check would need updating too.

Lab Yetenek · 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.

Lab Yetenek · 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.

Lab Yetenek · 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.

Lab Yetenek · 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.

Lab Yetenek · 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.

Lab Yetenek · 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.