The following is the Processing sketch saved as SVG.
import org.philosoft.p8g.svg.P8gGraphicsSVG;
P8gGraphicsSVG svg;
void setup()
{
size(1000, 1000);
svg=(P8gGraphicsSVG) createGraphics(width, height, P8gGraphicsSVG.SVG, “test3.svg”);
beginRecord(svg);
println(“Use letter S to save image and letter Q to quit the sketch”);
}
void draw(){
if (mousePressed){
fill(100);
}else {
fill (255);
}
line(mouseX, mouseY, 500, 500);
}
void keyPressed(){
if(key == ‘s’)
{
svg.endRecord();
println(“Saved.”);
}
else if (key == ‘q’)
{
svg.clear();
exit();
}
}
Opened in Illustrator:
And laser etched on transparent paper:
Laser cut option:
Material: Velum
0.11 mm