matter-js - a 2D rigid body physics engine for the web ▲● ■

  •        17

You can also install using the package managers Bower and NPM. Visit the Getting started wiki page for a minimal usage example which should work in both browsers and Node.js. Also see the Running and Rendering wiki pages, which show how to use your own game and rendering loops.

http://brm.io/matter-js/

Tags
Implementation
License
Platform

   




Related Projects

planck.js - 2D JavaScript Physics Engine

  •    Javascript

Check out Car example on JS Bin to try it in practice. Also see example directory for more testbed usage examples. To receive updates about changes and progress follow @piqnt on twitter.

nphysics - 2 and 3-dimensional rigid body physics engine for Rust.

  •    Rust

Examples are available in the examples2d and examples3d directories. There is also a short (outdated) demonstration video. An on-line version of this documentation is available here. Feel free to ask for help and discuss features on the official user forum. You will need the latest release of the Rust compiler and the official package manager: Cargo.

cannon.js - A lightweight 3D physics engine written in JavaScript.

  •    Javascript

Inspired by three.js and ammo.js, and driven by the fact that the web lacks a physics engine, here comes cannon.js. The rigid body physics engine includes simple collision detection, various body shapes, contacts, friction and constraints. The sample code below creates a sphere on a plane, steps the simulation, and prints the sphere simulation to the console. Note that Cannon.js uses SI units (metre, kilogram, second, etc.).

p2.js - JavaScript 2D physics library

  •    Javascript

2D rigid body physics engine written in JavaScript. Includes collision detection, contacts, friction, restitution, motors, springs, advanced constraints and various shape types. These demos use the p2 Demo framework, which provides rendering and interactivity. Use mouse/touch to throw or create objects. Use the right menu (or console!) to tweak parameters. Or just check the source to see how to programmatically build the current scene using p2.

mujoco-py - MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts

  •    Python

MuJoCo is a physics engine for detailed, efficient rigid body simulations with contacts. mujoco-py allows using MuJoCo from Python 3. Python 2 has been desupported since 1.50.1.0. Python 2 users can stay on the 0.5 branch. The latest release there is 0.5.7 which can be installed with pip install mujoco-py==0.5.7.


simbody - High-performance C++ multibody dynamics/physics library for simulating articulated biomechanical and mechanical systems like vehicles, robots, and the human skeleton

  •    C++

Simbody is a high-performance, open-source toolkit for science- and engineering-quality simulation of articulated mechanisms, including biomechanical structures such as human and animal skeletons, mechanical systems like robots, vehicles, and machines, and anything else that can be described as a set of rigid bodies interconnected by joints, influenced by forces and motions, and restricted by constraints. Simbody includes a multibody dynamics library for modeling motion in generalized/internal coordinates in O(n) time. This is sometimes called a Featherstone-style physics engine. Read more about Simbody at the Simbody homepage.

liquidfun - 2D physics engine for games

  •    C++

LiquidFun is a 2D physics engine for games. Go to our landing page to browse our documentation and see some examples.LiquidFun is an extension of Box2D. It adds a particle based fluid and soft body simulation to the rigid body functionality of Box2D. LiquidFun can be built for many different systems, including Android, iOS, Windows, OS X, Linux, and JavaScript. Please see Box2D/Documentation/Building/ for details.

Physics 2D

  •    CSharp

Physics 2D is 2 Dimensional Rigid Body Physics Engine written entirely in C#. (Has Moved to Google Code! http://physics2d.googlecode.com )

Crisis physics library

  •    C++

Constrained rigid body dynamics simulator, a robust, technologically advanced, fast and maintainable physics engine.

react-game-kit - Component library for making games with React & React Native

  •    Javascript

react-game-kit provides a set of helper components to make it easier to create games with React and React Native.The Loop component uses context to pass a subscribable game tick down your component tree. The Stage component does the same with game scale.

Geist3D

  •    C++

Geist3D is a graphics engine complete with an integrated development environment. It combines an extensible Scene Graph API with a Petri Net runtime kernel, the Lua scripting engine and rigid body physics.

cyclone-physics - The Physics engine that accompanies the book "Game Physics Engine Design"

  •    C++

The Physics engine that accompanies the book "Game Physics Engine Design"

Oimo.js - Lightweight 3d physics engine for javascript

  •    Javascript

Oimo.js is a lightweight 3d physics engine for JavaScript. It's a full javascript conversion of OimoPhysics Originally created by Saharan for actionscript 3.0. Oimo Physics uses international system units: 0.1 to 10 meters max for dynamic body. In basic demo with THREE, I scaled all by 100 so objects are between 10 to 1000 in THREE units.

Farseer Physics Engine Simple Samples

  •    DotNet

As you might know, the original Farseer Physics Engine samples can be alittle hard to understand at first sight. Therefore I have created a small collection of "Simple Samples" / tutorials which shows you how to do different things with the engine, as simples as possible.

Farseer Physics Engine

  •    Silverlight

The Farseer Physics Engine is an easy to use 2D physics engine that focuses on simplicity, useful features and enabling the creation of fun and dynamic games.

phaser - Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering

  •    Javascript

Phaser is a fast, free, and fun open source HTML5 game framework that offers WebGL and Canvas rendering across desktop and mobile web browsers. Games can be compiled to iOS, Android and native apps by using 3rd party tools. You can use JavaScript or TypeScript for development. Phaser is available in two versions: Phaser 3 and Phaser CE - The Community Edition. Phaser CE is a community-lead continuation of the Phaser 2 codebase and is hosted on a separate repo. Phaser 3 is the next generation of Phaser.

phaser-ce - Phaser CE is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering

  •    Javascript

Phaser is a fast, free, and fun open source HTML5 game framework. It uses a custom build of Pixi.js for WebGL and Canvas rendering, and supports desktop and mobile web browsers. Games can be compiled to iOS, Android and native desktop apps via 3rd party tools. You can use JavaScript or TypeScript for development. Years after release, Phaser is still one of the most starred game frameworks on GitHub. Thousands of developers worldwide use Phaser. From indies and multi-national digital agencies, to schools and Universities. Each creating their own incredible games.

LimonEngine - 3D FPS game engine with full dynamic lighting and shadows

  •    C++

LimonEngine is a 3D first person shooter engine, developed as a hobby, to acquire a deeper knowledge of 3D game engine programming. It can load a wide variety of models and skeletal animations thanks to Assimp, has realtime directional and point lights/shadows and physics.

VelcroPhysics - High performance 2D collision detection system with realistic physics responses.

  •    CSharp

It has been years since this code was last touched, and technology has moved a lot since. The code is currently under construction and subject to change. If you need a physics engine right now, please use the previous release. Velcro Physics is a high performance 2D collision detection system with realistic physics responses.

irrBullet

  •    C++

IrrBullet is the most powerful open-source physics wrapper and extension library available for the Irrlicht rendering engine. IrrBullet has a unique design and goal that isn't attempted in other physics wrappers. Whether you are a proficient C++ software developer or someone new to game development, IrrBullet has what you need to make your game or simulation's physics outstanding, and in a much more timely manner than learning and applying the math, design principles, and skills required t