oneshotlm
Compare all models on this prompt →

Fireworks · glm-5.3

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

modelglm-5.3
vendorZ.ai · GLM
harnesspi-agent
generated2026-08-27

METRICS

runtime31.4s
tokens in5.1k
tokens out2.3k
cached1.4k
cost / run$0.0158
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
→ write index.html (6547 bytes)
toolResult

Successfully wrote 6547 bytes to index.html

assistant

Done — `index.html` contains the full fireworks display. Features: - **Click to launch**: a shell arcs up from the bottom toward your click point and explodes near apex - **Gravity-affected particles**: sparks decelerate with drag, fall under gravity, and fade with per-particle flicker and motion-trail streaks - **Burst variety**: spherical, ring, and double-hue double-burst shells in random colors - **Explosion flashes**, glowing shell trails, and a twinkling starfield backdrop - **Spacebar** fires a staggered random barrage; idle auto-shows occasionally - Fully self-contained, no network or external assets