oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · gpt-4.1-mini

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 ↗
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 (5003 bytes)
toolResult

Successfully wrote 5003 bytes to index.html

assistant

I have created a full-screen Mandelbrot set viewer in a single HTML file named index.html. It uses a smooth color gradient and supports click-and-drag panning and mouse-wheel zoom, all rendered on a canvas. You can open this file in any modern browser to interact with the Mandelbrot set.

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-4.1-mini
vendorOpenAI
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Mandelbrot set renders with blue/magenta gradient; drag pans and wheel zooms correctly, but color palette is flat and not very smooth.

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.0%
on drag33.1%
on wheel9.0%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread17.3 / 255
console errors0
js errors none

METRICS

runtime23.6s
tokens in4.1k
tokens out1.8k
cached1.0k
cost / run$0.0042