AI analysis
A motion demo comparing curved, bounded rubber-band drag with linear stretching on two pill-shaped volume sliders.
Two identical pill-shaped volume sliders sit stacked at the center of a white background, each topped by a gray label with a check or cross icon explaining its behavior. The monochrome palette combines a black fill, a warm light gray track, white sans-serif labels and a speaker icon, with soft shadows lifting the components. Dragging the value to either end and pulling past the track makes the slider itself stretch and snap back in a rubber-band effect, while the speaker icon's sound waves change with the volume level. It is a useful reference for comparing drag micro-interaction design such as overscroll resistance curves and boundary handling.
minimal · monochrome · light-mode
claude-opus-5-5 · 2026-12-03 07:02 · Confidence 0.75
Original post
Design Engineering Tip:
Try giving elastic drags a limit.
Most rubber-band effects are linear, so the further you pull, the further it stretches. iOS uses a curve instead: it resists more the further you go and never passes a maximum.
const rubberBand = (x, d, c = 0.55) =>
(1 - 1 / ((x * c) / d + 1)) * d
561 likes · 24 reposts
x.com/gabriell_lab/status/2109996591461355748