My implementation of Bridson's algorithm Poisson-Disk Sampling seems to be stuck in an infinite loop
问题 A video by Sebastion Lague explained the Bridson's algorithm really well. To oversimplify, Create cell grid that has sides of radius/sqrt(2). Place initial point and list as spawnpoint. Place point into cell in grid. For any spawnpoint, spawn a point between radius and 2*radius. Look at the cells 2 units away from cell of new point. If contains other points, compare distance. If any point is closer to new point than the radius, new point is invalid. If new point is valid, new point is listed