I‘m new to processing and prettz much lacking the time to explore it.., I only found the perfect code for what i need online and now need to export it, but it‘s just not working.. i tried this..
http://processing.org/reference/libraries/pdf/index.html but not working..
(a dxf would work too)
here‘s the code, as i found it on some website, only thing i modified is the image size:
import processing.pdf.*;
int NUMPOINTS;
int MAXORDER;
ArrayList voronois;
ArrayList borders;
ArrayList points;
import processing.pdf.*;
void setup(){
size(250,1500);
smooth();
NUMPOINTS=4; // Number of cells per iteration
MAXORDER=5; // Number of iteration. Total number of cells is NUMPOINTS^MAXORDER