oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · gpt-5.6-sol

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
thinking
**Considering project requirements**

I need to create a robust, responsive design that focuses on cursor-centered zoom and smooth coloring. Implementing an overlay for controls could be useful, even if not specifically requested. I think keeping everything in one file would streamline the process. I'm also considering whether a keyboard reset function might be necessary. Okay, let's start writing this out to make it all come together!
write /tmp/ws/index.html (7480 bytes)
toolResult

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

assistant

Created `index.html` with a full-screen interactive Mandelbrot explorer featuring: - Smooth gradient coloring - Click-and-drag panning - Mouse-wheel zoom centered on the cursor - Double-click quick zoom - Reset view button - Responsive, high-resolution rendering - No external resources or network requests

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-5.6-sol
vendorOpenAI
harnesspi-agent
generated2026-08-03

EVALUATION

4/5 working

Mandelbrot set viewer responds to drag (pan) and wheel (zoom), but keyboard input has no effect.

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 drag21.3%
on wheel7.7%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread19.6 / 255
console errors0
js errors none

METRICS

runtime36.4s
tokens in4.9k
tokens out2.7k
cached2.3k
cost / run$0.0993