diff --git a/js/particles.js b/js/particles.js index fc0b864..8c79686 100644 --- a/js/particles.js +++ b/js/particles.js @@ -12,8 +12,8 @@ let particlesArray; // get mouse position let mousePosition ={ - x: null, - y: null, + x: undefined, + y: undefined, radius: (canvas.height / 80) * (canvas.width / 80) };