From 98bbd375d46953e4503237a597aef314fac639fc Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 9 Mar 2021 21:52:19 +0100 Subject: [PATCH] Updated pendulum --- pendulum/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pendulum/main.js b/pendulum/main.js index dc8e07d6..8a92bcb2 100644 --- a/pendulum/main.js +++ b/pendulum/main.js @@ -173,7 +173,7 @@ function simulate() function setup() { - canvas = createCanvas(displayWidth - 100, displayHeight / 4 * 3); + canvas = createCanvas(displayHeight / 4 * 3, displayHeight / 4 * 3); canvas.mouseClicked(handleClick); }