Fireworks · kimi-k2.7-code
Create a fireworks display on a full-screen canvas where clicks launch shells that explode into gravity-affected, fading particle bursts.
transcript · 4 messages
Create a fireworks display on a full-screen canvas where clicks launch shells that explode into gravity-affected, fading particle bursts.
thinking
The user wants a single-page web app with a full-screen fireworks display. The app is in `/workspace` and must be named `index.html`, with all CSS and JS inline, no external resources. Plan: 1. Create `<!DOCTYPE html>` with `<style>` and `<script>`. 2. Canvas full window, dark background. 3. Firework shell launched on click from bottom center to click position with slight arc/ease. 4. On reaching target, explode into particles affected by gravity and friction, fading out. 5. Loop animation. Need to write file. Use write tool.
/workspace/index.html (5198 bytes)Successfully wrote 5198 bytes to /workspace/index.html
Created `/workspace/index.html` with a full-screen fireworks display. - Click (or touch) anywhere to launch a shell from the bottom center. - Shells explode at the click point into colored particles. - Particles are affected by gravity, friction, and fade out over time. - Shells leave a fading trail as they ascend. - Fully self-contained: no external files, CDNs, or network requests.
TAKE IT TO CODE
A single self-contained HTML file — copy it and open in any browser, or reuse the prompt with your own pi-agent run.
RUN
EVALUATION
Click and drag launch fireworks that explode into fading particle bursts with trailing streaks; keyboard input has no effect.
Vision grade · anthropic/claude-sonnet-5
MEASUREMENTS
Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.