about summary refs log tree commit diff
path: root/www/scripts/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/scripts/test.js')
-rw-r--r--www/scripts/test.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/www/scripts/test.js b/www/scripts/test.js
deleted file mode 100644
index e9afd91..0000000
--- a/www/scripts/test.js
+++ /dev/null
@@ -1,14 +0,0 @@
-const canvas = document.getElementById("JSCanvas");
-const ctx = canvas.getContext("2d");
-
-function draw() {
-    ctx.strokeStyle = "#" + Math.floor(Math.random() * 16777216).toString(16).padStart(6, '0')
-    ctx.beginPath();
-    ctx.moveTo(Math.random() * 511, Math.random() * 511);
-    ctx.lineTo(Math.random() * 511, Math.random() * 511);
-    ctx.stroke();
-}
-
-for (let i = 0; i < 50; i++) {
-    draw()
-}