4 ms·
Why in 2017, where we have 8 core processors and 1080 videocards and games that look like real life, even my 2016 high specs rMBP starts to blow fans full spee
by usaphp 10y ago
Why in 2017, where we have 8 core processors and 1080 videocards and games that look like real life, even my 2016 high specs rMBP starts to blow fans full speed and lag whenever I try to run this basic animation in the browser, why these basic web animations require so much processing??
btw Great job with this project, I am going to use it for some ui elements in my projects, I especially love the twitter stars animation.
- afghanPower 10y agoAdvanced js animations lag on my desktop computer. (GTX 1080, 16GB RAM, i5 2500k). Javascript apparently isn't that efficient for calculations.
- ashark 10y agoYeah, these are really cool and the player/editor look like some of the good parts of the Flash editor brought to JS, but judging from performance on my MBP using this on mobile would be a great way to turn a phone into a hand warmer, while achieving an astounding 5 FPS of animation.
- KaoruAoiShiho 10y agoDo you use firefox?
- mixmastamyk 10y agoI'd guess that javascript is not as fast as C++, and the animations are not hardware accelerated.
- have_faith 10y agoA combination of JS and the DOM. The latter being the main culprit if you're moving actual dom elements as opposed to canvas or webgl.
- mtrycz 10y agoI have a recurrent issue where I have two graphics cards in my laptop (it's practically a standard for years now). A decent high power card, and a simple low power card maybe integrated into the processor. When you start an application, one of the two cards will handle that application. I generally can't my browser with the high power card; probably because browser vendors don't want to sacrifice battery life all of the time for some fancy effects a small slice of the time. But I'm no expert. Chrome seems to handle things better than Firefox, that's why I still have it.
- TFortunato 10y agoOut of curiosity, are you running an Nvidia card? (This may apply to radeons as well, but I don't have any experience)... For the NVidia drivers at least, there is an option to select which graphics card to use on a per-application basis. Normally the drivers default to auto-selecting what it thinks is best, but you can override that in cases like this.
- demarq 10y agoAre you talking about Mojs animations or web animations in general?
- Geee 10y agoMust be something wrong with your computer / browser. With my 2011 iMac it is absolutely smooth, and there's no increase in CPU use. It's the same on iPhone 6, and it doesn't warm up at all.
- usaphp 10y agoHave you tried running any examples from threejs? Is it smooth too?