Skip to content

cpettitt/ccd-viz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a project to visually, and interactively, explore various collision detection algorithms.

aabb-aabb-ccd.html

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.

AABB / AABB CCD

Design Notes

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.

License

The code in this project is licensed under the terms of the MIT License.

About

Visualization of collision detection algorithms

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published