4 ms·
OT: Can somebody please tell em, to stop the excessive use of css animations(the moving star field background). It pegs one of my cores, and raises my laptops t
by 3D4y0 10y ago
OT:
Can somebody please tell em, to stop the excessive use of css animations(the moving star field background). It pegs one of my cores, and raises my laptops temperature to the point where i can feel it. Worse still, it really adds nothing to the ability to peruse information, if anything I find it distracting! </rant>
- pygy_ 10y agoThe background is in its own div with classeslike "stars"and "js-stars", just before the footer. You can delete the div using the DOM inspector to remove them.
- cel1ne 10y agoOr code it is as a vertex-shader to run on the GPU. https://aerotwist.com/tutorials/an-introduction-to-shaders-part-1/ https://aerotwist.com/tutorials/an-introduction-to-shaders-p...
- wtf_srsly 10y agoI think it isn't the animation itself but the blatant abuse of box-shadow to create all the stars. Using an image for example should greatly reduce the required performance.
- lucideer 10y agoGiven this is a website by someone purporting to be providing a "blazingly fast" JS UI lib, comments on UI perf. seem pretty on-topic. Given the general lack of info on the site about why one should choose this library over others (beyond reiterating that it's "blazingly fast"), a showcase of one's claims of speed should be a pretty important aspect of the site. This is not to criticise the library itself, but these kinds of first impressions are significant.
- christophilus 10y agoYeah. It's annoying. Just go straight to the GH page: https://github.com/monkberry/monkberry https://github.com/monkberry/monkberry Looks like a pretty good lib, actually.