Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
macedonianluke committed Oct 25, 2024
1 parent 2d53623 commit 30a46fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/v2/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ document.addEventListener('DOMContentLoaded', () => {

function updateCursor() {
// Use different smoothing factors based on whether hovering over interactive elements
const smoothing = isHovering ? 0.35 : 0.45; // Increased from 0.1 to 0.25/0.35
const smoothing = isHovering ? 0.45 : 0.65; // Increased from 0.1 to 0.25/0.35

const dx = mouseX - cursorX;
const dy = mouseY - cursorY;
Expand Down

0 comments on commit 30a46fd

Please sign in to comment.