oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · gpt-4o-mini-2024-07-18

Output generated Cost / run $0.0009 Runtime 14.9s

Prompt for this run

Render the Mandelbrot set with a smooth color gradient on a full-screen canvas, with click-and-drag to pan and mouse-wheel to zoom.

⛨ 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

modelgpt-4o-mini-2024-07-18
vendorOpenAI
harnesspi-agent
generated2026-08-01

METRICS

runtime14.9s
tokens in3.3k
tokens out1.0k
cached2.0k
cost / run$0.0009
Transcript · 4 messages
user

Render the Mandelbrot set with a smooth color gradient on a full-screen canvas, with click-and-drag to pan and mouse-wheel to zoom.

assistant
→ write index.html (3450 bytes)
toolResult

Successfully wrote 3450 bytes to index.html

assistant

The Mandelbrot set has been rendered and the entire code is written into a self-contained `index.html` file. You can find it in the current directory.