oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · kat-coder-pro-v2

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 /workspace/index.html (9110 bytes)
toolResult

Successfully wrote 9110 bytes to /workspace/index.html

assistant

Done! I've created a self-contained Mandelbrot set explorer in `/workspace/index.html` with: **Features:** - **Smooth color gradient** using a continuous hue-cycling palette (purple → blue → cyan → green → yellow → orange → red → magenta) - **Smooth coloring algorithm** (renormalized iteration count) to eliminate color banding - **Click-and-drag** to pan across the fractal - **Mouse wheel** to zoom in/out, centered on the cursor position - **Touch support** (single-finger drag, pinch-to-zoom) - **Dynamic iteration depth** that increases as you zoom deeper - **Cardioid optimization** for faster rendering in the main body - Real-time display of center coordinates, zoom level, and iteration count - Double-click or button to reset the view The entire app is contained in a single HTML file with no external dependencies.

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-pro-v2
vendorKwaipilot
harnesspi-agent
generated2026-07-31

EVALUATION

4/5 working

Full-screen Mandelbrot with smooth blue/green gradient; drag pans and wheel zooms correctly, keyboard has no effect (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 drag36.1%
on wheel5.7%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread16.3 / 255
console errors0
js errors none

METRICS

runtime42.8s
tokens in6.8k
tokens out3.3k
cached5.0k
cost / run$0.0049