oneshotlm
Compare all models on this prompt →

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.

⛨ sandboxed Open in new tab ↗
transcript · 4 messages
user

Create a fireworks display on a full-screen canvas where clicks launch shells that explode into gravity-affected, fading particle bursts.

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

write /workspace/index.html (5198 bytes)
toolResult

Successfully wrote 5198 bytes to /workspace/index.html

assistant

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

modelkimi-k2.7-code
vendorMoonshot · Kimi
harnesspi-agent
generated2026-07-08

EVALUATION

3/5 working

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.

idle motion0.0%
on click1.3%
on drag0.9%
on wheel0.0%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread5.4 / 255
console errors0
js errors none

METRICS

runtime157.2s
tokens in1.9k
tokens out1.9k
cached2.2k
cost / run$0.0082