I wanted to understand forces.... I sort of do know (though initially I wanted to do a nice gravity simulation and didnt manage to do it - do it beautifully that is, without collision overlap etc...). I ended up making this with some obvious inspiration and code snippets and help fro links below. ✌️
simple study of forces based on https://bl.ocks.org/mbostock/6526445e2b44303eebf21da3b6627320 https://github.com/d3/d3-force#collision https://stackoverflow.com/questions/42790193/how-to-set-the-gravity-strength-in-d3v4-force-simulation https://bl.ocks.org/mbostock/31ce330646fa8bcb7289ff3b97aab3f5 http://mbostock.github.io/d3/talk/20111018/collision.html https://stackoverflow.com/questions/44055869/converting-collision-detection-example-to-from-v3-to-v4-d3