Processing/SVG/Illustrator/Laser Etch

The following is the Processing sketch saved as SVG.

Screen Shot 2014-10-28 at 12.31.22 PM

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:

Screen Shot 2014-10-28 at 12.30.10 PM

 

And laser etched on transparent paper:

photo

 

Laser cut option:

Material: Velum

0.11 mm

Leave a reply