oneshotlm
Compare all models on this prompt →

Synthwave sunset · gemini-3-flash-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 · 10 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
**Designing Synthwave Scene**

I'm currently focusing on the core visual elements for the single-page synthwave sunset app. My immediate plan involves creating a dynamic, glowing gradient sun with subtle scanlines, an infinitely scrolling neon grid to simulate depth, and a starfield for the background. This will form the foundation of the animated experience.

**Developing Reflected Horizon**

I'm now concentrating on implementing the reflected horizon effect, aiming for a mirrored visual below the main scene. My current approach involves drawing a flipped version of the sun and grid to achieve this. I'm also ensuring all code remains inline within `index.html`, avoiding external dependencies.

write index.html (6289 bytes)
toolResult

Successfully wrote 6289 bytes to index.html

assistant
thinking
**Generating Synthwave Sunset**

I've successfully rendered a basic synthwave sunset scene. The glowing, gradient sun with scanlines is in place, and the infinite neon grid, starfield, and reflection are all present and accounted for.

edit {"path":"index.html","edits":[{"newText":" function drawSun(cx, cy, radius, isReflection = false) {\n ctx.save();\n
toolResult

Successfully replaced 1 block(s) in index.html.

assistant
thinking
**Refining Rendering Logic**

I'm currently wrestling with how `destination-out` in `drawSun` might unintentionally clear the background. I need to ensure this blend mode interaction is handled precisely to maintain the desired infinite neon aesthetic.

edit {"edits":[{"newText":" const sunCanvas = document.createElement('canvas');\n const sunCtx = sunCanvas.getContext('2d');\n\n
toolResult

Successfully replaced 1 block(s) in index.html.

assistant
thinking
**Adding Reflected Horizon**

I'm focusing on enhancing the horizon, incorporating a dark purple terrain silhouette as requested to add depth and that distinct "reflected horizon" effect. I'm also refining the grid's glow for a more impactful synthwave aesthetic.

edit {"edits":[{"newText":" // Vertical perspective lines\n for (let i = 0; i <= verticalLines; i++) {\n con
toolResult

Successfully replaced 1 block(s) in index.html.

assistant

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-flash-preview
vendorGoogle
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Animated synthwave sun, scanlines, scrolling neon grid, starfield, and reflection; visuals are consistent but non-interactive.

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 motion25.2%
on click23.2%
on drag24.1%
on wheel27.4%
on enter + space25.6%
on arrow keys27.3%
on w/a/s/d26.8%
frame spread35.7 / 255
console errors0
js errors none

METRICS

runtime81.5s
tokens in15k
tokens out7.4k
cached3.9k
cost / run$0.0301