끌린 물체가 영역을 잠깐 벗어나 늘어났다가 경계 안으로 돌아온다.A dragged object resists movement beyond a boundary and returns on release.
카드가 오른쪽 경계를 40px 넘었다가 경계로 돌아온다
경계 밖에 놓인 카드를 복귀시키지 않는다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 기본 지속 | 0.4s | 0.24~0.6s | 1920x1080 시연 기준의 한 동작 시간 |
| 경계 초과 이동률 | 0.5 | 0.2~0.6 | 대상 크기와 정보 밀도에 맞춰 조절한다 |
| 이징 | power2.out | none | power2.out | power2.inOut | 진행값은 none, 정착은 power2.out을 쓴다 |
const limit = 240, raw = 320;
const shown = limit+(raw-limit)*.5;
tl.to('.card', {x:shown,duration:.6,ease:'none'}, 0);
tl.to('.card', {x:limit,duration:.4,ease:'back.out(1.2)'}, .6);그대로 붙여 넣는다Paste as is
<대상>에 탄성 경계 복귀을 적용해. 끌린 물체가 영역을 잠깐 벗어나 늘어났다가 경계 안으로 돌아온다. 기본 지속 0.4초, 경계 초과 이동률 0.5, 이징 power2.out를 사용하고 <파일>에 결정론적 paused 타임라인으로 구현해. 위 핵심 코드의 선택자를 대상 구조에 맞추고 완료 상태를 유지해.
Apply Elastic Boundary Return to <target> in <file>. A dragged object resists movement beyond a boundary and returns on release. Use a 0.4-second duration, a 0.5 overscroll factor, and power2.out easing. Implement the core snippet with selectors matching the target, using a deterministic paused timeline, and retain the final state.
<파일>의 시연 장면에서 <대상>에 탄성 경계 복귀을 적용해. 기본 지속 0.4초, 경계 초과 이동률 0.5, 이징 power2.out를 사용해. 0초, 0.2초, 0.8초를 캡처해 초기 상태, 중간 변화, 완료 상태를 확인하고 같은 시점 seek 결과가 일치하는지 검증해.
Apply Elastic Boundary Return to <target> in the demonstration scene in <file>. Use a 0.4-second duration, a 0.5 overscroll factor, and power2.out easing. Capture at 0, 0.2, and 0.8 seconds to verify the initial, intermediate, and final states. Seek to the same times again and confirm identical results.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo