# Inkbloom: Walk a Hand-Drawn Valley Back into Paint

> Write five lines (the valley, the walker, the springs, the look before and after) and get a calm 3D game in one offline HTML file. The world starts as a pencil drawing on paper; the ground the traveller walks over blooms into watercolour, and grass and flowers grow up through it. Kneel at five stone springs to wake a circle of colour and one more music layer; wake them all and paint the marked share of the valley before sundown, and the last spring floods everything. The rigged walker, props, both sky panoramas, the paper texture, flora sprites, seven music parts and nine sounds are generated through SandBase; the colour mask, the sketch-to-paint post process, the level plan and the rules are code.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Game creation](https://www.sandbase.ai/skills/games)
- Version: 0.1.0
- Runs online: yes
- Page: https://www.sandbase.ai/skills/games/bloom-world

## What you get

Bring a valley, a traveller, five springs, and the two looks — the drawing it starts as and the paint it becomes; optionally a mood. Write them in English or Chinese. The Skill returns a downloadable Skill (the painterly engine with a post-process colour mask, a budgeted SandBase asset generator with rigging, a spring-and-route level planner, verification) and one playable example with its generated media and billed cost.

## Install

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

```text
/bloom-world make a game where <your walker> paints <your valley> from <a drawing look> into <a paint look>, in a <your mood> mood
```

## How it works

1. **Write the brief** Tell your Agent the valley, the traveller you play, the five stone springs, the look the world starts as (pencil, ink or charcoal) and the paint it becomes (watercolour, gouache or oil). On your machine with Node 22.14.0 the Agent runs node scripts/new-project.mjs --out my-bloom --theme <id> and npm ci, then fills themes/<id>/theme.json. A Chinese brief gives a Chinese game.
2. **Generate the valley and plan the springs** npm run assets prints every SandBase call and its worst-case price and spends nothing until you add --confirm-real: a Claude spec with every name and subtitle, gpt-image panoramas in both looks plus the paper texture and flora sprite sheets, a Tripo walker rigged by Meshy with five clips and seven static props, seven Lyria music parts and nine ElevenLabs sounds. The planner then places the five springs and proves a bot can wake each one and still paint the marked share before sundown.
3. **Walk, kneel and flood the valley** Every step you take turns the drawing underfoot into paint along a ragged, wet edge, and flora grows up through it. Kneel at a spring and a circle of colour blooms out while one more music layer joins. Wake all five and paint the marked share before the sun sets, and the last spring floods the whole valley, the stream flows and an end card shows.

## FAQ

### Which SandBase models does Inkbloom use?

Claude Sonnet writes the spec (title, names, subtitles, palette, both looks and the prompts for everything else); gpt-image makes the painted and sketch panoramas, the paper texture, the flora sprite sheets and the reference images; Tripo turns those into the walker and the props; Meshy rigs the walker with five clips; Lyria writes seven music parts and ElevenLabs nine sounds. Every call is listed with its billed amount in the theme’s CREDITS.json. The built file calls nothing at runtime.

### What if the planner cannot place a spring?

The planner re-rolls the spring positions and the bot route and notes it; if no route can be proven, processing stops with the reason. Changing the level seed or a spring’s position in theme.json is free; otherwise the Agent regenerates only the affected part.

### Does the colour come only from the springs?

No. Every step the walker takes paints the ground, and each woken spring blooms a large circle out from itself. The win needs both: wake all five springs and paint the marked share of the valley before sundown.

### Which languages does the game have?

The interface is in English and Simplified Chinese. The spec writes the names and subtitles in the language of the brief, so the inkbloom example plays in Chinese. The game has music and sounds but no voice acting.

### Why is the demo sandboxed?

The frame has an opaque origin and no network access, so the scene can’t read anything from this page or reach the internet.

### Can I play Inkbloom on a phone?

Yes. A stick on the left moves the walker, dragging on the right turns the camera, and a button wakes a spring; a low-quality mode is available on phones. The headless check drives these controls at 390×844 under touch emulation; it has not been tested on real devices. The file is about 22 MB and needs WebGL 2 and WebAssembly.

### Why is there no online generation?

Building a new scene needs a model key inside the sandbox, which the backend doesn’t support yet. Run the Skill with your own agent for now.

## Examples

- Inkbloom playable painted valley (scene)
- Inkbloom (video)
