I’ve been programming with processing for about a year now, and one thing I never found out was why the lines on rectangles go to the top left of the screen instead of to the sides of the rectangle. Anyone else experience this issue?
code
void setup() {
size(640, 320);
}
void draw() {
background(255);
for (int i = 0; i < 32; i++) {
for (int j = 0; j < 16; j++) {
rect(i * 20, j * 20, i * 20 + 20, j * 20 + 20);
}
}
}