diff --git a/jpc/index.html b/jpc/index.html index b0f70e9..8c3a21a 100644 --- a/jpc/index.html +++ b/jpc/index.html @@ -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;