5 Patterns

01
void setup() {
size(800, 800);
}

void draw() {
background(202,233,107);
noStroke();
fill(50,100,191);

for (int y = 50; y <=750; y += 50){
for (int x = 50; x <=750; x += 50){
ellipse(x, y, 20, 20);
}
}
}

 

 

 

02

 

void setup() {
size(800, 800);
}

void draw() {
background(161,220,223);
noStroke();
fill(50,100,191);

for (int y = 50; y <=750; y += 50){
for (int x = 50; x <=750; x += 50){
rect(x, y, 15, 25);
}
}
}

 

 

 

03
void setup() {
size(800, 800);
}

void draw() {
background(233,161,171);
noStroke();
fill(247,248,230);

for (int y = 50; y <=750; y += 20){
for (int x = 50; x <=750; x += 20){
ellipse(x, y, 10, 10);
}
}
}

 

 

 

04

void setup() {
size(800, 800);
}

void draw() {
background(233,161,171);
noStroke();
noFill();

for (int y = 50; y <=750; y += 30){
for (int x = 50; x <=750; x += 30){
ellipse(x, y, 200, 200);
stroke(255);
}
}

for (int y = 50; y <=750; y += 30){
for (int x = 50; x <=750; x += 30){
ellipse(x, y, 50, 50);
stroke(255);
}
}
}

 

 

 

 

05
void setup() {
size(800, 800);
}

void draw() {
background(233,163,86);
noStroke();
noFill();

for (int y = 50; y <=750; y += 30){
for (int x = 50; x <=750; x += 30){
ellipse(x, y, 10, 10);
stroke(255);
}
}

for (int y = 50; y <=750; y += 50){
for (int x = 50; x <=750; x += 50){
ellipse(x, y, 40, 40);
stroke(255);
}
}
}

 

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s