Instantly share code, notes, and snippets.
Based on Jason Davies’ implementation of Bridson’s algorithm. See the related explanation.