An open API service indexing awesome lists of open source software.

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

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.