oneshotlm
Compare all models on this prompt →

Mandelbrot explorer · mistral-medium-3.1

Output generated Cost / run $0.0057 Runtime 21.3s

Prompt for this run

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 ↗

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

modelmistral-medium-3.1
vendorMistral AI
harnesspi-agent
generated2026-08-01

METRICS

runtime21.3s
tokens in5.3k
tokens out2.6k
cached4.5k
cost / run$0.0057
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 index.html (9014 bytes)
toolResult

Successfully wrote 9014 bytes to index.html

assistant

Created a self-contained `index.html` with: - Full-screen canvas rendering the Mandelbrot set - Smooth color gradient using escape-time algorithm with logarithmic smoothing - Click-and-drag to pan - Mouse-wheel to zoom (centered on cursor) - UI controls: - Reset view button - Increase iterations button - Real-time display of center coordinates, zoom level, and iterations - No external dependencies or network requests Open the file in a browser to explore the Mandelbrot set interactively.