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.
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
METRICS
Transcript · 4 messages
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.
index.html (9014 bytes)Successfully wrote 9014 bytes to index.html
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.