Skip to content

Visualize GJK collision detection in various dimensions

Notifications You must be signed in to change notification settings

hamaluik/gjk-demos

Repository files navigation

GJK Collision Detection Demos

In trying to learn and implement my own GJK collision detection, I found it necessary to create some actual code and visualize the results. The efforts of which are recorded here.

This project draws to some canvases and can be demoed here: http://FuzzyWuzzie.github.io/gjk-demos/

Or just previewed as gifs:

1D, no intersection

1D, intersection

2D, no intersection

2D, intersection (but poor choice of initial direction)

2D, intersection (choosing initial direction to be the difference between the centres of the two shapes)

About

Visualize GJK collision detection in various dimensions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages