~/talk

Liquid Glass In The Browser Refraction With CSS & SVG - Chris Feijoo

Talkat React Paris 2026 · 2026-03-26..03-27· [web-animation, web-platform]
links:none on file
slides:none on file

Recreates Apple’s Liquid Glass refraction in the browser using CSS and SVG, claiming real‑time refraction with simple math (Snell–Descartes law) and a displacement pipeline that maps Cartesian vectors into image channels (R = X, G = Y) by encoding −1→0, 0→128, +1→255. Implementation samples rays across an edge profile, normalizes by max displacement, feeds an SVG feDisplacementMap, and shows working demos (draggable refractive bubble, a switch and slider). A reagent library named refractive is available as pre‑alpha on npm via @hashintel/refractive; demos mostly work though a few drag bugs appeared.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 2:10History of glass in UI design
  3. 5:14Physics of refraction explained
  4. 7:23Creating depth with edge profiles
  5. 9:08Vector field and displacement maps
  6. 11:55SVG filter implementation
  7. 12:58Specular highlights and light vectors
  8. 13:18Live demo of liquid glass effect
  9. 14:00Practical UI components with refraction
  10. 15:46Demos and blog resources
  11. 16:06Announcing the refractive library
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.