int x=0; int y=100; void setup() { size(400,400); background(200,0,0); ellipseMode(CENTER_DIAMETER); rectMode(CENTER_DIAMETER); } void loop() { background(200,0,0); noStroke(); fill(255,100,0); cross(100,100, 25,4); cross(300,250, 25,8); fill(255,255,255); for(int i=0; i<50; i++) { println("i: "+i); } cross(mouseX,mouseY, 50,15); } void cross(float x,float y, float rad, float rad2) { rect(x,y, rad2,rad); rect(x,y, rad,rad2); }