import processing.opengl.*; import anar.*; /* * Example for Anar library by Guillaume LaBelle + Julien Nembrini * http://anar.ch */ Obj tower = new Obj(); void setup(){ size(800,400,OPENGL); Anar.init(this); Anar.drawAxis(); initForm(); } void initForm(){ // ///////////////////////////////////////////////////// Param outLength = new Param(50,15,100,"out"); Param inLength = new Param(25,5,100,"in"); Param numSides = new Param(5); Anar.sliders(outLength); Anar.sliders(inLength); Face floorPlan = new Star(outLength,inLength,numSides); tower.add(floorPlan); // ///////////////////////////////////////////////////// Pt center = floorPlan.center(); tower.add(center); // CREATE ALL BARY // for (int k = 0; k<10; k++){ // // Pts sub = new Pts(); // for (int i = 0; i