Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 617 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 617 Bytes

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