/boids

A flocking bird simulation

Primary LanguageRust

boids

Introduction

A boid is a simulated bird. From three simple rules, complex patterns and behaviors can emerge. These rules are:

  • Separation: avoid colliding into nearby boids
  • Alignment: face the same direction as nearby boids
  • Cohesion: flock together with nearby boids

Installation

> git clone https://github.com/jakobjpeters/boids
> cd boids
> cargo run

Showcase

boids.mp4