alexander-io / flocking-algorithms-pixijs Goto Github PK
View Code? Open in Web Editor NEWInspired by naturally observed flocking and swarming behavior, I wrote an algorithm to reflect. Implemented in 2D vector graphics library PixiJS. There are a few classes including bird, predator, and barrier. Drop a barrier by clicking with mouse.