/* Name: Circles Description: It draws in two or more yen at random. Version: 1.1 Author: Noritaka Horio Website: http://sharedhat.com/ */ int loopCount = 20; int plusValue = 5; void setup() { size(width,height); background(#FFFFFF); smooth(); noLoop(); noStroke(); } void draw() { for (int i = plusValue; i < (plusValue * loopCount); i += plusValue) { fill(color( random(0, 255), random(0, 255), random(0, 255), random(0, 100) )); float xPos = random(0, width); float yPos = random(0, height); if (xPos < i) { xPos = i; } if (yPos < i) { yPos = i; } ellipse(xPos, yPos, i, i); } }