d3.forceSimulation for https://www.nature.com/articles/s41467-017-01190-3
Observable version: https://beta.observablehq.com/@fil/swarmalator
(See also http://usediscretion.blogspot.fi/2017/01/the-swarmalator.html )
Built with blockbuilder.org
https://d3js.org/d3.v4.js
https://cdnjs.cloudflare.com/ajax/libs/dat-gui/0.6.5/dat.gui.js