# 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.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Interactive 3D](https://www.sandbase.ai/skills/interactive-3d)
- Version: 0.1.2
- Runs online: yes
- Page: https://www.sandbase.ai/skills/interactive-3d/suminagashi-tray

## What you get

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

## Install

Download the Skill package from https://www.sandbase.ai/skills/interactive-3d/suminagashi-tray (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/suminagashi-tray float <your ink> on a still tray with <your tools>
```

## How it works

1. **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. **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. **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.

## FAQ

### 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.

## Examples

- Suminagashi Tray (scene)
- The Stillwater Tray (video)
