added stars to most pages for a less empty bg

This commit is contained in:
2026-06-28 15:15:40 +02:00
parent 2ff29e74d6
commit dcac48b1e8
12 changed files with 73 additions and 82 deletions
+4 -1
View File
@@ -99,6 +99,7 @@ function toggleGrid(offX = 0, offY = 0) {
let repeatCountY = window.innerHeight / pxDensity
ctx.strokeStyle = "#ff0000"
ctx.strokeSize = 1
ctx.beginPath()
for (x = 0; x < repeatCountX; x++) {
@@ -172,7 +173,9 @@ document.addEventListener("DOMContentLoaded", async function() {
switch (CURRENT_PAGE) {
case (PAGES.SYNTHWAVE): loadingScreenSynthwave(); break
case (PAGES.LICENSE): onLoadLicense(); break
case (PAGES.LICENSE): onLoadLicense(); loadingScreenStars(); break
case (PAGES.TOYS): loadingScreenStars(); break
case (PAGES.LIBS): loadingScreenStars(); break
}
if (navBarPresent) {
+10
View File
@@ -99,4 +99,14 @@ canvas {
}
.switch input:checked + .switchDecor:before {
transform: translateX(calc(4px * var(--pxDensity)));
}
#starNoise {
position: absolute;
top: 0%;
left: 0%;
width: calc(512px * var(--pxDensity));
height: auto;
aspect-ratio: 1 / 1;
image-rendering: pixelated;
transform: translate(-50%, -50%);
}