Three.js Procedural Generation Examples
Procedural generation builds content from rules and randomness instead of hand-made assets. These demos generate terrain from noise, scatter and animate thousands of grass blades, and drive weather and particle effects such as rain, fountains and starfield warp entirely from code.
The techniques are lightweight, because there are few or no assets to download, and endlessly variable, because a new seed gives a new world. Each page explains the noise functions, emitters and instancing used, so you can build landscapes and effects of your own.
Most viewed in procedural generation
All procedural generation demos
6 Demos
Random Terrain
Fractal noise-based terrain generation with vegetation and biomes.
Rain with Splashes
Fast falling raindrops with wind and fog; reset on ground contact.
Fountain Emitter
Upward particle fountain with gravity and per-particle lifetime.
Animated Texture Scroll
Scroll a checker texture across a cylinder by animating UV offsets.
Starfield Warp
Infinite starfield moving towards the camera with wraparound.
Realistic Animated Grass Field in Three.js
Immersive grass field with advanced wind simulation, realistic blade shapes, natural color variation, and interactive camera controls.