   circle.style.scale = (circles.length - index) / circles.length;
  
          circle.x = x;
          circle.y = y;
  
          // Get the next circle in the sequence
          const nextCircle = circles[index + 1] || circles[0];
          x += (nextCircle.x - x) * 0.15;
          y += (nextCircle.y - y) * 0.15;
        });
  
        // Repeat the animation
        requestAnimationFrame(animateCircles);
      }
  
      // Start the animation
      animateCircles();
  
    </script>
  
  </body>
  
  </