import processing.opengl.*; import processing.xml.*; import geomerative.*; RShape shp; RShape polyshp; RPoint[][] pointPaths; RPoint[] pnts; int scal = 2; int originx = 0; int originy = 0; void setup(){ size(600, 600, P3D); colorMode(RGB, 255); frameRate(24); // VERY IMPORTANT: Allways initialize the library before using it RG.init(this); shp = RG.loadShape("barabara.svg"); } void draw(){ background(0,0); pnts = shp.getPoints(); pointPaths = shp.getPointsInPaths(); // println(pnts); for ( int i = 1; i < pnts.length; i++ ) { fill(255,255,255); stroke(0,0,0); ellipse(originx + pnts[i].x * scal , originy + pnts[i].y * scal, 5, 5); } //////////////// //println("pointPaths: "+pointPaths.length); for(int i = 0; i