I’m having a lot of trouble trying to finalise my website but for some reason it always causes the fans of my laptop to turn up after running it for a bit (fans don’t turn up straight away but happens after a minute or two). I’m new to three.js and I’m not sure my code is great… It would be great to know if it’s something I’ve done in my three.js code that’s causing the problem or if it’s my other code…
In my scene I have imported a glb scene(hand model with skeleton) and I’ve also created a plane geometry.
Here is my app.js code:
I also checked the Performance with Chrome Dev Tools, I think there’s something wrong with my init() and requestAnimationFrame, as it always says its a long task:
Any help is appreciated! Thanks in advance!