oneshotlm
Compare all models on this prompt →

Fireworks · aion-2.0

Output generated Cost / run $0.0061 Runtime 35.4s

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

modelaion-2.0
vendorAion Labs
harnesspi-agent
generated2026-08-01

METRICS

runtime35.4s
tokens in5.4k
tokens out2.4k
cached3.5k
cost / run$0.0061
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 will only see the content outside the tags.

Let me build a fireworks display single-page web app. Requirements:
- Full-screen canvas
- Click to launch shells
- Shells explode into particle bursts
- Particles affected by gravity, fading
- All self-contained in index.html

I'll create a nice particle system with:
- Shells launched toward click position
- Explosion creates many particles with random velocities
- Gravity pulls particles down
- Particles fade out over time
- Colorful display

Let me write the full implementation.

→ write /tmp/ws/index.html (6032 bytes)
toolResult

Successfully wrote 6032 bytes to /tmp/ws/index.html

assistant
thinking
I can output tool calls if needed, but must not put the tool calls inside  tags. I must close the current  tags, then output the tool calls, then close the function calls block, and then output the final response.

The file has been written. Let me verify it exists.

The file has been created at `/tmp/ws/index.html`. Here's what it does: - **Full-screen canvas** that resizes with the window - **Click to launch** – click anywhere to fire a shell from the bottom to that point - **Auto-launch** – every ~1.2s a shell fires automatically (up to 8 in flight) - **Shells** rise with a glowing trail and a bright head - **Explosions** produce 80–160 colorful particles with: - **Gravity** pulling them down - **Air drag** slowing them - **Fading life** (decay per particle) - **Glow effects** via `shadowBlur` - **Random palettes** – each burst picks from a vibrant color set - **Secondary white sparks** – about 50% of bursts get extra tiny white particles Open `index.html` in a browser to see the fireworks display.