From fae3b56781b0125b59f1f530a05f13b9ac7c075e Mon Sep 17 00:00:00 2001 From: Robert Date: Tue, 9 Mar 2021 21:46:48 +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 178bc17e..2599abc8 100644 --- a/pendulum/main.js +++ b/pendulum/main.js @@ -173,7 +173,7 @@ function simulate() function setup() { - canvas = createCanvas(1400, 800); + canvas = createCanvas(displayWidth - 100, displayHeight / 4 * 3); canvas.mouseClicked(handleClick); }