# 3D Voxel Creature Flight

> Explore a procedural voxel dragon circling a crimson pagoda, with articulated wings and a live orbit camera.

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

## What you get

Bring a creature, a sanctuary and an optional palette. The Skill returns a downloadable scene Skill, interactive demos and example videos.

## Install

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

```text
/voxel-temple-flight create <your creature> circling <your sanctuary>, with authored procedural voxels and bilingual interactive controls
```

## How it works

1. **Describe the sanctuary** Start from the bundled Jade Sanctuary, a jade dragon coiling around a five-tier crimson pagoda with cherry trees, water channels and stone steps, or describe your own creature, sanctuary and palette in the prompt slots. fill-prompt.mjs writes prompt.md and new-project.mjs creates the project for your coding agent. Every object is generated from code in src/main.ts.
2. **Build the offline file** Run npm ci and npm run build:single in the project to produce dist-single/index.html, one offline file plus English and Chinese verification reports. The dragon's body moves as a continuous chain of voxel cross-sections and its wings beat at articulated joints. The page needs hardware acceleration; low quality reduces the moving chain and disables shadow maps.
3. **Verify and explore** npm run shoot proves the controls with real mouse and touch actions, before-and-after state and pixel differences, in both languages, on desktop, mobile and a 345 by 345 embed, with reduced motion and the offline policy. Then drag to orbit, zoom, pause the flight, change its speed, stop the wingbeats, switch daylight and dusk or reset the camera.

## FAQ

### Does Voxel Temple Flight need a model key?

No. Voxel Temple Flight generates its voxels, colours and movement in the browser from source code, so the finished scene needs no model key and no runtime network. Development installs pinned npm dependencies once, and a missing Chrome stops only the screenshot verification.

### Can I change the Voxel Temple Flight theme?

Yes. In Voxel Temple Flight the creature, sanctuary and palette are prompt slots, and all geometry is editable source in src/main.ts, including the creature's chain and the pagoda tiers. Rebuild and re-run the screenshot checks after any change, because the verification compares real geometry and pixels.

### Is the Voxel Temple Flight dragon physically simulated?

No. The Voxel Temple Flight dragon follows an authored procedural path, and its wings beat on articulated joints; it is not an aerodynamics model. Reduced motion starts the scene paused, and the flight speed and wingbeats can be changed or stopped from the controls, so you can study the pose at any moment.

### Does Voxel Temple Flight download models or textures?

No. Voxel Temple Flight downloads no models or textures: every voxel, colour and movement is generated in the browser. Optional tones are synthesized after a gesture and start muted, and a missing WebGL context shows a localized failure message instead of a blank page.

### Can Voxel Temple Flight export video?

Yes. Voxel Temple Flight follows a deterministic capture contract, so the included recorder can render the scene to video with the same frames every time. The same commands can also run in a SandBase Sandbox, where the maintainer build runs without credentials on a loopback server.

## Examples

- Voxel Temple Flight interactive diorama (scene)
- Sunset sanctuary (scene)
- Jade Sanctuary (video)
- Sunset sanctuary (video)
