Displaying 1 to 20 from 141 results

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.

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.




phaser-examples - Contains hundreds of source code examples and related media for the Phaser HTML5 Game Framework

  •    Javascript

Looking for Phaser 3 Examples? They are in their own repo. Phaser v2 is a fast, free and fun open source HTML5 game framework. It uses Pixi.js for WebGL and Canvas rendering across desktop and mobile web browsers. Games can be compiled to iOS and Android apps via 3rd party tools.

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.

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

  •    Javascript

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


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.

insect - High precision scientific calculator with support for physical units

  •    PureScript

A high precision scientific calculator with full support for physical units. Operators: addition (+), subtraction (-), multiplication (*, ·, ×), division (/, ÷, per), exponentiation (^, **). Full list: see Reference below.

osmnx - OSMnx: Python for street networks

  •    Python

Retrieve, construct, analyze, and visualize street networks from OpenStreetMap: full overview. You can just as easily download and work with building footprints, elevation data, street bearings/orientations, and network routing.

Advance - Physics-based animations for iOS, tvOS, and macOS.

  •    Swift

Physics-based animations for iOS, tvOS, and macOS. In contrast to standard UIView animations, Advance animations are applied on every frame (using CADisplayLink on iOS).

matter-js - a 2D rigid body physics engine for the web โ–ฒโ— โ– 

  •    Javascript

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.

whs.js - :rocket: ๐ŸŒช Super-fast 3D framework for Web Applications ๐Ÿฅ‡ & Games ๐ŸŽฎ. Based on Three.js

  •    Javascript

whs is currently at v2 major version. We don't have clear plans for v3 yet. So v2 will probably remain the main stable version until at least 2018. We try to publish patch releases every 20 days or even more often.

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

  •    CoffeeScript

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.

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.

toxiclibsjs - Toxiclibsjs is a library for computational design tasks with JavaScript

  •    Javascript

Toxiclibs.js is a port of Karsten Schmidt's Toxiclibs for Java and Processing. Toxiclibs.js provides powerful datatypes for the browser and node. It works well for manipulating any DOM element, including Canvas and SVG. The plethora of examples demonstrate its use for geometry and color manipulation as well as physics, automata and more. The examples pair with such fine libraries as: Processing.js, Three.js, D3.js or Raphael.js.

PhysicsLayout - Android layout that simulates physics using JBox2D

  •    Java

If you want to see what your layout looks like when physics is applied to it, simply change your root layout to a physics layout.

Rebound - Spring Animations for Android

  •    Java

Rebound is a java library that models spring dynamics. Rebound spring models can be used to create animations that feel natural by introducing real world physics to your application.Rebound is not a general purpose physics library; however, spring dynamics can be used to drive a wide variety of animations. The simplicity of Rebound makes it easy to integrate and use as a building block for creating more complex components like pagers, toggles, and scrollers.