oneshotlm
Compare all models on this prompt →

Fireworks · gpt-5.1-codex-mini

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 ↗
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
**Planning interactive canvas**

I’m focusing on creating a single index.html file. I need to ensure it’s the only file and includes basic HTML with a fullscreen canvas. The idea is to implement clickable rockets that launch as shells and create simple particles affected by gravity.

I’ll structure the script using requestAnimationFrame for animation. On clicking, the shell will be shot from the bottom center towards the click location. I'll also define how particles decay over time. All of this will come together in my plan for the script and layout.**Crafting shell animation**

I'm updating the animation for the shells, moving them based on velocity and applying gravity. The shells should rise with a negative velocity while gravity is positive. I’m thinking about how frequently to update this, maybe increasing vy by 0.08 each time.

An explosion condition could trigger when vy is greater than zero or when near a target. Upon explosion, I’ll remove the shell and create particles with random velocities and alpha fading. I also need to handle resizing and ensure everything runs smoothly, so I'll write the index file from scratch.
write index.html (4781 bytes)
toolResult

Successfully wrote 4781 bytes to index.html

assistant

Created `index.html` with a full-screen fireworks canvas featuring click-to-launch gravitational particle bursts.

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

modelgpt-5.1-codex-mini
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 partial

Click launches a rocket that explodes into a fading particle burst; keyboard input does nothing, as expected since only click is used.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion0.0%
on click0.5%
on drag0.0%
on wheel0.9%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread4.3 / 255
console errors0
js errors none

METRICS

runtime15.3s
tokens in3.9k
tokens out1.9k
cached2.0k
cost / run$0.0044