void setup() { size(800, 800); background(0); } void draw() { star(width/2.0, height/2.0, color(0, 200, 255), 6, 300); star(width/3.0, height/3.0, color(100, 200, 155), 7, 100); } void star(float posx, float posy, color c, int numPts, float size) { for (int i=0; i