Closed jordanbrotherton closed 6 days ago
The issue is caused by the depth perspective of the background animation. The pointer is supposed to be cast onto the wave surface in the background, but we've scaled and rotated the scene and so now it looks like its misaligned.
I'm aware of this but honestly we've never really considered it to be an issue. I'll be closing this issue since this isn't a priority right now, but feel free to come up with a solution if you're still interested. Massive thank you for taking the time to investigate this though.
On the header animation, the red trail that follows the mouse cursor increasingly becomes misaligned the further away the mouse is from the middle of the animation area. Looking into it seems to be related to the
onPointerMove
function atsrc/components/Animation/Renderer.tsx
, potentially not accounting for the header?Attached is a video showing the trail on multiple browsers. Shown on the left is a Gecko based browser (Firefox), the middle is a Blink based browser (Chromium), and the right is a WebKit based browser (GNOME Web).
https://github.com/user-attachments/assets/90fa18c0-ecb9-4699-9279-c9b6927f5ae5