Recently I have been working with ThreeJS again, and I created this quick React version of the famous boids murmuration. Such a cool bit of code to play with and is essentially just 4 bits of vector maths combined to get the effect. You can open the controls to play with the parameters and get the boids swarming differently or place them in different environments (spherical or cubic).