SubTerra
Modern Ant Colony Simulation Built with Bevy ECS
Inside the project
01 / 01SubTerra
The brief
A problem worth
building around.
Classic ant colony simulations are either oversimplified browser toys or academic papers. No modern game captures the depth of SimAnt with today's rendering and simulation capabilities.
Our approach
Engineered a full ECS-based simulation in Rust using Bevy, where thousands of ants exhibit emergent behavior through pheromone trails, resource gathering, and colony defense. Parallel systems spread the work across multi-core CPUs to keep the simulation running in real time at scale.
The experience
What it lets
people do.
The capabilities that turn the underlying engineering into a usable product.
- 01
Pheromone-based pathfinding
- 02
Colony resource management
- 03
Predator-prey dynamics
- 04
Terrain generation
- 05
Multi-colony warfare
- 06
WebAssembly deployment
Project record
What came out of it.
Thousands of simultaneous entities at 60 FPS
Emergent colony behavior via pheromone system
Parallel ECS systems for maximum CPU utilization
WebAssembly build for browser deployment
Under the hood
Data-oriented ECS architecture with parallel system execution and WGPU rendering pipeline
Data-oriented ECS architecture with parallel system execution and WGPU rendering pipeline
Facing Similar Challenges?
Every business is different, but the problems tend to rhyme. Get in touch and tell us about yours.