기준점에서 크기를 비례로 바꿔 펼쳐지는 방향과 크기 변화를 보여 주는 기본 동작Changes size proportionally from an anchor so growth direction and amount read clearly.
모달이 scale 0.96에서 1로 300ms 동안 커지며 중앙에서 펼쳐진다
scale 0에서 시작해 글자가 깨져 보이거나 원점이 요소 밖이라 엉뚱한 방향으로 커진다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 시작 배율 | 0.96 | 0.9~0.98 | 1에 가까울수록 고급스럽다 |
| 길이 | 300ms | 200~450ms | 이동 시간 |
| 원점 | 50% 50% | 방향에 따라 지정 | 막대는 50% 100% |
| 이징 | power3.out | power2~power4.out | 도착이 부드럽게 |
tl.from('.modal', { scale: 0.96, opacity: 0, transformOrigin: '50% 50%', duration: 0.3, ease: 'power3.out' }, 0.3);그대로 붙여 넣는다Paste as is
GSAP으로 <대상>에 스케일 등장을 넣어줘. 0.3초에 scale 0.96, opacity 0에서 시작해 0.3초 동안 scale 1, opacity 1로 power3.out으로 커져. transformOrigin은 50% 50%, 막대라면 50% 100%. 종료 scale은 정확히 1로 두고 paused 타임라인에 넣어.
Add a scale entrance to <target> with GSAP. At 0.3s start at scale 0.96, opacity 0 and grow to scale 1, opacity 1 over 0.3s with power3.out. transformOrigin 50% 50%, or 50% 100% for bars. End scale exactly 1 and use a paused timeline.
<파일>의 <대상>에 scale을 적용해. from({scale 0.96, opacity 0, transformOrigin '50% 50%'}, 0.3s, power3.out, position 0.3). 0.3초·0.45초·0.8초를 캡처해 시작 배율 0.96, 중간, 종료 1.0과 글자 선명도를 확인해.
Apply scale to <target> in <file>. from({scale 0.96, opacity 0, transformOrigin '50% 50%'}, 0.3s, power3.out, position 0.3). Capture at 0.3s, 0.45s and 0.8s to check start scale 0.96, the midpoint, end scale 1.0 and text sharpness.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo