DEV Community

5 Rounds of Ruthless Vibe Coding on Gemini 4 Neon: A 104,704-Triangle Pure WebGL2 Ink-Wash World (No Three.js, No Textures)

Most "Vibe Coding" demos either import massive frameworks and pre-made .glb packs, or stop at v1 when the scene looks like a shiny plastic prototype. I wanted to see what happens when you put Gemini 4 Neon under brutal constraints and iterate 5 straight rounds using sharp visual and engineering critiques instead of polite wishes:

  • Zero Three.js / zero frameworks - pure native WebGL2
  • Zero external textures or .glb models - 100% procedural geometry & GLSL ES 3.00 shaders (104,704 triangles across a 380m Γ— 400m world)
  • Zero audio files - synthesized in-browser via Web Audio API

What Changed Across 5 Iterations

  • v1 β†’ v2: Started with 2002-era plastic shading and camera wall-clipping, then moved to cleaner geometry that still looked like a generic PS3 hillside.
  • v3 (The Turning Point): Stopped asking for "make it prettier" and switched to surgical critiques targeting shader ink-wash falloff, rice-paper grain, silhouette framing, and depth fog.
  • v4: Expanded into 4 mythic Shan Hai Jing realms Γ— 7 animated creatures - a 70m 56-ring winged Yinglong dragon at Mount Buzhou, twin celestial Kuns in Penglai Gorge, vermilion phoenixes, plus hidden Moonlit Gold (εΉ½ε†₯ι’η‡ˆ) and Sumi-e Cinnabar (ε’¨ιŸ»δΈΉη ‚) shader modes.
  • v5: Caught a hilarious bug where the Nine-Tailed Spirit Fox faced away from the camera across the entire 360Β° orbit - fixed orientation and golden night-glow eyes in 3 minutes.

Verify It Live in Your Browser (Instant Split-Curtain Wireframe X-Ray)

To prove it's real-time geometry rather than pre-rendered video, I built a live split-curtain X-Ray toggle that peels the Song-Dynasty ink painting back to expose all 104,704 wireframe triangles:

Full Making-Of Video & MIT Source Code

Curious how other devs structure multi-round visual critique prompts when pushing models on raw WebGL / GLSL - drop your favorite debugging tricks below!

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.