Liquid Glass in the Browser: Refraction with CSS and SVG
111–120 of 127 posts
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#112Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#113Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#114Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#115That said, I've seen many attempt to recreate the effect on web but you've outdone them all. The variety and mathematical modeling of edge shapes elevates this implementation above the rest.
If you decide to continue with this, I would love to see:
1. chromatic aberration along displaced areas
2. higher resolution in the refraction
Many people discussing performance issues but this runs like butter on my M3 Pro.
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#116Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#117Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#118Impressive but also impressive in that scrolling down through the examples makes my fully-loaded M4-Max Macbook Pro judder. I hate to imaging the performance of a full UI leveraging this stuff. Apple can do it in the UI because they can optimize the hell out of it.
Haha, I’m the author of the post. I planned to fix the performance issues before posting here (since I knew HN would be quick to point that out), but somebody posted it first. You’re absolutely right — it’s pretty slow right now and needs optimization. And it’s not just the refraction/displacement map: plenty of other parts, like visualisations, aren’t optimized yet either.
Man the ptsd that AIs have given us from sentences like this.
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#119Earlier quoted context omitted.
I think I’ve trained myself to ignore shiny boxes outside the main text like that. Most of the time they are trying to sell something.
Me too. Sometimes when I browse the internet with my girfriend aside she comments on something and I have no idea what she means. She has to literally point at the screen and show me the text I've ignored and it's ALWAYS the biggest and most flashy font ever
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#120Nice write up! I'm always happy to see interactive articles. As someone who also do interactive articles from time to time, I'm wondering what is the tech stack you are using to make these?
But it was just a first try, lots of things are still unoptimized. I'll try to do better in a next article.