Expand description
Liquid motion: the spring presets every component shares, and the press interaction (scale + specular boost) that makes glass feel physical.
Structs§
- Liquid
Motion - Named springs used across the Liquid components (value-space, velocity preserving).
Functions§
- liquid_
press_ scale - Press feedback for glass controls, per the Liquid Glass law: touched glass
GROWS (spring scale toward
pressed_scale— never smaller) and turns MORE TRANSPARENT (the returned content alpha dips while pressed, the reference “…” dots fading as the button lifts). Returns the pressed state so callers can also boost the specular highlight.