From a8db77efb30e1cc8e2a69bb6c8f7be8f99f30341 Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 10 Mar 2021 03:10:58 +0100 Subject: [PATCH] added about i gesu --- pendulum/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pendulum/main.js b/pendulum/main.js index 2599abc8..700a9dc3 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); }