Skip to content

s4900744/Project_final

Repository files navigation

#A Simple Flocking System

This needs the NGL graphics library to be installed

#Instructions

alt tag

This is a simple visualization system for a flocking simuator. The controls are, from left to right and top to bottom :

Flock Tab:

  1. Number of boids in the current scene.
  2. Initial position of created boids - Random or Center
  3. Generate a new flock with set number of boids and initial positions
  4. Slider for changing cohesion Weight
  5. Slider for changing separation Weight
  6. Slider for changing alignment weight
  7. Slider for changing scalar speed
  8. Button for adding individual boids
  9. Button for removing individual boids
  10. Button for adding food for the boids to pursue and consume
  11. Button for removing food
  12. Checkbox for setting a leader for the boids to follow
  13. Checkbox for setting a simple game-mode to shoot down boids. Aim and click.
  14. Checkbox for setting a predator for the boids to evade

Obstacle Tab:

  1. Drop-down list of available obstacle shapes
  2. Button to add obstacles
  3. Button to remove obstacles

#Food Pursuit

alt tag

#Obstacle Avoidance

alt tag

#Leader following

alt tag

#'Shotgun mode'

alt tag

About

Semester_final submission

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published