I used a tutorial to make this. You can change the variables by holding your mouse on the left. You can also interact with the boids by holding your mouse close to them.
Thanks to @griffpatch for the tutorial :)