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