Use the sliders to change various settings Click on a ball to drag it Hold space to add more balls
I used my own physics solver for smoother collision response, which is explained in more detail here: editor.p5js.org/Argumentative/sketches/Wlb3MDTcG It basically just uses an iterative approach for solving collisions, which creates more lag but maintains stability for a broader range of situations