Need Custom Hover Effect on Navigation Link

Locomotive | Montreal web agency I liked hover effect on this website on Navlinks. Does anybody have any thought how to achieve this effect?

@hamza_humayun - The web is an open book meaning you can inspect the code and see what is happening by using your browser. You could look into three.js since they are leveraging that on the site.