oneshotlm
Compare all models on this prompt →

Fireworks · claude-sonnet-5.5

Output generated Cost / run $0.0487 Runtime 25.3s

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-sonnet-5.5
vendorAnthropic · Claude
harnesspi 0.87.1 · browser iteration
generated2026-10-05

METRICS

runtime25.3s
tokens in20k
tokens out2.2k
cached9.4k
cost / run$0.0487
Transcript · 8 messages
system

user

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

assistant
→ write /tmp/job-oaO4Bb/index.html (2996 bytes)
→ browser {"action":"click","x":600,"y":250}
toolResult

Successfully wrote to /tmp/job-oaO4Bb/index.html

toolResult

Frame 1, +0ms

[Browser image supplied to model]

{"console":["warning: An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing."],"dom":"Click anywhere to launch a firework","images":"attached"}

assistant

Shell launches. Check the burst.

→ browser {"action":"motion"}
toolResult

Frame 1, +0ms

[Browser image supplied to model]

Frame 2, +561ms

[Browser image supplied to model]

Frame 3, +1118ms

[Browser image supplied to model]

Frame 4, +1667ms

[Browser image supplied to model]

{"console":["warning: An iframe which has both allow-scripts and allow-same-origin for its sandbox attribute can escape its sandboxing."],"dom":"Click anywhere to launch a firework","images":"attached"}

assistant

I built the fireworks display in `/tmp/job-oaO4Bb/index.html`. I clicked once and watched the result in a short frame capture: the shell launches, explodes, and fades, with no console errors. Each click launches a shell from near the bottom centre. It rises to the point you clicked and bursts there. Bursts come in four shapes (sphere, ring, random scatter, star-like) in one colour or several. The particles fall under gravity, leave trails and fade out. - **Auto-launch:** random shells also go up on their own every so often. Spacebar turns that on and off. - **Capture quirk:** some captured frames showed the burst unevenly (a faint ring in one, nothing but a streak in another). That looks like the capture catching different moments rather than a bug. I didn't test other shapes, repeated clicks or resizing the window.