Greggman builds a zero-dependency procedural WebGPU metropolis

By @greggman • Curated • 148 likes on X

Greggman builds a zero-dependency procedural WebGPU metropolis Open Live Demo ↗

Zero-dependency procedural WebGPU metropolis by WebGL pioneer greggman, packing thousands of traffic vehicles, glowing tail-light trails, bridges, and weather precipitation into under 500KB of code.

More from @greggman

Other projects by greggman

More WebGPU Examples

Projects curated around the same time in this topic

All WebGPU Examples →
Akella explores real-time path-traced 4D tesseract animations 66 Likes

Akella explores real-time path-traced 4D tesseract animations

Akella explores real-time path-traced 4D tesseract animations in Codevember Day 8 using cutting-edge WebGPU and Three.js.

@akella
Brice experiments with Three.js and WebGPU shutters 63 Likes

Brice experiments with Three.js and WebGPU shutters

Creative engineer Brice experiments with Three.js and WebGPU shutters, featuring reactive geometric tiles with smooth specular highlights.

@brice_deg
The Solstice Rust and WebGPU renderer implements continuous 39 Likes

The Solstice Rust and WebGPU renderer implements continuous

Solstice, an open-source Rust and WebGPU rendering engine introducing dynamic vertex streaming to schedule and render seamless multi-level-of-detail (LOD) geometries within fixed VRAM allocations.

@SamGCoder
Frank Reitberger's WebGPU fracture and shockwave demo with audio 15 Likes

Frank Reitberger's WebGPU fracture and shockwave demo with audio

Audiovisual polygonal fracture and energy shockwave demo powered by WebGPU and WGSL, pushing raw GPU compute performance with dynamic shatter physics and synchronized audio-reactive particles.

@_pwd_
Martin Valigursky turns a Gaussian splat into 2M WebGPU particles 32 Likes

Martin Valigursky turns a Gaussian splat into 2M WebGPU particles

What happens when a gaussian splat becomes 2M particles? 🔥 @playcanvas spawns them from the scene’s color + depth, runs them in WebGPU compute and collides them with voxels from splat-transform. Pick a preset and wreck the room 👇 https://engine-iam7nszj6-playcanvas.vercel.app/#/gaussian-splatting/particle-blast

@ValigurskyM
Douglas Lilliequist builds a WebGPU marching cubes portrait demo 30 Likes

Douglas Lilliequist builds a WebGPU marching cubes portrait demo

Real-time WebGPU Marching Cubes portrait demo by Doug Lilliequist built on his custom ogpu framework, generating a 3D scalar distance field via an in-memory voxelizer and extracting smooth polygonal head meshes concurrently on the GPU with cross-section slicing. 💡 **Quick Take:** Voxelized isosurfaces meet parallelized Marching Cubes on WebGPU, demonstrating formidable real-time mesh polygonization.

@DougLilliequist
Quick example port of nvidia's motionbricks in @threejs 75 Likes

Quick example port of nvidia's motionbricks in @threejs

quick example port of nvidia's motionbricks in @threejs with webgpu Try it out - https://repalash.com/three-motionbricks/ on github - https://github.com/repalash/three-motionbricks works on mobile also with a lower bit model (tried on iphone 16 pro)

@repalash
Three.js GPU Meshlet LOD Geometry System 1,005 Likes

Three.js GPU Meshlet LOD Geometry System

I was wondering when Three.js was going to get something like Nanite. And then I saw the PR for a meshlet rendering pipeline was merged <24 hours ago! https://github.com/mrdoob/three.js/pull/35191 Here's a demo scene rendering 1B triangles at 150FPS. https://raw.githack.com/sunag/three.js/dev-drawer-live/examples/index.html?q=gpudriven#webgpu_gpudriven_instanced This is huge!

@dangreenheck

Related Three.js Examples

More projects that share this one's topics

All 550+ Three.js examples →
Spark Engineering Team Introduces Spark Radix, an Experimental 358 Likes

Spark Engineering Team Introduces Spark Radix, an Experimental

WebVR pioneer Diego Marcos introduces Spark Radix, an experimental WebGPU 3D Gaussian Splatting engine architected to integrate seamlessly with Three.js. Radix bridges neural radiance representations with standard scene-graph pipelines, letting web developers render high-fidelity real-world scans directly in browsers. 💡 **Highlight:** Native Three.js compatibility drastically lowers the barrier for web developers adopting 3D Gaussian Splatting.

@sparkjsdev
Huisky's Cold Smoke, an endless downhill ski game in one HTML file

Huisky's Cold Smoke, an endless downhill ski game in one HTML file

Cold Smoke is Huisky's calm, endless downhill ski game in the browser: you carve, jump and tuck down a mountain that never repeats while the light changes from morning to night, with weather from clear skies to heavy snow. The whole game is one HTML file of about 1.6 MB, and the mountain, snow, trees, sky, aurora, skier, animals, music and wind are all generated by code, with no image, audio or model files. It renders with WebGPU and falls back to WebGL2, and was built with Claude Fable 5.2 over a few days of play-and-feedback rounds. The source is on GitHub under the MIT license.

@huiskylabs
Building Generator, an official Three.js WebGPU example 70 Likes

Building Generator, an official Three.js WebGPU example

The Building Generator is an official Three.js WebGPU example that procedurally generates buildings in the browser. The three.js account featured it alongside new examples such as volumetric fire and clustered lighting, and the source is on GitHub.

@threejs
Artem Korenevych's three-fluid-fx, drop-in fluid effects for Three.js 503 Likes

Artem Korenevych's three-fluid-fx, drop-in fluid effects for Three.js

three-fluid-fx is a drop-in 2D fluid solver for Three.js by Artem Korenevych, for GLSL/WebGL and TSL/WebGPU. It adds cursor-driven overlays, distortion, reveal masks and GPGPU particle displacement, with more than 20 post-processing effects.

@artcreativecode