From 11eca63b6d59b74519721c54e7a514d237298209 Mon Sep 17 00:00:00 2001 From: "Sebastian @ HfG" Date: Tue, 9 Apr 2024 13:21:32 +0200 Subject: [PATCH] init --- index.html | 15 +++++++++++++++ sketch.js | 12 ++++++++++++ style.css | 8 ++++++++ 3 files changed, 35 insertions(+) create mode 100644 index.html create mode 100644 sketch.js create mode 100644 style.css diff --git a/index.html b/index.html new file mode 100644 index 0000000..40698de --- /dev/null +++ b/index.html @@ -0,0 +1,15 @@ + + + + + + + + + + +
+
+ + + diff --git a/sketch.js b/sketch.js new file mode 100644 index 0000000..8d9bf69 --- /dev/null +++ b/sketch.js @@ -0,0 +1,12 @@ +function setup() { + createCanvas(400, 400); + } + + function draw() { + background(220); + for(let j = 0; j < 50; j++){ + for(let i = 0; i < 50; i++){ + rect(i*50,j*50,20,20); + } + } + } \ No newline at end of file diff --git a/style.css b/style.css new file mode 100644 index 0000000..425f359 --- /dev/null +++ b/style.css @@ -0,0 +1,8 @@ +html, body { + margin: 0; + padding: 0; + } + canvas { + display: block; + } + \ No newline at end of file