Skip to content

starweb-libs/physics

Repository files navigation

Starweb Physics

SAT and circle collision detection for the browser, built with TypeScript.

Tech Stack

Modules

Module Description
body Rectangle body creation and OBB/AABB adapters
collision SAT and circle collision detection (OBB, AABB, circle)
geometry Corner and projection math
overlap Overlap and containment queries
types Shared collision types

Installation

npm install github:starweb-libs/physics

License

MIT — see LICENSE for details.

Packages

 
 
 

Contributors