p2.js - JavaScript 2D physics library

  •        3

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.

https://github.com/schteppe/p2.js

Tags
Implementation
License
Platform

   




Related Projects

planck.js - 2D JavaScript Physics Engine


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.

Farseer Physics Engine


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.

cannon.js - A lightweight 3D physics engine written in 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.).

PolymorphGame


A University project created in XNA integrating farseer physics engine. Contains some bugs and the code is not of the cleanest. Comments and critics welcome!

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


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


liquidfun - 2D physics engine for games


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


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

Foundational Physics


Foundational Physics is a 2D physics engine written in Java for entertainment and educational purposes. With a robust groundwork, its aim is to provide an easy interface for programmers to easily manipulate a Newtonian physics environment.

AAU P2


This is P2! :-D

Farseer Physics Engine Simple Samples


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.

DEngine - C# XNA 2D Game Engine


A 2D game engine written in C# and XNA. Features animated sprite capability and physics simulation by FarseerPhysics. Includes a level editor, a GUI controls library and a sample RTS game, Factions. Contains A* pathfinding for unit movement and an ants system for AI navigation.

XGate2D - XNA 2D Game Engine


XGate2D is 2D game engine built using XNA Framework. XGate2D currently has 8 features: input handler, animation, Graphical User Interface (GUI), collision detection, physics, particle system, tiling engine, and audio engine.

KLib Engine (XNA)


KLib Engine is a 2D Game engine for the Microsoft XNA Framework. The Goals of KLib Engine are to make many useful features and tools including a physics engine, scene graph, particle engine, post-processing effects, input management and more! Currently KLib Engine consists o...

jsbindings - JavaScript bindings for Objective-C and C


JavaScript Bindings for C / Objective-C (JSB) is the "glue" code (or wrapper code) that sits between native code (C or Objective-C) and JavaScript (JS) code. JSB allows calling native code from JS and vice-versa. That means that you can interact with your favorite native library from JS. As an example, you could create a cocos2d particle system in JS, while its logic and rendering will be executed natively. Or you could create a Chipmunk Physics world in JS, while the whole physics simulation, including the collisions detections, would run natively.

Flatland 2D Physics Library


Flatland is a simple cross-platform object-oriented 2D collision library. It presents a C++ interface to the Open Dynamics Engine physics SDK. Flatland does not handle graphics, but two sample programs are available, both of which use OpenGL.

box2d-jquery - convert your DOM into physical objects using this awesome jQuery wrapper around box2d-web


oh, and before i forget, stop by the jquery conference, it will be cool (i promise), and use the voucher code 'fullstackoptimization' for 5% off. thx to box2dweb http://code.google.com/p/box2dweb/ which is the engine that works in the background.

PhysicsJS - A modular, extendable, and easy-to-use physics engine for javascript


A modular, extendable, and easy-to-use physics engine for javascript. Please visit the website for details about installation and usage.

awayphysics-core-fp11 - Away Physics - 3D physics library for the Away3D Engine in Flash Player 11


Away Physics - 3D physics library for the Away3D Engine in Flash Player 11

Tokamak Physics Engine


Tokamak Physics Engine is a high performance real-time physics library designed specially for games. It supports various physics constraints and has built-in collision function.