Use the jbox2d physics engine in ruby-processing with the pbox2d wrapper
see GitHub - ruby-processing/jbox2d: Gem wrapper for jbox2d for ruby-processing. Now available from
rubygems, make sure to check out built in examples for usage. Loosely
based on Dan Shiffmans GitHub - shiffman/Box2D-for-Processing: Processing JBox2D helper library and examples.
Since updated to version 0.2.0, has a more ruby friendly interface,
parameters set with a hash.