glass-motion
Designs and implements motion for liquid glass style surfaces on the web and in SwiftUI: press and grow, pointer stretch and elasticity, rubber banding, morphing a button into its menu, merging nearby glass shapes, spring tuning, interruption and reversal, and reduced-motion alternatives. Use when the user asks to "make the glass feel liquid", "add a press or squish effect", "stretch toward the cursor", "morph the button into a menu", "merge glass shapes", tune springs or bounce on a glass effect, fix glass animation jank or lag, or respect reduced motion on glassmorphism or frosted glass UI. Do not use for static optics such as refraction strength or bezel shape (use glass-optics), for general page animation without glass, or for frame-rate profiling (use glass-performance).
Pinned to revision ee82f7c01e30, so it is the text this page describes rather than whatever the author pushed since.
Files
Every link opens the file at its source, pinned to the revision this page describes.