This is a project to visually, and interactively, explore various collision detection algorithms.
This file has a tool for testing moving AABB and static AABB continuous collision detection. Both AABBs are draggable and resizable and the vector angle and magnitude can be altered.
Beyond the original purpose of testing collision detection algorithms this
project presented an opportunity to try out
RxJS. I'm pretty happy with the
results. Strob.js
has the code to hook up different shapes using RxJS
Observables. Hooking up most input and output collapses down to a single line,
where data transformation is not required.
It was also a chance to use interact.js, which simplified the code to make AABBs draggable and resizable.
The code in this project is licensed under the terms of the MIT License.