Bubble b; void setup(){ size(600, 600); b = new Bubble(width/2, height/2, 50, #00FF00); } void draw(){ b.drawBubble(); b.floatUp(); }