From adc8b47772479ab04728a3913b2ca1a239721d98 Mon Sep 17 00:00:00 2001 From: Cametendo Date: Wed, 1 Apr 2026 10:31:11 +0200 Subject: [PATCH] Add shapes --- labyrinth.js | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/labyrinth.js b/labyrinth.js index 0c65eb1..54e9aaa 100644 --- a/labyrinth.js +++ b/labyrinth.js @@ -1,8 +1,17 @@ +let x, y = 0; + function setup() { - + createCanvas(800, 800); + strokeWeight(5); + background("gray"); } function draw() { - + for (let x = 0; x <= width; x += 40) { + for (let y = 0; y <= height; y += 40) { + square(x, y, 40); + } + } + line(width, height, -800, -800); // :3 } \ No newline at end of file