Boids Algorithm implementation in C++ and SFML (for Graphics)
Controls | Keys |
---|---|
Rule-1 (Separation) | 1 |
Rule-2 (Alignment) | 2 |
Rule-3 (Cohesion | 3 |
Add some Boids | + |
Kill some Boids | - |
Follow Cursor | F |
Preditor Mode | P |
Menu | Tab |
Mute/Unmute | M |
Restart | R |
Pause/Play | Space |
Escape | Esc |
- Control Speed of Boids by 4th Slider
- Move Cursor to change (green sector) to set the Feild-of-view of Boids
Enjoy,
Fell Free to give suggestions