From 9156e80c3759f2d04c609b05407ade2d0a085d00 Mon Sep 17 00:00:00 2001 From: TechRunner Date: Mon, 20 Oct 2025 17:30:03 -0500 Subject: [PATCH] Removed p5 functions that caused home page to hang --- javascript/simulation.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/javascript/simulation.js b/javascript/simulation.js index 93e5356..37ddcf6 100644 --- a/javascript/simulation.js +++ b/javascript/simulation.js @@ -6,20 +6,6 @@ rock = new Image(); rock.src = "/media/Art/Rock1.png"; - -function setup(){ - let canvas = createCanvas(ctx.canvas.width, ctx.canvas.height); -} - -function draw(){ - x = 0; - y = 0; - drawCircle(x, y, 200); - x += 1; - y -= 0.001; - -} - var resolutionTag = document.getElementById("resolutionTag"); resolutionTag.textContent = "document: " + window.screen.availWidth + "x" + window.screen.availHeight + ", inner window: " + window.innerWidth + "x" + window.innerHeight;