Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 1.03 KB

README.md

File metadata and controls

16 lines (10 loc) · 1.03 KB

ABOUT

Boids Algorithm is a algorithm used to describe the movement and formations of boid-like creatures, like flocking birds, some especies of fish and so on.

  • I implemented this version using C++ and SDL2, a library that provides low-level access to a computers interface, like screen, mouse and graphics hardware.
  • I followed the especifications from http://www.kfish.org/boids/pseudocode.html and implemented my own vector2 library, wich is also available in this github directory or on its own directory. Furthermore, the theory that I used comes from Craig Reynolds.

RUNNING

Fom linux, via the makefile in this directory:

  • make --> will compile all the header files and create an executable
  • make run --> will compile, if not, and run the executable
  • make clean --> will delete all obj files from the folder and the executable