핵심 그림이나 코드 패널은 같은 위치에 머물고 설명이 스크롤되면서 내부 상태와 강조 범위가 바뀐다.A visual stays pinned while scrolling explanations change its internal state and emphasis.
그림을 고정하고 네 문단을 0.6초 이동시킨 뒤 각 강조를 1.8초 유지한다.
문단과 그림이 모두 이동해 설명 대상의 위치를 다시 찾아야 한다.
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 단계 수 | 4개 | 3~6개 | 단계마다 강조 대상을 하나 정한다. |
| 상태 전환 | 800ms | 400~1000ms | 고정 패널 안에서 전환한다. |
| 읽기 유지 | 1800ms | 1500~3000ms | 전환 뒤 읽는 시간을 둔다. |
| 문단 이동 | 600ms | 400~800ms | 단계당 220px 이동한다. |
| 이징 | power2.out | none | power2.out | power2.inOut | 끝점을 넘지 않는 이징을 쓴다. |
const tl=gsap.timeline({paused:true});
gsap.set('.visual',{position:'absolute',top:120});
for(let i=0;i<4;i++){
tl.to('.prose',{y:-220*i,duration:0.6,ease:'power2.out'},i*2.6);
tl.fromTo('.step-'+i,{opacity:0},{opacity:1,duration:0.8},i*2.6);
if(i)tl.to('.step-'+(i-1),{opacity:0,duration:0.8},i*2.6);
}
tl.to({}, {duration:1.8});그대로 붙여 넣는다Paste as is
<파일>의 <대상>에 고정 장면 스크롤리텔링를 구현해. 핵심 그림이나 코드 패널은 같은 위치에 머물고 설명이 스크롤되면서 내부 상태와 강조 범위가 바뀐다. 단계 수 4개, 상태 전환 800ms, 읽기 유지 1800ms, 문단 이동 600ms, 이징 power2.out를 적용하고 GSAP 코어의 paused 타임라인 하나로 seek 가능하게 작성해. 고정 패널이 작은 화면의 본문을 가리지 않게 한다.
Implement Pinned Scrollytelling for <target> in <file>. A visual stays pinned while scrolling explanations change its internal state and emphasis. Use step count: 4; state transition duration: 800ms; reading hold: 1800ms; paragraph movement duration: 600ms; easing: power2.out in a single paused GSAP core timeline that supports seeking. Keep the pinned panel from covering prose on small screens.
<파일>의 <대상> 장면에 고정 장면 스크롤리텔링를 적용해. 단계 수 4개, 상태 전환 800ms, 읽기 유지 1800ms, 문단 이동 600ms, 이징 power2.out를 사용하고 다음 동작을 구현해: 고정 HTML 패널과 이동 설명 레이어를 두고 GSAP 코어 타임라인에서 문단 위치와 패널 상태를 함께 갱신한다. 플러그인과 Math.random 없이 작성하고 2.6초·6.24초·10.4초를 캡처해 초기 상태, 중간 변화, 최종 상태가 연속적이며 다음 예시와 맞는지 확인해: 그림을 고정하고 네 문단을 0.6초 이동시킨 뒤 각 강조를 1.8초 유지한다.
Apply Pinned Scrollytelling to the <target> scene in <file> using step count: 4; state transition duration: 800ms; reading hold: 1800ms; paragraph movement duration: 600ms; easing: power2.out. A visual stays pinned while scrolling explanations change its internal state and emphasis. Use prepared data or geometry with GSAP core, no plugins, and no Math.random; capture at 2.6, 6.24, 10.4 seconds to verify continuous intermediate geometry, correct endpoints, and identical output after repeated seeks. Keep the pinned panel from covering prose on small screens.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo