Processing code that mimics swarm of birds chasing prey. As they develop lines are drawn between their positions . The sphere representing the bird changes scale to mimic the flapping wings. Also each biod's mass and scale is randomly generated between a range of values to give differentiation to each member of the swarm.
All code written from i.Geo library developed by Satoru Sugiara please support him here: http://sghr.jp/
Library and tutorials for i.Geo can be found here: http://igeo.jp/
Music: Gah by Arie (http://freemusicarchive.org/music/Arie/Cold_Up_Norf/Gah)