News for hackers. Stuff that matters.
Re:Mo.js: motion graphics toolbelt for the web by usaphp on Tuesday January 17, 2017 @02:07PM (#13420163)
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.

Re:Mo.js: motion graphics toolbelt for the web by demarq on Tuesday January 17, 2017 @04:05PM (#13421180)
Are you talking about Mojs animations or web animations in general?
Re:Mo.js: motion graphics toolbelt for the web by have_faith on Tuesday January 17, 2017 @03:32PM (#13420895)
A 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.
Re:Mo.js: motion graphics toolbelt for the web by Geee on Tuesday January 17, 2017 @08:05PM (#13423132)
Must 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.
Re:Mo.js: motion graphics toolbelt for the web by usaphp on Tuesday January 17, 2017 @10:06PM (#13423652)
Have you tried running any examples from threejs? Is it smooth too?
Re:Mo.js: motion graphics toolbelt for the web by mtrycz on Tuesday January 17, 2017 @03:35PM (#13420927)
I 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.

Re:Mo.js: motion graphics toolbelt for the web by TFortunato on Wednesday January 18, 2017 @07:32AM (#13425867)
Out 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.
Re:Mo.js: motion graphics toolbelt for the web by afghanPower on Tuesday January 17, 2017 @02:25PM (#13420311)
Advanced js animations lag on my desktop computer. (GTX 1080, 16GB RAM, i5 2500k). Javascript apparently isn't that efficient for calculations.
Re:Mo.js: motion graphics toolbelt for the web by ashark on Tuesday January 17, 2017 @03:26PM (#13420843)
Yeah, 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.
Re:Mo.js: motion graphics toolbelt for the web by KaoruAoiShiho on Tuesday January 17, 2017 @06:50PM (#13422681)
Do you use firefox?
Re:Mo.js: motion graphics toolbelt for the web by mixmastamyk on Tuesday January 17, 2017 @02:49PM (#13420524)
I'd guess that javascript is not as fast as C++, and the animations are not hardware accelerated.