Interactive javascript implementation of the Vicsek model of active matter. The level of random noise can be adjusted, and new particles can be created by clicking within the window.
Try the simulation for yourself at: https://codepen.io/adsrichards/pen/JjYVZpV.