An open API service indexing awesome lists of open source software.

https://github.com/kcxt/boids

This project has been deprecated, see the new Flirds project: github.com/CodingStudiosUK/Flirds
https://github.com/kcxt/boids

Last synced: 11 months ago
JSON representation

This project has been deprecated, see the new Flirds project: github.com/CodingStudiosUK/Flirds

Awesome Lists containing this project

README

          

#Boids
A simulation of carnivorous animals in an environment, written in Processing.

#Instructions
To run the code you will need [Processing](http://processing.org).

#Debugging
**D**, **F** and **G** will show different debug information.
--------

**D** shows the framerate, the current generation, the amount of boids and averages of various statistics.

**F** shows lines between boids which are interacting with each other, the blue half of the line shows the predator, the green half is the prey.

**G** shows various statistics (agression, fullness, max speed, etc) about each boid as red text.

#Seeded random
Pressing the number keys will seed the randomness so that the boids will react in the same way each time.

**NOTE**: Will restart the simulation.

#Saving
You can save a simulation by pressing P and load it by pressing O.

**NOTE**: Saving will overwite any previous 'save.txt' file.

**RENAME ANY SAVE FILES YOU WANT TO KEEP.**