oneshotlm
Compare all models on this prompt →

Synthwave sunset · glm-5.2

Output generated Cost / run $0.0120 Runtime 133.4s

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

modelglm-5.2
vendorZ.ai · GLM
harnesspi-agent
generated2026-07-08

METRICS

runtime133.4s
tokens in5.6k
tokens out2.9k
cached2.4k
cost / run$0.0120
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
Let me create a synthwave sunset scene with all the requested elements. I'll build it in a single index.html file with canvas-based rendering for the grid, sun, stars, and reflections.
→ write /workspace/index.html (7401 bytes)
toolResult

Successfully wrote 7401 bytes to /workspace/index.html

assistant

Created `/workspace/index.html` — a self-contained synthwave sunset scene rendered on a single canvas. It includes: - **Glowing gradient sun** with yellow→orange→pink→magenta vertical gradient, a soft outer glow, a crisp rim, and dark **scanline gaps** that widen toward the bottom of the disc. - **Infinite neon grid** with perspective horizontal lines scrolling toward the viewer (accelerating spacing near camera) and cyan vertical lines converging to a vanishing point on the horizon. - **Starfield** twinkling above the horizon, with randomized phases and sizes. - **Reflected horizon**: a mirrored, squashed sun glow plus water-like shimmer ellipse fading into the dark ground, with a warm horizon band. - Layered **sunset sky gradient** (deep purple → magenta → hot pink → amber) with a top vignette. Everything is responsive (handles resize + DPR scaling) and runs in a `requestAnimationFrame` loop with no external resources.