AI|Boids algorithm (flocking)
Boids algorithm
This project is a personal implementation of the classic Boids flocking algorithm, originally developed by Craig Reynolds in 1986.
The simulation reproduces emergent group behavior through the implementation of the three core rules:
- Separation: avoiding crowding nearby agents.
- Alignment: matching velocity with neighboring agents.
- Cohesion: steering toward the center of nearby agents.
The system was developed using plain JavaScript and HTML, focusing on vector math, real-time updates, and rule balancing to achieve stable and natural-looking movement.
Key learnings:
- Steering behaviors and vector-based movement.
- Parameter tuning for emergent behavior.
- Managing multiple agents efficiently in a real-time simulation.
| Status | Released |
| Platforms | HTML5 |
| Author | Maruku98 |
| Genre | Simulation |

Leave a comment
Log in with itch.io to leave a comment.