The birds in this clip were animated in After Effects, but their flocking motion was generated in Processing.