oneshotlm
Compare all models on this prompt →

Fireworks · claude-opus-4.8

Output generated Cost / run $0.0770 Runtime 32.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

modelclaude-opus-4.8
vendorAnthropic · Claude
harnesspi-agent
generated2026-07-08

METRICS

runtime32.9s
tokens in6.9k
tokens out2.5k
cached4.5k
cost / run$0.0770
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
I'll create a self-contained HTML file with an animated fireworks effect.
→ write /workspace/index.html (4623 bytes)
toolResult

Successfully wrote 4623 bytes to /workspace/index.html

assistant

Created `index.html` — a self-contained fireworks display. Features: - **Full-screen canvas** that resizes with the window - **Click/tap anywhere** launches a shell from the bottom toward that point - Shells arc up with a glowing trail, then **explode at apex** into 60–130 particles - Particles are **gravity-affected**, decelerate with drag, and **fade out** over their lifetime - Additive blending (`lighter`) for bright, glowing bursts; some explosions are multi-colored - Ambient auto-launches keep the sky active, and the hint fades on first click Open the file in any browser — no network or external resources needed.