oneshotlm
Compare all models on this prompt →

Fireworks · grok-4.6

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
The user wants me to create a single-page web app with a fireworks display. Let me create a beautiful, self-contained index.html with canvas fireworks.

I'll build a self-contained full-screen fireworks canvas with click-to-launch shells and gravity-fading particle bursts.

write /tmp/ws/index.html (10915 bytes)
toolResult

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

assistant
thinking
The file was written successfully. The user asked for a fireworks display on a full-screen canvas. I've created a complete self-contained index.html. Let me give a brief summary.

`index.html` is a full-screen fireworks show — no external assets. - **Click** anywhere to launch a shell toward that point; it rises with a trail and bursts at the apex. - Bursts spawn many particles with gravity, air drag, and fade-out. Types mix: classic scatter, ring, willow, and double-core. - **Space** fires a short volley. Occasional auto-launches keep the sky alive. - Additive blending, starfield, and a faint horizon glow stay fully offline.

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

modelgrok-4.6
vendorxAI · Grok
harnesspi-agent
generated2026-08-13

EVALUATION

4/5 working

Fireworks launch and explode into colorful fading particle bursts with gravity fall-off; click and space/enter trigger launches.

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 motion1.0%
on click0.9%
on drag0.7%
on wheel1.0%
on enter + space4.7%
on arrow keys2.2%
on w/a/s/d0.0%
frame spread11.4 / 255
console errors0
js errors none

METRICS

runtime50.6s
tokens in7.1k
tokens out4.1k
cached256
cost / run$0.0381