Crowd Simulation
2001, The Lord of the Rings: The Fellowship of the Ring

Prompt
Apply a Crowd Simulation effect by populating available background space with dense groups of small, varied digital figures. Give individuals different poses, clothing colors, orientations, and spacing, with believable perspective, mutual occlusion, and shared environmental lighting. Avoid identical repeated formations or obscuring the focal subject. Keep the original subject and composition.
Identify
You see thousands of digital characters moving together in complex scenes like battles or cities. Instead of moving exactly alike, each individual acts uniquely, reacting to its surroundings.
Principle
Computers use rule-based artificial intelligence1 to guide digital agents2. Each agent responds to neighboring agents, terrain, and built-in logic independently.
Example
Stephen Regelous and Wētā Digital: The Lord of the Rings, 2001.
Try it out
Watch a modern CGI battle scene and track one background soldier to see if they react uniquely to obstacles.
Background
Before the 2000s, large film crowds were mostly live extras or copy-pasted digital clones. This changed when software like MASSIVE introduced agent-based simulation3. Programmers gave individual digital models basic senses like sight and hearing. They also provided a set of rules, like running toward enemies or avoiding cliffs. When the scene played, the computer calculated each agent's decisions in real time. This created highly realistic, chaotic motion without hand-animating every person. The technique revolutionized epic cinema, making massive, dynamic digital armies possible for the first time.
Distinction
It differs from simple digital compositing or crowd cloning. Cloned crowds repeat the exact same animation loops, while simulated crowds make independent choices.
Aftermath
It shows how programming logic can generate highly natural, unpredictable visual complexity.
Further examples · 7 images






Question
How do digital agents know where to walk?
Show possible answer +Hide answer −
They follow algorithms that mimic basic senses. The software checks for virtual terrain boundaries and the positions of nearby characters.