View on GitHub

Balance

Balance an inverse pendulum.

Download this project as a .zip file Download this project as a tar.gz file

About this project

This is a toy project. It was created for me to get familiar with the HTML5 canvas API and the Box2DWeb library.

Demo

Try to keep the pendulum pointed skyward for as long as you can.

Technologies used

Box2DWeb

Box2DWeb is a Javascript port of the famous Box2D physics engine. It enables the realistic simulation of the forces on the pendulum and the resulting motion.

EaselJS

"A Javascript library that makes working with the HTML5 Canvas element easy."