The Insanely Green Swamp in Three.js - Ported From WebGL to WebGPU
Curated 3D Web Creative Coding project by @chetanankola • 2026-11-03
3D Graphics & Rendering Pipeline
State-of-the-art WebGPU rendering engine delivering high compute shader throughput, reduced CPU overhead, and native multi-pass buffer rendering.
Physics & Dynamic Simulation
Procedural mathematical vertex displacement, interactive particle animations, and procedural geometry generated at runtime.
Real-time Performance & Polish
60+ FPS browser execution with instanced rendering, memory-managed geometry buffers, and seamless responsive viewport scaling across desktop and mobile devices.
Aesthetic & Creation Overview
The insanely green Swamp in threejs - ported from Webgl to Webgpu
opus 5.5 did most of the work of porting..
GPT 6 Astra did the original work..
Developer Architecture & AI Prompt Engineering Guide
To study or reproduce this 3D web experience with modern AI coding assistants (Claude Code, Cursor, Codex):
# Recommended AI Prompt Template:
"Create an interactive Three.js 3D web experience based on 'The Insanely Green Swamp in Three.js - Ported From WebGL to WebGPU'. Implement an antialiased WebGLRenderer with tone mapping, an OrbitControls camera with smooth damping, dynamic lighting with soft shadow mapping, and responsive resize handling. Optimize with InstancedMesh and clean render loops."
- DevTools Shader & Draw Call Inspection: Press F12 on the demo page to inspect WebGL draw calls, shader programs, and buffer allocations.
- Open Source Repository Study: Review the GitHub repository for scene graph orchestration, lighting setup, and custom GLSL vertex/fragment shaders.
- Creator Devlogs: Follow @chetanankola on X for ongoing 3D graphics updates, procedural workflows, and code snippets.
Related 3D Showcases
Explore more interactive Three.js experiments, WebGL shaders, and creative coding
Open-Source WebGPU Physically-Based Path Tracer
My WebGPU path tracer is open source! Physically based rendering, running right in your browser. MIT licensed. - WebGPU compute shader path tracing, with WebGL 2 fallback - Two-level BVH built using parallel Web Workers, based on TinyBVH. A 4.6M-triangle scene's BVH builds in
Pixijs 3D Closed Beta Signup is Now Open
PixiJS 3D closed beta signup is now open 2D and 3D in one place, the PixiJS way! Fast by default. WebGPU first with WebGL fallback. Drop in 3D like it was always there. Closed beta for the next couple of weeks, then open source! Register https://pixijs.com/3d
I'm Honestly Kind of Amazed that WebGL Can
I'm honestly kind of amazed that WebGL can render this at 30FPS @ 2K resolution on my M1 Pro. WebGPU is amazing, but WebGL is still quite capable.
Open-source Shader Ecosystem Engineered for Production-ready Deployment Across
David Haz launched OpenShaders, an open-source shader ecosystem engineered for production-ready deployment across WebGL and WebGPU pipelines. Providing an npm-like workflow for searching, live-previewing, compiling, and integrating modular shaders, it bridges the gap between creative visual experiments and plug-and-play production assets.