4 ms·
While the 3D animation is very beautiful, my laptop noticeably started working harder to render the homepage and my fans started to get loud within 15 seconds.
by boberoni 5y ago
While the 3D animation is very beautiful, my laptop noticeably started working harder to render the homepage and my fans started to get loud within 15 seconds.
- onion2k 5y agoThat's one of the most annoying aspects of WebGL. My Android phone runs the demos at 60fps, my M1 Mac Mini is fine, and my top spec 2021 Intel Macbook Pro sounds like a jet engine. It's mostly down to the browser and OS, and a function of screen resolution and GPU 'power', rather than anything to do with the framework or JS aspects.
- brundolf 5y agoThe Intel MacBook Pros have a discrete GPU that's turned off most of the time, and only kicks in under certain circumstances (WebGL seems to be one of those). As soon as it turns on things get hot in my experience, even if it's not being pushed to capacity
- EarthLaunch 5y agoThere's a WebGL (and Threejs) setting for whether to use a discrete GPU: 'powerPreference' [1, 2], with the caveat: "Note that this property is only a hint and a WebGL implementation may choose to ignore it." 1: https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.2 https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.2 2: https://threejs.org/docs/#api/en/renderers/WebGLRenderer https://threejs.org/docs/#api/en/renderers/WebGLRenderer