This example is part of the Fisica library.

Buttons and bodies by Ricard Marxer This example shows how to create bodies. It also demonstrates the use of bodies as buttons.

Source code: Buttons

Built with Processing

This browser does not have a Java Plug-in.
Get the latest Java Plug-in here.