From d8549f4ab7f388ed6b71a4b46a6dfcf809c25a36 Mon Sep 17 00:00:00 2001 From: Lev Date: Sat, 17 Apr 2021 16:48:53 -0500 Subject: [PATCH] Update updated --- CM2030 Graphics Programming/Topic 1/1.1.5/sketch.js | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/CM2030 Graphics Programming/Topic 1/1.1.5/sketch.js b/CM2030 Graphics Programming/Topic 1/1.1.5/sketch.js index ee83545..9bf5391 100644 --- a/CM2030 Graphics Programming/Topic 1/1.1.5/sketch.js +++ b/CM2030 Graphics Programming/Topic 1/1.1.5/sketch.js @@ -1,11 +1,10 @@ function setup() { - createCanvas(900, 600); - background(0); + createCanvas(900, 600); + background(0); } -function draw() -{ - background(0); - fill(255); - ellipse(mouseX, mouseY, 255); +function draw() { + background(0); + fill(255); + ellipse(mouseX, mouseY, 255); }