oneshotlm
Compare all models on this prompt →

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.

⛨ 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

modelqwen3-vl-32b-instruct
vendorQwen
harnesspi-agent
generated2026-08-01

METRICS

runtime23.9s
tokens in4.7k
tokens out1.9k
cached0
cost / run$0.0013
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 (5424 bytes)
toolResult

Successfully wrote 5424 bytes to index.html

assistant

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.