WikiWayne
Local AIWikiBenchGamesPrompt LabGrok BotAI ToolsTech NewsAboutBlogContact

As an Amazon Associate I earn from qualifying purchases. This site contains affiliate links.

WikiWayne

Independent notes on local AI, real hardware, Grok, and the games that come out of that stack.

Categories

  • Local AI Hub
  • Local AI Glossary
  • Local AI
  • AI Tools
  • Tech News

Quick Links

  • About Wayne
  • Games
  • Grok Bot
  • Contact
  • Links
  • ADHD MaxxxingSponsored
  • WikiBench
  • Methodology
  • Editorial Standards
  • Disclosures
  • Privacy Policy
  • Sitemap

Follow on X

Hardware, local models, Grok, and what I actually ship.

Follow @wikiwayne
WikiWayne© 2026
PrivacyWikiBenchMethodologyEditorialDisclosuresTermsSitemap
Home/Prompt Lab/Dune Sunset

Dune Sunset

PL-170EasyLandscapes & natureSVG

Five desert dune layers that slide at exact parallax ratios under a smooth sky blend, drawn only in SVG.

Dune Sunset
Download fileMade for ChatGPT, Claude, Gemini, Grok and other AI tools

How to run

  1. Download the file or copy the prompt.
  2. Upload or paste it into any AI chat or coding tool, and send.
  3. Save the HTML it gives you as a file and open it in Chrome.
  4. Open it with ?test=1 and look in the browser console for the TEST lines.

What it tests

Five desert dune layers that slide at exact parallax ratios under a smooth sky blend, drawn only in SVG.

The checks

  1. At t = 0 the page has no canvas element, exactly 5 dune layers with 5 different fill colors, and the dunes cover at least 55% of the screen height.
  2. After setCamera(0) then setCamera(600), the measured horizontal shift of the five layers is 60, 150, 270, 420 and 600 px (each within 2%), and the sun has not moved sideways.
  3. advance(25.2) brings the sun's disc completely below the horizon, the sunsets counter goes from 0 to exactly 1, and the sky's top color gets at least 40% darker.
  4. Over advance(25.2), birdsCrossed ends at exactly 3, and every bird's x position only ever increases.
  5. starsLit is 0 at t = 0 and at least 50 after advance(25.2), every lit star has opacity above 0.5, and the whole run has zero console errors.

Runs by model

No runs posted yet. Be the first: post yours and tag @wikiwayne.

Show the full prompt
DUNE SUNSET: Five-Layer Desert Parallax
HOOK OBJECT: window.__dunes

Build "DUNE SUNSET": a calm desert scene drawn entirely in SVG (no canvas, no libraries). Five layers of sand dunes slide past at different speeds while the sun sinks, the sky turns from gold to deep violet, and the first stars come out. It is a simple scene that should look gorgeous and feel restful to keep watching.

LOOK
- Style: flat layered paper-cut vector art with soft gradients, no outlines. Sky gradient moves from #FFD9A0 (horizon) and #FF8F5C (upper) at the start to #1B1246 (top) and #5A2A6E (horizon) at the end. Dunes, back to front: #E8A06B, #D4824F, #B9653F, #8F4A35, #5E2F2C (the front layer is darkest). Sun: a disc 120 px across at 1280x720 (scale with the screen), #FFF1C2 with a soft #FFB35C glow.
- Five dune layers, each a wavy ridge filled down to the bottom edge, with ridge heights: layer 1 at 42% of the screen height from the top, layer 2 at 50%, layer 3 at 58%, layer 4 at 68%, layer 5 at 80%. Each ridge must be wide enough to scroll without showing an edge.
- Sky extras: 3 small birds (simple dark "V" shapes, #2A1B3D) and 60 stars that are hidden at the start.
- FIRST FRAME (t = 0, no input): the sun about 30% of the screen height above the horizon line, all five dune layers visible with the dunes covering at least 55% of the screen height, warm gold light, no stars yet. No text on screen except a small "DUNE SUNSET" label at the top-left, which never overlaps the sun.

MOTION / PLAY
- Controls: move the mouse sideways, or drag with a finger, or use the left and right arrow keys, to pan the camera. Pan is exposed as setCamera(panX) in pixels. The layers shift by different fractions of the pan: layer 1 by 0.1, layer 2 by 0.25, layer 3 by 0.45, layer 4 by 0.7, layer 5 by 1.0. The sun does not move with the pan.
- One sunset runs over exactly 25 s of simulated time: the sun slides down from its start height until its disc is completely below the horizon line (the top of layer 1), the sky colors blend smoothly, and the stars fade in one by one: the first begins at 15 s, then one more every 0.15 s, each taking 1 s to fade in.
- The 3 birds each cross the screen from left to right once per sunset, one starting every 8 s, taking 9 s each.
- Hold the finished night sky for 2 s, then fade back to the starting sunset over 1.5 s and begin again.
- ATTRACT MODE: with no input, a hands-free demo starts on load and loops every 25–30 s (25 s sunset + 2 s hold + 1.5 s fade = 28.5 s), showing every main feature (a slow automatic pan, the full sunset, the birds and the stars). Any input takes over; the demo resumes after 8 s with no input.

SOUND
- A soft low wind pad (filtered noise) that gets quieter as the sky darkens.
- A tiny wooden "chirp" each time a bird begins its crossing.
- A gentle high twinkle each time a star finishes fading in.
- A deep low chime when the sun's disc is completely below the horizon.

COUNTERS
stats() returns { fps, sunsets, birdsCrossed, starsLit }.
- sunsets: +1 exactly when the sun's disc is completely below the horizon line. Never on load, never on a timer.
- birdsCrossed: +1 exactly when a bird leaves the right edge of the screen.
- starsLit: +1 exactly when a star's opacity first passes 0.5.
- On screen: all three in a small row at the bottom-left, readable in a paused frame and never over the sun or the birds.

CHECKS for ?test=1
With ?test=1, run an accelerated self-test that measures real positions and real events (not self-set flags) and logs "TEST n PASS" or "TEST n FAIL: reason" to the console and to window.__testResults:
Each check starts from a fresh load; advance() steps in 1/60 s increments.
1. At t = 0 the page has no canvas element, exactly 5 dune layers with 5 different fill colors, and the dunes cover at least 55% of the screen height.
2. After setCamera(0) then setCamera(600), the measured horizontal shift of the five layers is 60, 150, 270, 420 and 600 px (each within 2%), and the sun has not moved sideways.
3. advance(25.2) brings the sun's disc completely below the horizon, the sunsets counter goes from 0 to exactly 1, and the sky's top color gets at least 40% darker.
4. Over advance(25.2), birdsCrossed ends at exactly 3, and every bird's x position only ever increases.
5. starsLit is 0 at t = 0 and at least 50 after advance(25.2), every lit star has opacity above 0.5, and the whole run has zero console errors.

KEEP IT SHORT
- Keep the whole file under about 1,500 lines (soft target) so you can write it in one pass and finish well inside 15 minutes.
- Save lines with helpers, loops and instancing, not by dropping features. Everything above must really work: no placeholders, no TODOs.

BUILD RULES (all required):
- Deliver ONE self-contained HTML file: inline CSS and JS, no build step, no local assets. Libraries only from a CDN. If you use Three.js, use exactly this import map: {"imports":{"three":"https://cdn.jsdelivr.net/npm/three@0.160.0/build/three.module.js","three/addons/":"https://cdn.jsdelivr.net/npm/three@0.160.0/examples/jsm/"}}
- It must open straight from disk in desktop Chrome and on an iPhone (Safari), fill the full screen, handle resize and touch, and stay smooth (target 60 fps).
- It must look stunning in the very FIRST frame: no black screen, no loading wait, no tiny subject. The main subject fills at least 50% of the screen height.
- SOUND (required): all sound is made in code with Web Audio (no audio files). Show a small "🔊 TAP FOR SOUND" chip; on the first tap create ONE AudioContext, route everything through a master gain of 0.6 into a DynamicsCompressor, and hide the chip. Also expose enableAudio() on the hook object named at the top.
- Expose the hook object named at the top with: setCameraOrbit(azimuthDeg, elevationDeg, distance) (or an equivalent camera setter), advance(seconds) that steps the simulation exactly that much for still captures, enableAudio(), and stats() returning {fps, ...the counters named above}. Use a fixed random seed of 360 so every run is the same.
- Every on-screen counter must count a real event you can see happen. No fake numbers.
- No text overlapping the subject; any label must be readable in a paused frame.
- No brand logos, no real people, no copyrighted characters, brand names or logos.

FAILURE MODES TO AVOID
- A blank page, or only the HUD label, because one script error stopped the scene.
- Dune layers that all move at the same speed, so the scene looks flat instead of deep.
- A hard edge or gap showing at the side of a dune layer when you pan.
- The sky or dunes staying the same color so there is no real sunset, or a sky that ends up too dark to see the dunes.
- The sun staying above the horizon, or passing in front of the dunes instead of behind them.
- Stars appearing all at once, or counters that tick on a timer instead of on the event.
- Using a canvas, an image file or a library instead of plain SVG.
- The same variable declared twice, or methods called on objects that don't exist yet.

SELF-TEST LOOP
- If you can run code: build the file, open it, read the console, run ?test=1, and take screenshots at 3 s, 10 s and 30 s at 1280x720 and 390x844. Look at the screenshots and fix what looks wrong. Fix and retest until all 5 checks pass with zero console errors. Mark anything you could not run as UNMEASURED; never invent results.
- If you are chat-only: go through this prompt line by line, check your code against each line, and fix anything that would fail. Then write one corrected, complete file.
- Final answer: ONE complete HTML file in ONE code block, then the 5 checks marked PASS, FAIL or UNMEASURED. No snippets, no "rest unchanged".

Built one? Post it on X and tag @wikiwaynePost on X

More Easy prompts

Bouncing Bubbles

EasyFluids & particles
PL-0644 runs

Glass Weather

EasyPage layouts & UI
PL-0634 runs
Sleepy Owl

Sleepy Owl

EasyCreatures & characters
PL-179No runs yet

More Landscapes & nature prompts

Floating Islands Biplane

MediumLandscapes & nature
PL-0844 runs
Machu Picchu

Machu Picchu

HardLandscapes & nature
PL-102No runs yet
Great Wall

Great Wall

HardLandscapes & nature
PL-101No runs yet