Skip to content

dj-mc/enji

Repository files navigation

enji

Optimizations

  • broad phase collision optimization
  • resolve collision interpenetration
  • (efficient) positional correction resolution
  • utilize separating axis theorem (SAT)
  • bounding circle (broad phase) collision method
  • narrow phase (SAT) algorithm

A small 2D physics engine using canvas.

References

matter-js & planck.js
Building a 2D Game Physics Engine
Adam Ranfelt's guide on IBM

About

A small 2D physics engine using canvas

Topics

Resources

Stars

Watchers

Forks