Grant Jenks Logo

Augmented Reality Ball BounceΒΆ

Augmented Reality Ball Bounce turns a webcam and whiteboard into a live physics toy: draw the board, detect real obstacles, and project bouncing balls back onto the scene.

The tricky part was aligning the geometry of the projector and webcam. Calibration mode lets you draw a rectangle in the webcam image and another on the screen so that, once they line up, the system can compute the transform needed to align the projected scene with Post-its and other obstacles placed on the wall.