urgn / SAT-collisions

JavaScript implementation of Separating Axis Theorem for polygon collisions.

Home Page:https://yurgeen.github.io/SAT-collisions/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SAT collisions

JavaScript implementation of Separating Axis Theorem for collisions. The code represents the sample 2D collision detection for rotated and non square polygons.

The demo is accessible on the following link.

As the theoretical base was taken the tutsPlus tutorial.

About

JavaScript implementation of Separating Axis Theorem for polygon collisions.

https://yurgeen.github.io/SAT-collisions/


Languages

Language:JavaScript 95.3%Language:HTML 4.7%