중심점 둘레로 방향을 바꾸는 기본 회전Turns an element around a center point to change its direction.
화살표 아이콘이 300ms 동안 90도 돌아 아래를 가리킨다
회전 중심이 요소 밖이라 궤도를 그리며 흔들리거나, 텍스트를 여러 바퀴 돌린다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 각도 | 90deg | 45~180deg | 한 방향 고정 |
| 길이 | 300ms | 200~500ms | 회전 시간 |
| 원점 | 50% 50% | 요소별 | 아이콘 중앙 |
| 이징 | power2.out | power2~power3.out | 도착에서 감속 |
tl.to('.chevron', { rotation: 90, transformOrigin: '50% 50%', duration: 0.3, ease: 'power2.out' }, 0.4);그대로 붙여 넣는다Paste as is
GSAP으로 <대상> 화살표 아이콘을 회전시켜줘. 0.4초부터 0.3초 동안 rotation 0에서 90도, transformOrigin 50% 50%, power2.out. 각도는 절대값으로 지정하고 텍스트는 돌리지 않아. paused 타임라인에 넣어.
Rotate the <target> arrow icon with GSAP. From 0.4s over 0.3s rotate 0 to 90 degrees around 50% 50% with power2.out. Use absolute angles and do not rotate text. Paused timeline.
<파일>의 <대상>에 rotate를 적용해. to({rotation 90, transformOrigin '50% 50%'}, 0.3s, power2.out, position 0.4). 0.4초·0.55초·0.9초를 캡처해 0도, 중간각, 90도를 확인하고 중심이 이동하지 않았는지 좌표를 비교해.
Apply rotate to <target> in <file>. to({rotation 90, transformOrigin '50% 50%'}, 0.3s, power2.out, position 0.4). Capture at 0.4s, 0.55s and 0.9s to check 0 degrees, a mid angle and 90 degrees, and compare coordinates to confirm the center did not move.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo