oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · nemotron-3-ultra-550b-a55b

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
thinking
The user wants a single-page web app that renders the Mandelbrot set with:
1. Smooth color gradient
2. Full-screen canvas
3. Click-and-drag to pan
4. Mouse-wheel to zoom

I'll create a self-contained index.html file with CSS in a <style> tag and JS in a <script> tag.
write /workspace/index.html (9539 bytes)
toolResult

Successfully wrote 9539 bytes to /workspace/index.html

assistant
thinking
The file has been created. Let me verify it exists and check the content.
bash {"command":"ls -la /workspace/index.html"}
toolResult

-rw-r--r-- 1 node node 9542 Jul 22 16:46 /workspace/index.html

assistant
thinking
The file is created successfully. The Mandelbrot set explorer is ready with:
- Full-screen canvas
- Smooth color gradient using sine-wave palette with smooth iteration coloring
- Click-and-drag to pan
- Mouse wheel to zoom (centered on cursor)
- Touch support for mobile (drag to pan, pinch to zoom)
- Keyboard shortcuts: R to reset, +/- to adjust iterations
- Adaptive iteration count based on zoom level
- Real-time info display showing center coordinates, zoom level, and iterations

Done. Created `/workspace/index.html` — a self-contained Mandelbrot explorer with: - **Smooth gradient**: 1024-color sine-wave palette + continuous iteration smoothing (log-log escape time) - **Full-screen canvas** with auto-resize - **Pan**: click-drag (mouse) or single-finger drag (touch) - **Zoom**: mouse wheel (centered on cursor) or pinch gesture (touch) - **Controls**: `R` reset, `+/-` adjust max iterations - **Adaptive iterations**: auto-scales with zoom depth for detail - **Live HUD**: shows center coords, zoom level, iteration count

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

modelnemotron-3-ultra-550b-a55b
vendorNVIDIA
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Smooth colorful Mandelbrot renders correctly; drag pans and wheel zooms, click and keys have no effect.

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 drag19.7%
on wheel4.5%
on enter + space0.0%
on arrow keys0.0%
on w/a/s/d0.0%
frame spread43.9 / 255
console errors0
js errors none

METRICS

runtime11.5s
tokens in11k
tokens out3.4k
cached0
cost / run$0.0131