size (401, 401); //Toimii vain neliön muotoisilla ikkunoilla!
float x = 0;
float y = 0;
float h = width / 2;
float e = height / 2;
while (x < width) {
line (x, height - height, h, e);
x = x 10;
}
while (y < width) {
line (y, height, h, e);
y = y 10;
}
float x = 0;
float y = 0;
float h = width / 2;
float e = height / 2;
while (x < width) {
line (x, height - height, h, e);
x = x 10;
}
while (y < width) {
line (y, height, h, e);
y = y 10;
}
Vastaukset
Vanhimmat
Ei vielä vastauksia
Aloittaja odottaa vastauksia. Kerro oma näkemyksesi ensimmäisenä.