dannyso16 / flocking

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flocking

Boid algorithm implementation. The detail is described here(wikipedia).

You need to import pyxel. Please see here pyxel github.

Files

  • main_boid.py -> Cute slimes are hopping around.

    slimes

  • main_suimi.py -> You can control the flock of fishes.

    スイミー

  • boid.py -> BoidAgent and Boid classes are defined.

  • suimi.py -> This is revised Boid algorithm to control the flock with your keyboard.

About


Languages

Language:Python 100.0%