oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · seed-2-1-turbo

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
The user wants a single-page Mandelbrot set web app with smooth full-screen canvas gradient and click-drag pan.Add mouse-wheel zoom, output single-file app, create it now.
write /tmp/ws/index.html (8202 bytes)
toolResult

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

assistant
thinking
File written, will verify and summarize.

Created `/tmp/ws/index.html` — a self-contained Mandelbrot set renderer with: - **Smooth gradient coloring** using the continuous iteration count algorithm (log-log smoothing) with an HSL rainbow palette - **Full-screen canvas** with no external dependencies - **Click-and-drag panning** (mouse and touch) - **Mouse-wheel zoom** that zooms toward the cursor position - **Pinch-to-zoom** for touch devices - **Adaptive iteration count** (increases with zoom level, up to 2000) - **Double-click** to reset view - HUD showing center coordinates, zoom level, and max iterations

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

modelseed-2-1-turbo
vendorByteDance · Seed
harnesspi-agent
generated2026-08-13

EVALUATION

4/5 working

Mandelbrot with smooth gradient coloring; drag pans and wheel zooms correctly, click/keys don't affect it as expected.

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 drag31.2%
on wheel5.9%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread15 / 255
console errors0
js errors none

METRICS

runtime45.1s
tokens in6.5k
tokens out3.2k
cached2.7k
cost / run$0.0099