Agent based model framework to simulate (1) collective foraging with visual private and social cues and (2) purely vision-based flocking