News for hackers. Stuff that matters.
Re:Show HN: I built a non-linear UI for ChatGPT by lIIllIIllIIllII on Thursday May 09, 2024 @05:46AM (#40306609)
For what it's worth, one CSS line lags the HELL out of my laptop on the site. It's backdrop-filter: blur(0.1875rem) for modals, like the youtube video popup
Re:Show HN: I built a non-linear UI for ChatGPT by wildrhythms on Thursday May 09, 2024 @08:10AM (#40307359)
I'm a front-end dev and I refuse to apply this effect for this reason. Even on high end laptops it uses way too much power and starts blasting the fans.
Re:Show HN: I built a non-linear UI for ChatGPT by LorenzoBloedow on Thursday May 09, 2024 @04:22PM (#40312570)
Does anyone know why the blur effect always takes so much power? Is there not a way to use the GPU, or is the problem something else entirely?
Re:Show HN: I built a non-linear UI for ChatGPT by niutech on Thursday May 09, 2024 @05:03PM (#40312940)
You can tell CSS to use GPU by adding `transform: translate3d(0, 0, 0);`

Explanation of slow CSS filter performance is in this video: https://www.youtube.com/watch?v=oie6KqSPPlE