Chrome‑only demo The interactive demo at the end currently works in Chrome only (due to SVG filters as backdrop‑filter). You can still read the article and interact with the inline simulations in other browsers. Dishonor on your WHOLE FAMILY! dishonor on you, dishonor on your cow...
Liquid Glass in the Browser: Refraction with CSS and SVG
61–70 of 127 posts
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#62Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#63This is "just" a glass shader.
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#64Chrome‑only demo The interactive demo at the end currently works in Chrome only (due to SVG filters as backdrop‑filter). You can still read the article and interact with the inline simulations in other browsers. Dishonor on your WHOLE FAMILY! dishonor on you, dishonor on your cow...
I had the same reaction but the weird thing is: it looked ok in FireFox..?
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#65Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#66Good work and pretty but part of me thinks - ah, ok, that's why our 12 orders of magnitude faster computers than zx spectrum lag more.
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#67Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#68Chrome‑only demo The interactive demo at the end currently works in Chrome only (due to SVG filters as backdrop‑filter). You can still read the article and interact with the inline simulations in other browsers. Dishonor on your WHOLE FAMILY! dishonor on you, dishonor on your cow...
I had the same reaction but the weird thing is: it looked ok in FireFox..?
It works on Chromium-based browsers but it does not look great, probably needs some filtering.
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#69Impressive 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.
It ran perfectly smoothly with no perf hit in 2020 mba m1. there are no issues with this.
Re: Liquid Glass in the Browser: Refraction with CSS and SVG
#70Chrome‑only demo The interactive demo at the end currently works in Chrome only (due to SVG filters as backdrop‑filter). You can still read the article and interact with the inline simulations in other browsers. Dishonor on your WHOLE FAMILY! dishonor on you, dishonor on your cow...
Works fine on Firefox tho