I can’t imagine the way you build this website is the same way you build your static sites or a landing page. Is it WebGL? Looks extremely complex to be honest.
You can take a look at the script in the website's sources - it's inline.
If this was still 2004, you could have gone to DyanmicDrive.com and stolen some sample code.
https://web.archive.org/web/20040117050039/http://dynamicdri...