• Stars
    star
    218
  • Rank 180,713 (Top 4 %)
  • Language
    TypeScript
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Box2D physics engine compiled to WebAssembly. Supports TypeScript and ES modules.

box2d-wasm

npm version

Box2D compiled to WebAssembly.

Showcase

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.

More Repositories

1

juicysfplugin

Audio plugin (e.g. VST, AU) to play soundfonts on macOS, Windows, Linux
C++
168
star
2

mpt-play

Command-line script for inferencing from models such as MPT-7B-Chat
Python
95
star
3

falcon-play

Command-line script for inferencing from models such as falcon-7b-instruct
Python
74
star
4

diffusers-play

Repository with which to explore k-diffusion and diffusers, and within which changes to said packages may be tested.
Python
36
star
5

llama-play

Command-line script for inferencing from models such as LLaMA, in a chat scenario, with LoRA adaptations
Python
32
star
6

liquidfun-play-2

TypeScript
27
star
7

liquidfun-play

TypeScript
21
star
8

imagebind-guided-diffusion

Guide diffusion on ImageBind embedding similarity
Python
21
star
9

touhou-walk

Android overlay to make sprites from 東方Project walk around your screen
Java
14
star
10

embedding-compare

Compare embedding similarity
Python
12
star
11

arm-editor-launcher

M1 macOS Launcher for Live2D Cubism Editor
Java
10
star
12

gmusicapi-node

Node bindings for Simon Weber's `gmusicapi` (Unofficial Google Music API)
JavaScript
5
star
13

t5-booru

Python
5
star
14

clip-embed-sim

Python
3
star
15

deprecated-mecab-wasm

[deprecated; prefer Birch-san/mecab] Run Mecab in WebAssembly
JavaScript
1
star
16

wolf-game

PHP
1
star
17

wolf-game-frontend

wolf-game-frontend
TypeScript
1
star
18

cfg-play

try using classifier-free guidance on LLMs
Python
1
star
19

diss

Alex Birch's dissertation on keyboard pointing in web browsers
TeX
1
star
20

weekend

Distributed relaxation using OpenMPI
C
1
star
21

aspect-ratio-bucketer

Jupyter Notebook
1
star
22

audiosynth2

Streaming wave generator based on https://github.com/keithwhor/audiosynth
TypeScript
1
star