Coder Social home page Coder Social logo

codeclown / box2d-wasm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from birch-san/box2d-wasm

0.0 2.0 0.0 993 KB

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

Shell 10.16% JavaScript 22.54% C++ 4.44% TypeScript 58.44% CSS 0.08% HTML 0.81% Svelte 3.53%

box2d-wasm's Introduction

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.

box2d-wasm's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.