TGViewer
一个放乱七八糟的东西的地方 一个放乱七八糟的东西的地方 @doesmartinlearntoday · 300 subscribers
Post #826 1.18K

Forwarded from cosine - 前端人の日常频道

#demo #CSS #WebGL #前端 #LiquidGlass #three #WebGPU
Liquid DOM ShowCase | GitHub 仓库
Andrew Prifer 发布了一个名为 Liquid DOM 的库,在 Web 上忠实实现了 Liquid Glass 效果,支持形状变形、动态折射/反射、自适应着色等,并可与 Three.js 集成,运行流畅。
渲染要求浏览器支持 WebGPU 和实验性 HTML-in-Canvas API(需 Chrome Flag 开启)

AI 摘要:Liquid DOM 是一个基于 SDF(Signed Distance Field)的高性能渲染引擎库,实现了 Liquid Glass 的全部视觉属性(形状变形、动态折射反射、自适应着色、色散等),支持 Canvas 与 HTML 混合布局,提供低层 API 和 React 高层 API,可直接采样 Three.js 场景而无需额外性能开销。


AndrewPrifer/2056923983581446529
Dear frontend devs and UI designers. I bring you Liquid DOM, a complete and faithful implementation of Liquid Glass on the Web.

- Shape morphing
- All properties animatable
- Dynamic refraction and reflection
- Adaptive tint
- Adaptive specular highlight
- Dispersion
- Full html integration
- Super fast layout engine that works across Canvas and html
- Pointer event handling
- Framework and renderer-agnostic low level API
- High level React API
- Ootb @threejs and r3f integration

And lots more.

Read on for implementation details and demos.
More from @doesmartinlearntoday
  1. Oct 14, 2026https://x.com/lexnlin/status/2110122106537050584?s=61
  2. Sep 6, 2026https://x.com/scarletkc_/status/2096115424790556698?s=46
  3. Aug 16, 2026睡不着,再补充一点我的想法吧,我是一个对自我边界很敏感的人,这和我从童年开始的一些经历有关。简单来说,我常常会习惯性地对很多事情进行深度分析和拆解,否则就会没来由地缺乏安全感。 当…
  4. Jul 25, 2026今天下班之后,越来越觉得,会说话真的是一种很重要的能力。 😶‍🌫️说话本质上是在传递信息。如果把沟通拆开来看,说什么决定了你想传递的内容和目的,怎么说决定了对方能不能在没有情绪…
  5. Jul 2, 2026For front end designer
  6. Jul 2, 2026https://x.com/stephenhaney/status/2072369858638233843?s=46
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →