Build HTML gallery player
sprite_galleryGenerates a self-contained HTML animation player with inline PNG frames, playback controls, onion skin, zoom, palette swatches, and frame tags for offline or sandboxed preview.
Instructions
Write a fully self-contained HTML animation player (inline base64 PNGs, playback controls, onion skin, zoom, palette swatches, frame tags). Works offline and in a sandboxed preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | ||
| name | No | File name (default '<project>_gallery.html'). | |
| scale | No | ||
| title | No | ||
| project | No | Project id. Omit to use the active project. | |
| background | No |