added many debug logs

This commit is contained in:
2025-01-17 16:34:26 +01:00
parent 96b6beaa93
commit 47dfcd852f
5 changed files with 35 additions and 12 deletions
+2
View File
@@ -15,6 +15,8 @@ function addStars() {
let randX = randomInt(0, 256)
let randY = randomInt(0, 256)
debugPrint("Star pos", `[x${randX}, y${randY}]`)
starNoise.style.top = `round(calc(${randX}px * var(--pxDensity)), var(--pxDensityPx))`
starNoise.style.left = `round(calc(${randY}px * var(--pxDensity)), var(--pxDensityPx))`
}