w8r
Using Separated axis theorem; For spatial indexing I used mapbox/grid-index, that's the fastest solution for real-time collision detection of uniform rectangles.