Each(function (circle, index) {
        circle.x = 0;
        circle.y = 0;
        circle.style.backgroundColor = colors[index % colors.length];
    });

    // Update the coordinates when the mouse moves
    window.addEventListener("mousemove", function (e) {
        coords.x = e.clientX;
        coords.y = e.clientY;
    });

    // Animation function to move the circles
    function animateCircles() {
        let x = coords.x;
        let y = coords.y;

        circles.forEach(function 