Tool Open source
A framework-free WebGL2 package for rendering Apple-inspired translucent glass surfaces for folders, rectangles, pills, and circles. Its renderer models screen-space refraction using a squircle signed-distance-field thickness field, Snell refraction with a meniscus rim, variable-blur scattering, Fresnel reflection, chromatic dispersion, edge highlights, contact shadows, hit testing, and live backdrops. It provides the original frosted V1 renderer and a separate clear optical V2 renderer, each with its own material contract; both can be used together. The package is distributed through npm, requires WebGL2, accepts CSS-pixel element coordinates, and can load image backdrops.
1 use taken from transcripts — each links to the moment in the video.
Recreates translucent Apple Liquid Glass-style interface surfaces with a framework-free WebGL renderer rather than CSS filters. It supports refraction, blur, chromatic dispersion, highlights, shadows, hit testing, and live backdrops.
1 in the library.