Bird rotation rads:

Box rotation rads:

||

the forces acting on the birds are as follows:

to illustrate how the idea of neighbors works, one bird starts out blue. Every bird they consider their neigbor also turns blue.