Laboratory (Boids!)

Gducpm Games

Back

Boids is an exciting graphics simulation originally created by Craig Reynolds in the 1980s. This experiment visually demonstrates the behavior of flocks of birds or schools of fish through simple rules of movement.

Right at the arcade, I offer you the chance to watch Boids in action — free of charge! The real thrill lies in our ability to manipulate various parameters, such as speed, detection range, and cohesion of the Boids. You'll witness them moving together in a harmonious dance, just like colorful fish swimming gracefully in the ocean!

At the core of this simulation are three simple rules that each Boid follows:
1. Separation: Each Boid avoids crowding its neighbors by steering away from nearby Boids. This keeps them from colliding with each other, ensuring a smooth and natural movement.
2. Alignment: Boids will try to align their direction and speed with their neighboring Boids. This creates that elegant, synchronized group movement, like a school of fish swimming in unison.
3. Cohesion: Boids are also drawn toward the average position of their neighbors, keeping them together as a group, rather than scattering in all directions.

⚠️ Epilepsy Warning: This simulation contains flashing lights and rapid movements, which may trigger seizures in individuals with photosensitive epilepsy. Viewer discretion is advised!

These simple rules combine to create complex, fascinating behaviors that mirror what we see in nature. With Boids, you can explore how these individual rules create intricate patterns and behaviors, providing a captivating glimpse into nature's mesmerizing dynamics. Experience the beauty of flocking behavior in real time and play around with the parameters to see how small changes affect the entire group!

This was originally made by Griffpatch, but I made it a lot different: simulating schools of fish swarming in bright and blue ocean, instead of that boring triangle character in Griffpatch's tutorials!

Boids experiment
Figure: the Boids experiment