SVG feDisplacementMap backdrop-filter Live playground

Building glass for the web

Liquid Glass
Playground

Real-time optical refraction for the web. Pick a component — button, navigation bar, dock, card, or switch — and watch every glass surface bend the scene behind it using an SVG displacement map. Tune parameters live with the sliders below or load presets from the gallery with a single click.

Drag the lens

Draggable optical lens

Drag the glass across the stage; edge refraction, center magnification, and chromatic dispersion are computed in real time.

Drag me

Playground

Interactive glass component builder

Select a component and backdrop, then sculpt the glass surface with live sliders. Changes apply instantaneously.

Examples

Preset gallery

Load any preset into the playground above with a single click and customize it live.

How it works

feDisplacementMap, distilled

01

Generate the SDF map

A rounded-rectangle signed distance function is rendered to a PNG map; the red channel encodes horizontal displacement and the green channel encodes vertical shift.

02

Refract the backdrop

feDisplacementMap offsets each pixel according to the map — strong deflection along the beveled edges and zero shift at the center, producing true optical refraction.

03

Compose via backdrop-filter

The filter is bound to live content behind the element via backdrop-filter: url(#id), layered with subtle blur, saturation, and specular highlights.

HNM Labs Developer Command Palette

Developer Platform & Lab Architecture
Dev Hub Developer Portal, SDK Quickstarts & Docs SwiftPM integration snippets, 4-layer system architecture & compatibility matrix Open Docs → Blueprint 4-Layer System Architecture & Zero-Telemetry SLA Inspect presentation, deterministic state, local AI & persistence engineering standards Inspect → Artifact ChiefKit Studio — macOS Universal Artifact (.dmg) Native developer playground, SHA-256 verification & CLI build scripts Download →
Core Pages & Applied Laboratories
Overview HNM Labs Executive & Engineering Overview Release telemetry, interactive iOS walkthroughs, leadership & Web 3.5 graph Open → Registry Product & Open-Source Repository Registry Browse all 10 App Store applications and 21 public GitHub repositories Open → R&D Lab Liquid Glass Optical Refraction Lab Hardware-accelerated SVG feDisplacementMap & chromatic dispersion workbench Launch → Research Applied Research & Engineering Journal Technical publications on SwiftUI, CloudKit, Spatial UX & Web 3.5 by HNM Labs Read → Enterprise Enterprise Inquiries, Partnerships & Support Desk Direct engineering escalation, SDK advisory & application support Contact → Utility Smart Meal Planner Engine Quantity-aware 7-day algorithmic planner with allergen constraints & PDF export Open →
Flagship SDKs & App Store Releases
SwiftPM SwiftState — Unidirectional State & Time-Travel Engine Composable reducers, scoped async effects & deterministic snapshots GitHub ↗ Local AI CoreLocalAIKit — On-Device Apple Silicon AI Kit Zero-cloud-key native SwiftUI local inference panel GitHub ↗ iOS App Epitrack — Clinical Seizure & Health Companion SwiftUI · HealthKit · CoreData · Private CloudKit App Store ↗ iOS App DoNest — Minimal Planner & Calendar System SwiftUI · CoreData · EventKit · Sign in with Apple App Store ↗ iOS App MindyourPs — Focus & Task Rhythm SwiftUI · SwiftData · Deep-Work Sessions App Store ↗ macOS App SideShelfApp — Mac Notch & Edge Workflow Shelf SwiftUI · AppKit · Local File & Summary Shelf Mac App Store ↗
iOS / iPadOS

Project Specification

Release & Distribution Live on App Store
Classification & Milestone Featured Release
Telemetry & Security Audit Zero-Track · Local-First Verified
Principal Engineering HNM Labs (Hakan Kaba & Melda Lara Washington)
Core Frameworks & Runtime Dependencies