This commit is contained in:
WhyKorp
2024-05-26 23:08:59 +02:00
committed by GitHub
parent e2c959eed4
commit ae2ba7c2d4
+2 -2
View File
@@ -68,8 +68,8 @@
'sketch_231005a/bg/jpc16.png',
];
let imgIndex = 0;
let x = Math.random() * window.innerWidth;
let y = Math.random() * window.innerHeight;
let x = (window.innerWidth - 100) /2;
let y = (window.innerHeight - 100) /2;
let xSpeed = 2;
let ySpeed = 2;