oneshotlm
Compare all models on this prompt →

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

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 ↗
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.

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

EVALUATION

4/5 working

Synthwave sun with scanlines, neon grid, starfield, and reflected horizon animate smoothly; no interactivity but not required.

Vision grade · anthropic/claude-sonnet-5

MEASUREMENTS

Raw readings from the capture, not a verdict — the grade above is the only judgement. Percentages are how much of the screen changed; the measure under-reports sparse motion on a dark background.

idle motion14.6%
on click12.1%
on drag9.7%
on wheel7.9%
on enter + space9.8%
on arrow keys9.0%
on w/a/s/d13.0%
frame spread30.4 / 255
console errors0
js errors none

METRICS

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