An open API service indexing awesome lists of open source software.

https://github.com/emmanuelmess/gjkdistancealgorithm

Gilbert–Johnson–Keerthi distance algorithm
https://github.com/emmanuelmess/gjkdistancealgorithm

Last synced: 10 months ago
JSON representation

Gilbert–Johnson–Keerthi distance algorithm

Awesome Lists containing this project

README

          

# Gilbert–Johnson–Keerthi distance algorithm

Detects intersection between two convex shapes.

[![Chat on Telegram](https://img.shields.io/badge/Chat%20on-Telegram-brightgreen.svg)](https://t.me/EmmanuelsApps)

Given a function that returns the point in the shape
which maximizes the scalar product with a direction d, and
a centroid of the shape for each shape, I return if any two intersect.

Credit:
* [A Strange But Elegant Approach to a Surprisingly Hard Problem (GJK Algorithm)](https://www.youtube.com/watch?v=ajv46BSqcK4)
----

Become a patreon