Skip to content

2D flocking simulation using GLFW and Glad used to learn C++ optimization.

License

Notifications You must be signed in to change notification settings

XakNitram/UltimateFlox

Repository files navigation

UltimateFlox

2D flocking simulation using GLFW, Glad, and GLM - your very own bird box.

Use the 1 key to switch to filled rendering mode. Pressing again will cycle through pre-defined colors.
Use the 2 key to switch to classic rendering mode. Pressing again will cycle through pre-defined colors.
Use the b key to toggle display of the boids.
Use the v key to toggle display of the vision radii.
Use the q key to toggle display of the quadtree (lines).
Use the c key to toggle display of the quadtree (color).
Use the s key to toggle speed debug vision mode.
Use the Space key to pause the simulation.
Use the Esc key to exit.

flox.lua is provided in the Data/Scripts directory to configure the application. The program will continue to work without this file.