An update to Bouncing Balls II, except using a quadtree as the data structure. In informal experiments on my computer, this results in a performance increase of greater than 2x.
TODO:
https://d3js.org/d3-random.v1.min.js
https://d3js.org/d3-quadtree.v1.min.js
https://unpkg.com/three@0.105.2/examples/js/libs/stats.min.js
https://unpkg.com/geometric@2/build/geometric.min.js