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); }