스크롤이 진행되면 헤더가 작아지거나 위로 숨고 반대 방향으로 움직이면 다시 나타난다.A header hides or shrinks during scrolling and returns when direction changes.
아래로 스크롤할 때 헤더가 숨고 위로 돌리면 다시 나타난다
방향이 조금만 바뀌어도 헤더가 깜박인다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 기본 지속 | 0.3s | 0.18~0.45s | 1920x1080 시연 기준의 한 동작 시간 |
| 방향 감지 거리 | 8px | 6~20px | 대상 크기와 정보 밀도에 맞춰 조절한다 |
| 이징 | power2.out | none | power2.out | power2.inOut | 진행값은 none, 정착은 power2.out을 쓴다 |
tl.set('.header', {y:0});
tl.to('.header', {y:-96,duration:.3,ease:'power2.out'}, .4);
tl.to('.header', {y:0,duration:.3,ease:'power2.out'}, 1.2);그대로 붙여 넣는다Paste as is
<대상>에 반응형 헤더 모션을 적용해. 스크롤이 진행되면 헤더가 작아지거나 위로 숨고 반대 방향으로 움직이면 다시 나타난다. 기본 지속 0.3초, 방향 감지 거리 8px, 이징 power2.out를 사용하고 <파일>에 결정론적 paused 타임라인으로 구현해. 위 핵심 코드의 선택자를 대상 구조에 맞추고 완료 상태를 유지해.
Apply Adaptive Header Motion to <target> in <file>. A header hides or shrinks during scrolling and returns when direction changes. Use a 0.3-second duration, an 8px direction threshold, and power2.out easing. Implement the core snippet with selectors matching the target, using a deterministic paused timeline, and retain the final state.
<파일>의 시연 장면에서 <대상>에 반응형 헤더 모션을 적용해. 기본 지속 0.3초, 방향 감지 거리 8px, 이징 power2.out를 사용해. 0초, 0.15초, 0.7초를 캡처해 초기 상태, 중간 변화, 완료 상태를 확인하고 같은 시점 seek 결과가 일치하는지 검증해.
Apply Adaptive Header Motion to <target> in the demonstration scene in <file>. Use a 0.3-second duration, an 8px direction threshold, and power2.out easing. Capture at 0, 0.15, and 0.7 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