Skip to content

weinatalie/flocking-simulator

Repository files navigation

Flock Sim 🐦‍⬛

Flock Sim is an interactive 3D simulation of Craig Reynold's Boids (bird-oids), written in C++ and rendered with OpenGL.

Features 📍

  • Alignment: boids steer in the average direction of their neighbors
  • Cohesion: boids steer toward the average position of their neighbors
  • Separation: boids steer away from neighbors that get too close
  • Wind: boids can be steered by gusts of wind
  • Predators: predator boids track prey boids, who run away
  • Spatial hashing scheme for efficient rendering
  • Interactive GUI for users to adjust simulation parameters
  • Immersive background (skybox) with different themes to choose from
  • Custom 3D assets (models, textures, etc.) created from scratch in Blender

Getting Started ⚙️

Coming soon!

Controls ⌨️

Command Key
Pause simulation P
Move forward N
Restart simulation R
End simulation ESC
Reset camera SPACE
Rotate camera right click
Pan camera right click

Releases

No releases published

Packages

No packages published