oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · kat-coder-air-v2.5

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 · 6 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 /tmp/ws/index.html (4359 bytes)
toolResult

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

assistant

bash {"command":"ls -la /tmp/ws/index.html"}
toolResult

-rw-r--r--. 1 node node 4367 Aug 1 20:16 /tmp/ws/index.html

assistant

Done. `/tmp/ws/index.html` is a self-contained Mandelbrot viewer: - **Full-screen canvas** with smooth iteration-count coloring (cosine palette, Inigo Quilez) - **Click & drag** to pan - **Mouse wheel** zooms toward the cursor - **Double-click** resets to the default view - **Resize** aware — re-renders on window resize - **Throttled rendering** via `requestAnimationFrame` so panning stays smooth - Zero external dependencies — runs entirely sandboxed

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

modelkat-coder-air-v2.5
vendorKwaipilot
harnesspi-agent
generated2026-08-01

EVALUATION

3/5 working

Mandelbrot renders with color gradient; drag pans and wheel zooms correctly, but color scheme (green/orange/pink) is garish.

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 drag30.0%
on wheel8.5%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread51.8 / 255
console errors0
js errors none

METRICS

runtime11.0s
tokens in8.2k
tokens out1.8k
cached6.4k
cost / run$0.0015