This code accompanies this post: https://jamiethompson.me/posts/GJK-Collision-Detection/
The code is verbosely commented in order to be read directly.
You need these dependencies to run this project:
- node
 - yarn
 
- Clone this project.
 - Install yarn dependencies: 
yarn. - Run the project: 
yarn start. 
The program should output to the terminal.