oneshotlm
Compare all models on this prompt →

Synthwave sunset · grok-4.3

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
The task is: "Build a single-page web app and write it ALL into one self-contained file named index.html in the current directory: CSS in a <style> tag, JS in a <script> tag, inline — do not create se...The task is to build a single-page web app in one index.html file with CSS in <style>, JS in <script>, no externals. It's for an animated synthwave sunset with specific elements.

I need to create:

- Glowing gradient sun with scanlines

- Setting over an infinite neon grid that scrolls (I think "setting" means the sun is setting, i.e., going down)

- Infinite neon grid scrolling toward viewer

- Starfield

- Reflected horizon

In synthwave style: neon pinks, purples, cyans, etc.

Use Canvas for rendering.

Plan the code structure:

- HTML 5 with canvas full screen.

- CSS for body, canvas full size.

- JS: init canvas, resize handler, animation loop with requestAnimationFrame.

Implement each part:

1. Starfield: random stars in sky, with random size, opacity twinkling over time.

2. Sun: large glowing orb above horizon 2/3 way, with radial gradient (yellow to orange to pink), glow with shadowBlur, and scanlines: horizontal lines across it with low alpha.

3. Sky gradient: linear from deep blue/purple top to orange at horizon.

4. Horizon: line at y=height*0.7, with 3D effect or glow.

5. Grid: infinite perspective grid on the "floor" below horizon? But grid is the ground setting.

The grid is like a city grid or highway grid in front, vanishing at horizon.
write /workspace/index.html (14707 bytes)
toolResult

Successfully wrote 14707 bytes to /workspace/index.html

assistant
thinking
Since the task specified writing everything into one self-contained file and confirmed we are done:

Done. Created `/workspace/index.html` — a fully self-contained animated synthwave sunset with glowing sun, scrolling neon grid, stars, reflections, and scanlines. All CSS and JS are inline. No external requests. Open it in any modern browser.

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

modelgrok-4.3
vendorxAI · Grok
harnesspi-agent
generated2026-07-22

EVALUATION

4/5 working

Static-looking but well-rendered synthwave sun with scanlines, neon grid, starfield, and horizon; no visible grid scroll or input response.

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 motion0.6%
on click0.6%
on drag0.5%
on wheel0.5%
on enter + space0.5%
on arrow keys0.5%
frame spread22.6 / 255
console errors1
js errors none

METRICS

runtime54.0s
tokens in6.4k
tokens out5.2k
cached320
cost / run$0.0210