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
- Host: GitHub
- URL: https://github.com/kcxt/boids
- Owner: kcxt
- Created: 2016-07-23T19:25:13.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-24T17:44:21.000Z (almost 10 years ago)
- Last Synced: 2025-04-08T10:40:29.734Z (about 1 year ago)
- Language: Processing
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.**