import processing.svg.*;
void setup(){
size(900, 900);
background(245);
beginRecord(SVG, "processing_test.svg");
for(int i=0;i<100;i++)
{
line(random(width), random(height), random(width), random(height));
}
endRecord();
}
void draw(){
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter