by bijection · 1y ago · 0 comments
One of the fun parts of naively n^2 particle simulations is trying to find ways to reduce the algorithmic complexity of collision detection. I remember messing with sweep lines and similar, though I don’t remember what optimizations made it into the final code. [0]
And your projects are really nice too. Wall smasher is amazing!