Box2D Interactive Cogs icon

Box2D Interactive Cogs

Android Education
Offers in-app purchases ($0.00)
You're viewing an Android app.


Technical demonstration of how to use JBox 2D with Android's SurfaceView provides an example of how to use Revolute Joints and how to translate touch screen events into physical interactions within the Box 2D game world. Select a cog by tapping objects on screen. Make the cog rotate using a sweeping motion with one finger. The faster the sweeping gesture the faster the cogs will spin. This application is not a game but a technical demonstration of what is possible with Box2D and Android.

You can find the public GIT repository for this code here:

Quick Stats

3 years

since last update

3 years

since last review