Feedback & Interaction · What a tap feels like
Rubber-banding橡皮筋回弹
- resistant
- physical
- elastic
Past the boundary you can still pull a little, but it gets harder the further you go, and it snaps back on release like a rubber band.
When to use it
It suits any draggable or scrollable boundary; past the edge the content should resist rather than actually move away.
Parameters
overshoot × 0.5 damping · release spring(stiffness 300, damping 30)
Recipe
Rubber-banding → overshoot × 0.5 damping · release spring(stiffness 300, damping 30)
One sentence for your AI
Add rubber-banding to this horizontal scroller: past the edge movement is damped to 0.5×, and release springs back to the edge with stiffness 300 and damping 30.