Hello, i really need help… i have a task from my teacher to create this thing… but i have no clue… me and my friends are so very confused…
void setup() {
size(200,200);
background(255);
}
void draw() {
for (int x = 35; x < 165; x += 10){
for (int y = 30; y < 165; y += 15){
fill(0);
rect(x , y, 3, 10);
}
}
}
Thank You for your Help friends!
Now i have finish my assignment
This is my code:
void setup(){
size(300,300);
background(255);
}
void draw(){
for (int x = 50; x <= 250; x += 16) {
for (int y = 40; y <= 300; y *= 1.3) {
fill(0);
rect(x,y,3,10);
}
}