From b69ddea94297b50d1e4c837a54e30448624cdc4b Mon Sep 17 00:00:00 2001 From: awesomeuser Date: Fri, 7 Jul 2023 21:54:21 +0000 Subject: [PATCH] awdog --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 07b23d0..bc2a158 100644 --- a/index.html +++ b/index.html @@ -33,6 +33,10 @@ color: #fff; } + #awdog { + cursor: pointer; + } + /* unvisited link */ a:link { color: pink; @@ -94,7 +98,7 @@ let a = Math.random() * Math.PI * 2; awdog.style.transform = "translate(" + (Math.cos(a) * intensity) + "px, " + (Math.sin(a) * intensity) + "px)"; if (intensity > 0) { - intensity -= 10 * dt; + intensity -= 20 * dt; } else { intensity = 0; }