Flocking simulator