Update PatternPaint to work with Processing 2.0