Java port of a simple, open source, 2D impulse based physics engine for educational use.
Switch branches/tags
Nothing to show
Pull request Compare This branch is 18 commits ahead, 1 commit behind RandyGaul:master.
Latest commit 28ebc82 Jun 30, 2015 @ClickerMonkey Merge pull request #1 from pieter3457/patch-1
fix minor friction calculation bug
Failed to load latest commit information.
.classpath First Commit! Jun 20, 2013
.gitattributes Initial commit May 31, 2013
.gitignore First Commit! Jun 20, 2013
EclipseFormatter.xml First Commit! Jun 20, 2013 First Commit! Jun 20, 2013
jimpulse.jar Updated demo and jar Jun 21, 2013


Java port of Impulse Engine Created by Philip Diffenderfer

The Impulse Engine is a small 2D physics library written in Java and has no third-party-library dependencies.

This port is meant to be nearly an exact port, additional comments and functions have been added to the vector (Vec2) and matrix (Mat2) classes. The port does needlessly instantiate Vec2 and Mat2 objects (opposed to using a cache of these objects) but no negative effects have been measured.

This project was created and developed in Eclipse, the formatter is included.

In the test folder, there is a simple game engine that uses Java2D in order to show how the library works (taken from my blog - To run the demo download jimpulse-demo.jar and run it.

This has been tested with Java 1.6 and 1.7.

Screenshot of TestImpulseEngine

 photo ImpulseEngine_zps05c537c9.png