https://github.com/starweb-libs/physics
SAT and circle collision detection for the browser
https://github.com/starweb-libs/physics
2d browser collision physics sat starweb typescript
Last synced: 1 day ago
JSON representation
SAT and circle collision detection for the browser
- Host: GitHub
- URL: https://github.com/starweb-libs/physics
- Owner: starweb-libs
- License: mit
- Created: 2026-06-05T16:38:40.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2026-06-27T23:04:24.000Z (1 day ago)
- Last Synced: 2026-06-28T00:16:46.849Z (1 day ago)
- Topics: 2d, browser, collision, physics, sat, starweb, typescript
- Language: TypeScript
- Homepage: https://npmjs.com/package/@starweb-libs/physics
- Size: 24.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```bash
npm install github:starweb-libs/physics
```
## License
MIT — see [LICENSE](./LICENSE) for details.