m-bocelli / boids-simulation

A 3D implementation of the Boids Algorithm, performed by crows in Unity.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boids-Simulation

A 3D implementation of the Boids Algorithm, performed by crows in Unity.

Any prefab can serve as a boid as long as it contains the Boid script (i.e. the necessary Boid class).

Resources used:
http://www.kfish.org/boids/index.html
https://eater.net/boids
https://www.red3d.com/cwr/boids/

  • Conrad Parker's page not only provides a nice explanation of the rules, but also helpful pseudocode to assist in implementation.
  • Ben Eater's JavaScript implementation introduced me to the idea of applying non-constant factors to the rules of the algorithm.

About

A 3D implementation of the Boids Algorithm, performed by crows in Unity.


Languages

Language:ShaderLab 76.0%Language:HLSL 13.2%Language:C# 10.7%