press space to spawn units iterates done = # of collisions done per physics update num units = # of units shown on screen num spawn = slider for the user to change, spawns # of entities every time they press space
https://turbowarp.org/1226022192 ^^^ use turbo warp link to significantly increase entity max time complexity is O(2n) instead of O(n^2), uses a physics grid to check neighboring grid cells instead of iterating through each iteration