Mandelbrot explorer · granite-4.1-8b
Output generated Cost / run $0.0003 Runtime 10.1s
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 (2943 bytes)Successfully wrote 2943 bytes to index.html
The single‑page web app **index.html** has been created in the current directory (`/tmp/ws`). It contains: * CSS in a `<style>` tag for basic layout. * JavaScript in a `<script>` tag that renders the Mandelbrot set with a smooth color gradient on a full‑screen canvas. * Mouse‑wheel zooming and click‑and‑drag panning functionality, all self‑contained without external resources. You can open `index.html` in a web browser to view the interactive Mandelbrot visualization.