Dik üçgenin koordinat ekseninde çizimi ve loop:

Kod:

void setup() {
size(600, 600);
background(12, 124, 89);
for (int a=10; a<=height; a +=100) {
for(int b=10; b<= width; b +=100){
strokeWeight(0.2);
fill(43,48,58);
triangle(a,b,a,b+60,a+80,b+60);
}
}
saveFrame(“pic.jpg”);
}

Mimar Sinan Fine Arts University, Acoustic Consultant in Glass & Sabah / www.akustikmimar.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store