if you want motion, remove the noLoop(); expression
if you want different circle colors, add a third parameter to your circle function:
--
void circles(int x, int y, color c){
fill(c);
--
Quote:
float x = 200;
float y = 200;
float Size;
void setup()
{
size(550,400);
background(#FFFFFF);
fill(0, 102, 153, 204);
smooth();
}
void draw() {
float randX = random(-3,3);
float randY = random(-3,3);
float randSize = random(-3,3);
color randCol = color(random(255),random(255),random(255));
x = x+randX;
y = y+randY;
Size = Size + randSize;
circles(x, y,Size,randCol);
}
void circles(float x, float y, float size, color c) {
fill(c);
ellipse(x, y, size, size);
}
try my edit of your code, not sure if this is what you mean, but have a look,
if you want to have "smoother" randomness, take a look at http://processing.org/reference/noise_.html
if you want only one circle, add a background(#FFFFFF); expression to the draw() function.