ntrols
        document.getElementById('gravitySlider').addEventListener('input', (e) => {
            gravity = parseFloat(e.target.value);
        });
        
        document.getElementById('frictionSlider').addEventListener('input', (e) => {
            friction = parseFloat(e.target.value);
        });
        
        document.getElementById('rotationSlider').addEventListener('input', (e) => {
            rotationSpeed = parseFloat(e.target.value);
        });
        
        // Draw hexagon
       