If performance were not a major issue, I think you could do the whole thing in a couple lines by parallelizing a random stream and filtering by isInside
↧