oneshotlm
Compare all models on this prompt →

Fireworks · qwen3.5-122b-a10b

Output generated Cost / run $0.0075 Runtime 24.9s

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

modelqwen3.5-122b-a10b
vendorQwen
harnesspi-agent
generated2026-08-01

METRICS

runtime24.9s
tokens in9.4k
tokens out2.4k
cached0
cost / run$0.0075
Transcript · 6 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 me to create a fireworks display web app. Let me break down the requirements:

1. Single-page web app in one self-contained index.html file
2. CSS in a <style> tag, JS in a <script> tag - inline
3. No external resources, CDNs, or network requests
4. Full-screen canvas
5. Clicks launch shells that explode into particle bursts
6. Particles should have gravity and fading effects

Let me write this complete HTML file with all the necessary code.
→ write index.html (8245 bytes)
toolResult

Successfully wrote 8245 bytes to index.html

assistant
thinking
I've created the index.html file with a complete fireworks display. Let me verify it was created successfully.
→ bash {"command":"ls -la index.html"}
toolResult

-rw-r--r--. 1 node node 8245 Aug 1 19:58 index.html

assistant
thinking
The file was created successfully. Let me provide a summary of what I built.

Created `index.html` with a complete fireworks display: **Features:** - Full-screen canvas with dark background - Click anywhere to launch firework shells from the bottom center - Shells leave trails as they rise toward your click location - Explosions create particle bursts with gravity and fading effects - Multiple colorful palettes (reds, purples, greens, blues, multicolors, silver) - Particles have friction, gravity, and gradual alpha decay - Auto-launches fireworks every 2 seconds for continuous display - Smooth animation with trail persistence effect Just open `index.html` in a browser to see the fireworks!