// Sample application demonstrating use of the // SimplePostscript class to output Postscript. // The file "pattern.ps" is output in the main Processing // directory. // // Excample by Toxi - http://www.toxi.co.uk/ // // http://processing.unlekker.net/SimplePostscript/ SimplePostscript ps; void setup() { size(200,200); ps=SimplePostscript.open("pattern.ps",0,0, 200,200); } void draw() { background(255); stroke(0); ps.setlinewidth(0.25); ps.setgray(0); int step=2; for(int y=0; y