Procedural WebGPU racing game with AI rivals and coastal track

GPT-6 Astra built a Three.js racing game from this long prompt; the clip shows a chase-cam race past a coast, tunnel and grandstand. It is heavy on GPUs.

Claude Code + Three.js (nur Code)Wandy 2
Echte Modelle · 360°Beide aus demselben Foto: links — ein unbearbeiteter Lauf von Claude Code (Opus 5.5), der es in Three.js-Code modelliert; rechts — Wandy 2.

Detaillierte 3D-Modelle erstellen

Mit Code allein bekommst du einfache Formen. Wandy 2 macht aus einem Foto ein texturiertes 3D-Modell, das du in derselben Szene nutzen kannst.

Prompt für GPT-6 Astra

Build a complete, production-quality browser racing game called Spline Rush using the latest Three.js (WebGPURenderer + TSL where possible). 100% procedural: no external models, textures, audio files or fonts. Everything generated in code at runtime.

CORE GAME
- 6 unique tracks with elevation, banking, tunnels, hairpins, named corners and distinct biomes (coastal day, mountain dusk, desert sunset, forest rain, night city neon, high-speed oval).
- Championship mode (qualifying + 3 races), Time Trial with ghosts, Quick Race.
- 8 AI opponents with personality, racing line, braking points, overtaking and defending.
- Best lap records, sector times, live event feed, replay camera.
- Garage: 5 parametric cars with clearcoat + metal-flake paint, panel gaps, working lights, animated suspension, damage states.

GRAPHICS TARGET (Ultra, worthy of RTX 5090 at 4K)
Renderer: THREE.WebGPURenderer. Physically based pipeline.
Lighting:
- Rayleigh/Mie physically based sky + starfield + moon + dynamic sun that drives a full day/night cycle.
- Cascaded shadow maps (4 cascades, stable texel snapping, high-res).
- IBL via PMREM updated with time of day.
- Volumetric fog + god rays + heat haze.
Materials:
- MeshPhysicalMaterial / TSL nodes: clearcoat, anisotropy, transmission on glass, metal-flake paint, wet-road shader that reacts to rain.
Post-processing chain (RenderPipeline / TSL or postprocessing library):
GTAO or high-quality SSAO → SSR → bloom (Karis) → motion blur (velocity) → DOF → god rays → auto-exposure → color grading + film grain + vignette → SMAA or TAA.
Effects:
- GPU particle pools: tyre smoke, sparks, dust, rain spray, grass/gravel kick-up, heat distortion.
- Skid marks that persist and fade.
- Dynamic wetness and puddle reflections when raining.

PHYSICS & FEEL
- Fixed-step 120 Hz simulation.
- Raycast or strut suspension, load transfer, combined-slip tyres, ABS/TC, surface types (asphalt, kerb, grass, gravel, wet).
- Camera: cinematic chase + hood + onboard with motion and collision shake.

AUDIO
- Fully synthesised Web Audio: multi-layer engine by RPM/load, wind, tyre screech, kerb rumble, crowd, dynamic music.

QUALITY SYSTEM
- Presets: Low / Medium / High / Ultra.
- Ultra assumes RTX 5090-class GPU: 4K, high shadow maps, max particles, all post effects on, no aggressive LOD.
- Adaptive quality that can drop effects if frame time exceeds target.

Start with a playable first version (one track, one car, basic lighting), then iterate feature-by-feature exactly as requested. Keep everything in a single clean HTML/JS (or Vite) project that runs locally. Comment major systems. Make it look expensive, not cute.

So nutzt du diesen Prompt

  1. Paste the prompt into GPT-6 Astra in your coding tool; start with one track and one car, as it says.

  2. Lower the graphics target or trim the post-processing list if your GPU struggles, and rename the game.

  3. Run it locally, then add tracks, modes and effects one feature at a time, checking frame rate each step.

Von Wandy3D

Brauchst du ein echtes 3D-Modell in deiner Szene?

Dein Agent baut mit Primitiven. Die Wandy3D API macht aus einem Foto oder Prompt in wenigen Minuten ein texturiertes GLB – bezahlt aus einem Prepaid-Guthaben, ohne Abo.

  • Wandy 20,18 $ pro Modell
  • Wandy 10,09 $ pro Modell

Das Guthaben verfällt nie · fehlgeschlagene Jobs werden erstattet · über die API erstellte Modelle gehören dir und lassen sich in jedem Format herunterladen.

curl -s -X POST https://api.wandy3d.com/generate/cloud/ultra \  -H "Authorization: Bearer $WANDY3D_API_KEY" -F "file=@photo.jpg"# → {"task_id": "…"} — poll until "status" is "done":curl -s https://api.wandy3d.com/task/$TASK_ID/status \  -H "Authorization: Bearer $WANDY3D_API_KEY"# → {"model_id": "…"} — then GET /model/$MODEL_ID/export?format=glb

OriginalbeitragBist du der Autor? Bitte uns, diese Seite zu ändern oder zu entfernen