oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · grok-4.3

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 · 8 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 task is: "Build a single-page web app and write it ALL into one self-contained file named index.html in the current directory: CSS in a <style> tag, JS in a <script> tag, inline — do not create se...
bash {"command":"ls -la /workspace"}
toolResult

total 4 drwxrwxrwx 2 node node 64 Jul 22 16:47 . drwxr-xr-x 1 root root 4096 Jul 22 16:47 ..

assistant
thinking
The workspace is empty. I need to create a single self-contained index.html file with the Mandelbrot set visualization.
First, the user wants a single self-contained index.html file that renders the Mandelbrot set with smooth color gradient, click-and-drag to pan, and mouse-wheel to zoom. It should be full-screen canvas, no external resources.

I need to write the HTML, CSS, and JS all in one file.
write /workspace/index.html (7629 bytes)
toolResult

Successfully wrote 7629 bytes to /workspace/index.html

assistant
thinking
The file has been created successfully. Let me verify it exists and is complete.
bash {"command":"ls -la /workspace/index.html && wc -l /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 7631 Jul 22 16:47 /workspace/index.html 248 /workspace/index.html

assistant
thinking
The file is ready. No separate files created. All content is self-contained in index.html: HTML, CSS in <style>, JS in <script>. No external dependencies, fully sandboxed. Features implemented: fullsc...

`index.html` successfully created and ready.

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.3
vendorxAI · Grok
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Mandelbrot set with smooth gradient colors; drag pans and wheel zooms correctly, no reaction to keyboard 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 drag66.3%
on wheel8.6%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread31.4 / 255
console errors0
js errors none

METRICS

runtime30.9s
tokens in3.5k
tokens out2.6k
cached6.8k
cost / run$0.0124