Dense Dynamic Rat Swarm Simulation with LOD & Shaders
Curated 3D Web Creative Coding project by @Rahzell83 • 2026-10-15
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
Those rats clearly needed to be fancier, so I added some color AND Level of Detail.
Went from 20M vertices to 4M, with barely any visible difference.
#threejs #tsl #webgpu
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 'Dense Dynamic Rat Swarm Simulation with LOD & Shaders'. 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.
- Creator Devlogs: Follow @Rahzell83 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
Hand-painted Normals + #tsl Postprocessing
Hand-painted normals + #tsl postprocessing Project link: https://mesq.me/jelly-painting/ Also here: + brush strokes based on color gradients + fixed dither noise + soft body wobble + transmission material from #threejsblocks Inspired by @mamomiji #threejs #webgpu
Three.js Official Release R187
Milestone Three.js r187 release introducing native Meshlet geometry pipeline, overhauled WebGPU node materials, and TSL syntax upgrades for high-poly scenes.
Creative Engineer Oğuz Yağız Kara Presents a Visual
Creative engineer Oğuz Yağız Kara presents a visual node-based shader graph editor. Featuring an infinite zoomable canvas, glowing spline connections, and real-time shader preview ports, users can compose procedural noise functions, color grading curves, and spatial warping transformations without writing manual code. A sublime fusion of GLSL/WGSL shader development and modern node graph UI ergonomics.
Made this Authentic Camera Postfx
Made this authentic camera postFX for @threejs Comes with digital / analog switch and can be adjusted to your liking. github page below #threejs #tsl #webgpu