Category Archives: JavaScript

Determine if two rectangles overlap each other in JavaScript

Stack Overflow has a good post on determining if two rectangles are overlapping.  I used the discussed algorithm to check for an overlap and then move one away.  I’m only moving up or down depending on which rectangle is higher … Continue reading

Posted in JavaScript | 2 Comments