import ddf.minim.*; import traer.physics.*; import megamu.shapetween.*; int reflectionHeight = 100; float surface = 400; AudioSample thump; DigiSquare square; ParticleSystem physics; PImage table; PImage reflection; void setup(){ size( 800, 600 ); frameRate( 30 ); colorMode( HSB, 1 ); noStroke(); smooth(); Minim.start(this); thump = Minim.loadSample("BD.mp3", 512); physics = new ParticleSystem( 1, 0.1 ); square = new DigiSquare(); reflection = createImage( width, reflectionHeight, RGB ); Shaper reflectShape = Shaper.getInstance( Shaper.QUAD_OUT ); table = createImage( 1, height, ARGB ); for( int i=0; i