Mandelbrot explorer · qwen3-vl-32b-instruct
Output generated Cost / run $0.0013 Runtime 23.9s
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 (5424 bytes)Successfully wrote 5424 bytes to index.html
I've created a single-page web application that renders the Mandelbrot set with a smooth color gradient on a full-screen canvas. The app includes: - Click-and-drag panning functionality - Mouse-wheel zooming (zoom in/out) - Smooth color gradient based on iteration count using HSV to RGB conversion - Responsive design that adjusts to window size - No external resources or network requests The application is self-contained in index.html with all CSS and JavaScript included inline. It runs completely sandboxed with no network dependencies. The Mandelbrot set is rendered using the standard algorithm with smooth coloring to create visually appealing gradients. Panning is implemented by tracking mouse movement and adjusting the center coordinates, while zooming scales the view by modifying the zoom factor. The app is ready to use - simply open index.html in any modern web browser to view the interactive Mandelbrot set visualization.