This commit is contained in:
Boof 2023-03-27 11:36:29 +02:00 committed by GitHub
parent c7c41823b0
commit ca9468b367
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,13 +1,13 @@
function setup() {
createCanvas(40, 40);
createCanvas(400, 400);
}
function draw() {
background(220);
//For (var BEGIN; END; INTERVAL){
//DO SOMETHING }
for (var x = 0; x < width; x += width / 5) {
for (var y = 0; y < height; y += height / 10) {
for (var x = 0; x < width; x += width / 40) {
for (var y = 0; y < height; y += height / 40) {
stroke(0);
strokeWeight(1);
line(x, 0, x, height);