044 Traffic Intersection
Traffic Intersection: A top-down four-way intersection with traffic lights cycling, cars spawning from each direction, queueing at reds, turning and accelera…
More
1 test · 1 finished runs (0 agent, 1 raw one-shot) · 1 live demo
The prompt
Traffic Intersection: A top-down four-way intersection with traffic lights cycling, cars spawning from each direction, queueing at reds, turning and accelerating realistically. Sliders adjust spawn rate and green duration, and a live counter shows average wait time per car. Build it as ONE self-contained HTML file: inline CSS and JavaScript only, no libraries or frameworks, and no external requests of any kind (no CDNs, web fonts, images or audio files); anything visual or audible is made in code (HTML/CSS, SVG, Canvas, WebGL or WebAudio). It must work when opened directly from disk, fit the browser window responsively, and run without console errors. Output ONLY the complete HTML file, starting with <!DOCTYPE html> and ending with </html>, with no explanation or markdown fences.
Same prompt, all models: step through 3 runsIn the gallery: one player, arrow keys or swipe.