box2d-wasm
TypeScript icon, indicating that this package has built-in type declarations

7.0.0 • Public • Published

box2d-wasm

Box2D compiled to WebAssembly. Demo.
Demo includes sourcemaps to original C++ source.

Compatibility: Box2D v2.4.1

Asset Purpose Size Size (.gz)
Box2D.js Provides helpers for you to invoke functionality from Box2D.wasm 290kB 40kB
Box2D.wasm Box2D physics engine 213kB 78kB

Detailed TypeScript declarations are included (generated via webidl-to-ts from WebIDL bindings).

Installation

Install the box2d-wasm npm package

npm i --save box2d-wasm

Then check out the documentation.

License

Zlib-licensed.
Links against MIT-licensed code from Erin Catto's box2d.
Compiles Zlib-licensed code from Alon Zakai's box2d-js.

Developing this package

See README.dev.md.

Readme

Keywords

none

Package Sidebar

Install

npm i box2d-wasm

Weekly Downloads

57

Version

7.0.0

License

Zlib

Unpacked Size

2.02 MB

Total Files

24

Last publish

Collaborators

  • birch-san