This commit is contained in:
awesomeuser 2023-07-07 21:54:21 +00:00
parent 73d8b73284
commit b69ddea942

View file

@ -33,6 +33,10 @@
color: #fff; color: #fff;
} }
#awdog {
cursor: pointer;
}
/* unvisited link */ /* unvisited link */
a:link { a:link {
color: pink; color: pink;
@ -94,7 +98,7 @@
let a = Math.random() * Math.PI * 2; let a = Math.random() * Math.PI * 2;
awdog.style.transform = "translate(" + (Math.cos(a) * intensity) + "px, " + (Math.sin(a) * intensity) + "px)"; awdog.style.transform = "translate(" + (Math.cos(a) * intensity) + "px, " + (Math.sin(a) * intensity) + "px)";
if (intensity > 0) { if (intensity > 0) {
intensity -= 10 * dt; intensity -= 20 * dt;
} else { } else {
intensity = 0; intensity = 0;
} }