import processing.xml.*; import processing.opengl.*; import geomerative.*; RShape shp; RPoint[] points; RPoint[] tangents; boolean ignoringStyles = true; int numPoints = 500; void setup(){ size(600, 600); smooth(); g.smooth = true; // VERY IMPORTANT: Allways initialize the library before using it RG.init(this); RG.ignoreStyles(ignoringStyles); shp = RG.loadShape("bot1.svg"); shp = RG.centerIn(shp, g, 100); } void draw(){ translate(mouseX, mouseY); background(#2D4D83); RG.shape(shp); noFill(); stroke(255, 100); points = null; tangents = null; for(int i=0; i