Boids — Flocking Sim
Scatter a swarm and watch it think as one — separation, alignment, cohesion.
- 🌀 Toy
- ✓ Free
- ✓ No sign-up
- ✓ Private — runs in your browser
- ✓ Any device
Presets
The three rules
steer to avoid crowding neighbours
match the heading of the flock
drift toward the centre of mass
Motion
Look
Why you’ll love Boids — Flocking Sim
How to use it
- 01
Open it
No download and no login — the tool is ready right at the top of this page.
- 02
Use it
Enter your details or start interacting. Everything updates live as you go.
- 03
Get your result
Copy, download or share your result in a single tap. That’s it.
About Boids — Flocking Sim
A boids simulation demonstrates flocking behavior using simple algorithmic rules that mimic how birds move together. Watch as individual agents follow three key rules—separation (avoid crowding), alignment (match heading), and cohesion (move toward the group)—to create emergent swarm patterns. This free browser-based tool visualizes how complex, coordinated group behavior emerges naturally from local interactions between individuals, making boids simulation both intuitive and visually engaging.
Scatter the swarm and observe how it self-organizes in real time. The flocking simulation runs entirely in your browser with no signup required—just load the page and start interacting. Your data never leaves your device; everything happens locally for instant, responsive visualization of the emergent behavior. Adjust parameters, pause and resume, and watch the swarm react dynamically to your changes without any server connections.
Ideal for exploring swarm intelligence, this tool brings the classic boids algorithm to life with an interactive visual interface. Tweak simulation parameters, pause and restart at any time, and watch the swarm adapt and reorganize before your eyes. It's perfect for education, research, casual exploration, or developing deeper understanding of how natural flocking behavior emerges in birds, fish schools, and other coordinated animal groups.
Popular uses
- ✦ Teaching emergent behavior and swarm intelligence in classrooms or online courses
- ✦ Visualizing the boids algorithm to understand flocking in games or simulations
- ✦ Exploring how simple local rules create complex collective motion patterns
- ✦ Developing intuition for swarm-based optimization and multi-agent systems
- ✦ Casual experimentation with dynamic systems and observing patterns evolve in real time
Frequently asked questions
What is a boids simulation?
How does the flocking algorithm work?
Can I use this for teaching or research?
Is my data private when using this tool?
Is Boids — Flocking Sim free to use?
Do I need an account to play?
More toys & sandboxes
All toys & sandboxesPeople also use
We built this. We can build yours.
Boids — Flocking Sim is one of our free tools. Need a website, app, AI agent or automation? Fixed price — and you own the code.