Skip to content
monkstone edited this page Nov 9, 2014 · 16 revisions

Using pbox2d in some more detail

You should have ruby-processing and the pbox2d gem installed, from your processing sketch require pbox2d

require 'pbox2d'

# A list we'll use to track fixed objects
attr_reader :box2d, :boundaries, :boxes

In your sketch setup

Clone this wiki locally