class Blip { // color color shade; // vertical position on screen float position; // width float size; Blip( color c, float p, float s ) { shade = c; position = p; size = s; } void draw() { fill( shade ); rect( width/2, position, size, 10 ); } }