oneshotlm
Compare all models on this prompt →

Fireworks · kimi-k2.7-code

Output generated Cost / run $0.0082 Runtime 157.2s

Prompt for this run

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 ↗

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

METRICS

runtime157.2s
tokens in4.1k
tokens out1.9k
cached2.2k
cost / run$0.0082
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.