What is Boids 3D?

Boids 3D is a tech demonstration based on Craig Reynolds's boids algorithm that simulates flocking behavior observed in nature. 

Boids 3D uses spatial hashing and multi-threading (on the executable available for download) as performance optimizations allowing the simulation in real time of thousands of boids and their interactions.


Why download the executable file?

The executable available for download allows for multi-threading which greatly improves framerate.

  • Max view radius: 5 -> 10
  • Max boid quantity: 15.000 -> 40.000


Controls

Movement:

  • W: Forward
  • A: Left
  • S: Backwards
  • D: Right
  • Spacebar: Up
  • L Shift: Down

Camera:

  • Hold LMB: Look around

GUI Sliders:

  • View radius: The distance at which boids will interact with each other
  • Alignment: How much boids will steer to face the same direction
  • Separation: How much boids will steer to avoid each other
  • Cohesion: How much boids will steer towards their group's center of mass
  • Velocity: How fast boids move around
  • Bounds influence: How much boids will steer to stay inside of a predefined bounding box
  • Boid quantity: Upon being changed resets the number of boids matching its value spawning them at random locations inside a predefined bounding box

Published 1 day ago
StatusPrototype
PlatformsHTML5, Windows
Authorbyte_sized_8
GenreSimulation
Made withUnity
Tags3D, Animals, underwater, Unity, Visualization

Download

Download
Boids 3D.zip 27 MB

Install instructions

  1. Unzip the files in an empty folder.
  2. Run the simulation by double clicking on the executable file.

Leave a comment

Log in with itch.io to leave a comment.