/gjk-ts-implementation

Gilbert-Johnson-Keerthi 2D TypeScript implementation

Primary LanguageTypeScriptMIT LicenseMIT

Gilbert-Johnson-Keerthi 2D TypeScript implementation

This code accompanies this post: https://jamiethompson.me/posts/GJK-Collision-Detection/
The code is verbosely commented in order to be read directly.

Running

Environment

You need these dependencies to run this project:

  • node
  • yarn

Steps

  1. Clone this project.
  2. Install yarn dependencies: yarn.
  3. Run the project: yarn start.

The program should output to the terminal.