/* Draw a circle in the center and fill it with smaller circles Owen Mundy: http://owenmundy.com cc 2009 */ Canvas canvas; Point[] points = new Point[500]; void setup() { size(600,600); noStroke(); background(0); smooth(); canvas = new Canvas(); for (int i = 0; i < points.length; i++) { points[i] = new Point(); } } void draw() { for (int i = 0; i < points.length; i++) { points[i].display(); } noLoop(); }