oneshotlm
Compare all models on this prompt →

Synthwave sunset · gemini-3.1-flash-lite-preview

Output generated Cost / run $0.0032 Runtime 6.0s

Prompt for this run

Create an animated synthwave sunset: a glowing gradient sun with scanlines setting over an infinite neon grid that scrolls toward the viewer, with a starfield and a reflected horizon.

⛨ 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

modelgemini-3.1-flash-lite-preview
vendorGoogle
harnesspi-agent
generated2026-07-22

METRICS

runtime6.0s
tokens in4.1k
tokens out1.4k
cached0
cost / run$0.0032
Transcript · 4 messages
user

Create an animated synthwave sunset: a glowing gradient sun with scanlines setting over an infinite neon grid that scrolls toward the viewer, with a starfield and a reflected horizon.

assistant
thinking
**Conceptualizing The Sunset**

Okay, I'm envisioning the sunset now. I'm focusing on crafting the core elements: a gradient sun that pulsates, overlaid with scanlines and an infinite neon grid that scrolls endlessly, a starfield, and the reflected horizon. I'm aiming for all of this to be self-contained within the HTML file, without external dependencies. Currently using React and Canvas for this.


**Refining The Components**

I've decided to abandon Three.js and stick with vanilla HTML5 Canvas, as originally planned. I'm solidifying the core components: a dark purple/blue background, a striped glowing sun, a perspective grid, scattered static stars, and a mirrored reflection of the sun and grid below the horizon. I'm focusing on the canvas element and animation loop, including perspective projection for the grid. The perspective is key; it needs work. I'm using an array for the stars and considering an alpha-channel overlay or drawn stripes for the scanlines. I am now working on Grid logic.


→ write index.html (3048 bytes)
toolResult

Successfully wrote 3048 bytes to index.html

assistant

The animated synthwave sunset has been created in `index.html`. It features: - A glowing multi-colored gradient sun with scanline overlays. - A perspective-based scrolling neon grid extending to the horizon. - A dynamic starfield background. - A clear horizon line segmenting the sky and ground. You can open this `index.html` file in any modern web browser to view the animation.