// circular placement // by aaron siegel (10-18-05) int nodes, radx, rady, offsetx, offsety; float cnt, detail, xpos, ypos, rotation; void setup(){ framerate(60); size(500,500); smooth(); offsetx = 250; // center of ellipse offsety = 250; } void draw(){ background(255); ellipse(offsetx, offsety, 10, 10); // inner ring (ie: google results) detail = 6.28 / 10; ring(100, 100, -3.14, 10, detail); // second ring (second generation results) detail = 6.28 / 20; ring(150, 150, -3.14, 20, detail); // third ring (third generation results) detail = 6.28 / 60; ring(200, 200, -3.14, 100, detail); } void ring(int radx, int rady, float cnt, int nodes, float detail){ for(int i=0; i 3.14){ cnt = -3.14; } } }