void setup() { size(300,300); noLoop(); background(0); fill(255, 50); strokeWeight(1); smooth(); } void draw() { pinheads(20, 190); pinheads(90, 150); pinheads(190, 20); pinheads(150, 90); } void pinheads(int x, int y) { ellipse(x, y, x%y, x%y); ellipse(y, x, x%y, x%y); ellipse(300-x, 300-y, x/5, x/5); ellipse(300-y, 300-x, x/5, x/5); }