Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Suminagashi Tray

A tray of still water for floating ink. Every drop is a closed outline whose vertices push one another radially; pull a stylus or comb through and vertices slide along.

示例

Suminagashi Tray
在新标签页中打开

Suminagashi Tray

该示例在沙盒化的框架中运行,无法访问此页面。

在线运行

在 SandBase sandbox 中运行,并在 Lab 中查看结果。

在 Lab 中打开 ↗

你将获得什么

Bring a tray and the ink to float. The Skill returns a downloadable Skill and a runnable ink tray.

工作原理

  1. 01

    Build the floating-ink tray

    Suminagashi Tray builds with npm run build into dist/index.html for the English brief, or npm run build:zh for the cloudveil-zh brief. The page is fully procedural, with no assets and no network, and shows a wooden tray of still water at a small workshop. Open the file directly in a browser; nothing else is installed or called.

  2. 02

    Drop, comb and fan the ink

    Tap drops ink as a closed ring of 260 or more vertices that shoves every other ring outward, and holding swells it. Dragging pulls a stylus or comb, so vertices slide along the stroke. Keys 1 to 5 pick inks, S and C switch tools, F waves a divergence-free fan, P pulls a print and K skims the water.

  3. 03

    Pull a print and verify

    A print mirrors the drops onto seeded deckled paper with fibre speckle and a workshop chop, and leaves a pale ghost on the water. npm run shoot builds, serves and checks the page in headless Chrome with zero network: neighbour push, nested rings, stylus and comb displacement, fan gyre, segment resampling, print ghosting and skim. All 12 checks passed.

常见问题

What is Suminagashi Tray?

Suminagashi Tray is an interactive floating-ink scene. You tap to drop colour on still water, hold to swell it, drag a stylus or comb to streak it, wave a fan to swirl the whole sheet and pull a print onto deckled paper. A pale ghost of the pattern stays on the water afterwards.

Is the Suminagashi Tray marbling a fluid simulation?

No. Suminagashi Tray models ink as closed outlines that push one another radially, not as a fluid. A new drop displaces every vertex by a formula based on its area, so near rings bend and far rings slide. Tools slide vertices along the stroke, and the fan is a curl field that rotates the sheet without growing any ring.

Does Suminagashi Tray need a key or network?

No. Suminagashi Tray ships as one offline dist/index.html with no assets, no network and no model calls. Every ink, print and caustic pattern is computed in the browser, so nothing in it is billed.

Why don't stacked drops mix in Suminagashi Tray?

Suminagashi Tray keeps a skip list: a drop born inside a still-swelling ring is exempt from that ring's next pushes, so it rides the ring instead of teleporting. That is why inks stack into nested rings rather than mixing.

Does Suminagashi Tray slow down when the tray fills up?

Suminagashi Tray resamples every outline, splitting stretched segments and merging crowded vertices with a maximum length scaled to the total vertex count, so a full tray stays responsive. The shoot check confirms segments stay at or under 4.5 px after hard pulls.

What does a Suminagashi Tray print capture?

Suminagashi Tray's print samples the current drops mirrored, as a lifted sheet would be, onto seeded deckled paper with fibre speckle and a chop. In the verification run the print produced a 249 KB image, and the pulled tray is redrawn pale beneath any new drops.

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