added many debug logs
This commit is contained in:
@@ -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))`
|
||||
}
|
||||
Reference in New Issue
Block a user