oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · grok-4.6

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 me to create a single-page web app that renders the Mandelbrot set with:
```html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.

I'll build a self-contained full-screen Mandelbrot viewer with smooth coloring, drag-to-pan, and wheel zoom.

write /tmp/ws/index.html (9977 bytes)
toolResult

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

assistant
thinking
The file was written successfully. The user asked for a single-page Mandelbrot app with:

`index.html` is a self-contained Mandelbrot viewer: - **Full-screen canvas** with a cyclic aurora palette and smooth (continuous) iteration coloring - **Drag** to pan, **wheel** to zoom toward the cursor, **double-click** to zoom in - Progressive coarse→fine redraw so interaction stays responsive - Interior points (cardioid / period-2 bulb) stay near-black - **R** reset, **+**/**-** zoom, **[**/**]** change iteration depth

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

modelgrok-4.6
vendorxAI · Grok
harnesspi-agent
generated2026-08-13

EVALUATION

4/5 working

Mandelbrot renders with smooth color gradient; drag pans and wheel zooms correctly, click/keys have no effect 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 drag64.8%
on wheel22.4%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread80.5 / 255
console errors0
js errors none

METRICS

runtime56.5s
tokens in6.9k
tokens out4.5k
cached1.7k
cost / run$0.0381