oneshotlm
Compare all models on this prompt →

Fireworks · granite-4.1-8b

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

modelgranite-4.1-8b
vendorIBM · Granite
harnesspi-agent
generated2026-08-01

METRICS

runtime8.9s
tokens in4.2k
tokens out946
cached3.2k
cost / run$0.0003
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 (2568 bytes)
toolResult

Successfully wrote 2568 bytes to index.html

assistant

The single‑page web app has been created and saved as **index.html** in the current directory. This HTML file contains all the CSS in a `<style>` tag and the JavaScript (handling canvas drawing, particle physics with gravity, fading, and click‑to‑launch fireworks) within a `<script>` tag, requiring no external resources. You can open `index.html` in any web browser to see the full‑screen fireworks display. Enjoy!