An example of SAT collision detection and resolution I whipped up in JavaScript.