المشاريع
عرض على GitHub
Birch-san/box2d-wasm
حول
Box2D physics engine compiled to WebAssembly. Supports TypeScript and ES modules.
العلوم والهندسةالنمو المقاس للنجوم
- خلال 24 ساعة
- ٠
- خلال 7 أيام
- ٠
- خلال 15 يومًا
- ٠
- خلال شهر
- جارٍ جمع السجل
تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.
README.md
الأصلbox2d-wasm
Box2D v2.4 compiled to WebAssembly. For Box2D v3.0 see this repository

Showcase
- Shapes and rope
- Lunar Survey
- Demonstrates custom gravity
- Fluid simulation
- Uses liquidfun release
- High-performance main loop
- WebGL rendering
Usage
Install the box2d-wasm npm package
npm i box2d-wasm
Then check out the documentation.
Alternative distributions
For additional functionality:
- fluid simulation
- particle simulation
- soft-body collisions
You can install from the liquidfun branch like so:
npm i "box2d-wasm@npm:[email protected]"
License
Zlib-licensed.
Links against MIT-licensed code from Erin Catto's Box2D.
Compiles Zlib-licensed code from Alon Zakai's box2d.js.
Project
Compared to the existing box2d.js package: box2d-wasm aims to support Box2D v2.4.0+ and TypeScript.
Developing in this monorepo
See README.dev.md.
استكشف مشاريع مشابهة ومرتبطة
جارٍ التحميل…