deplanty / boids-godot

A small project in Godot 3.5 to simulate boids.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Boids

This is a small project in Godot 3.5 to simulate boids.

Boids is an artificial life program, developed by Craig Reynolds in 1986, which simulates the flocking behaviour of birds. The name "boid" corresponds to a shortened version of "bird-oid object", which refers to a bird-like object.

Wikipedia

Rules

Boids respects 3 elementary rules:

  • Separation: steer to avoid crowding local flockmates
  • Alignment: steer towards the average heading of local flockmates
  • Cohesion: steer to move towards the average position (center of mass) of local flockmates

Example

boids.example.mp4

Sources

https://vanhunteradams.com/Pico/Animal_Movement/Boids-algorithm.html

About

A small project in Godot 3.5 to simulate boids.

License:MIT License


Languages

Language:GDScript 100.0%