/** cool looking shadows on a mini-'workflow' by guru */ void setup() { size(450,100); smooth(); PFont font = createFont("Arial",32); textFont( font ); } void draw() { background(255); paint( g, true ); filter( BLUR, 4 ); translate(-4,-4); paint( g, false ); } void paint( PGraphics g, boolean full ) { if (full) { g.fill(128); } else { g.fill(255); } g.strokeWeight(2); g.stroke(0); g.line( 190, 55, 260, 55); g.line( 250, 50, 260, 55); g.line( 250, 60, 260, 55); g.rect( 40,25,150,60 ); g.rect( 260,25,150,60 ); g.fill(0); g.text( "Cause", 70, 65 ); g.text( "Effect", 295, 65 ); }