Skip to content

Boid flocking simulation made with OpenGL, SDL2 and ImGui.

Notifications You must be signed in to change notification settings

SaferGo/BoidSimulationOpenGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boid simulation with OpenGL

+ Hey there! This is my implementation of a boid flocking simulation.

Preview

sf

Features

  • Different species.
  • Obstacles.
  • GUI.
  • And a lot more that can be changed in the config.h file.

Environment

  • Linux
  • C++ 17
  • OpenGL (GLAD)
  • GLM
  • ImGUI
  • SDL2

Prerequisites

  • g++
  • CMake >= 3.91
  • SDL2 >= 2.0.10 (in ubuntu: sudo apt-get install libsdl2-dev)

Documentation

How to run it

$ git clone https://github.com/SaferGo/boid-simulation-opengl.git
$ cd boid-simulation-opengl
$ bash run.sh