Hacker News new | ask | show | jobs
by 3D4y0 3647 days 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>
5 comments

Given 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.

I 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.
Or code it is as a vertex-shader to run on the GPU.

https://aerotwist.com/tutorials/an-introduction-to-shaders-p...

Yeah. It's annoying. Just go straight to the GH page:

https://github.com/monkberry/monkberry

Looks like a pretty good lib, actually.

The 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.