Giter Club home page Giter Club logo

box2d.ts's Introduction

@box2d Monorepository

All Contributors

Work in Progress of a full Box2D ecosystem for the web. This includes TypeScript ports of:

Quick Start

This monorepo is in it's early stage, so to get started, you'll have to taka a look at the testbed project for now.

Monorepo Commands:

Most important commands to execute from the root folder (you need yarn installed):

  • yarn -> install dependencies
  • yarn build -> build all projects
  • yarn build:libs -> build only the libraries
  • yarn build:testbed -> build the testbed
  • yarn credit "<username>" <type> -> Add user to all contributors list. Use quotes, as otherwise wrong people get added.
  • yarn start -> Run testbed locally
  • yarn start:fresh -> Run testbed locally after building all libraries freshly
  • yarn bench -> Run the benchmark using node.js
  • yarn bench:web -> Start a webserver for running the benchmarks using a browser,
  • yarn lint -> Run linters, formatters, etc.
  • yarn lint:fix -> Run linters, formatters, etc. and autofix if possible

The @box2d Ecosystem

@box2d is a full-blown ecosystem for box2d for the JavaScript/TypeScript world. It can be used both in the browser and in node.js

Check out demos and compare performance here: https://lusito.github.io/box2d.ts/

Fair Warning: The whole @box2d ecosystem is in an early stage, so it will probably change a lot before we release the first stable version (1.0.0).

Other packages included in the ecosystem:

  • Benchmark: Based on bench2d by joelgwebber
  • Controllers: From the LiquidFun project
  • Particles: Also from the LiquidFun project
  • Lights: ported from LibGDX
  • Testbed: A set of demos, partially ports of the original projects, partially new ones.

Contributing

We're looking for contributors to make this the best place to start with box2d on the web. Check out the project page for more information: https://github.com/Lusito/box2d.ts

Contributors โœจ

Thanks goes to these wonderful people (emoji key):


Erin Catto

๐Ÿ’ป

Isaac Burns

๐Ÿ’ป ๐Ÿ“ฆ

Maxime Veber

๐Ÿ’ป

finscn

๐Ÿ’ป

lusito

๐Ÿ’ป ๐Ÿšง

Daniel Zhang

๐Ÿค”

This project follows the all-contributors specification. Contributions of any kind welcome!

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.