원호가 돌면서 길어졌다 짧아져 계속 작업 중임을 알린다.A rotating arc alternately lengthens and shortens.
원호가 1초에 한 바퀴 돌고 1.5초마다 길이가 왕복한다.
원호 길이를 완료율처럼 설명한다.
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 주기 | 3s | 2.1~4.2s | 유한 구간을 호스트 시간으로 반복 |
| 회전 주기 | 1s | 0.8~1.4s | 3초 구간에서 세 바퀴 |
| 길이 주기 | 1.5s | 1.2~2s | 회전과 독립 |
| 원호 길이 | 12~72% | 10~80% | 정량 완료율 아님 |
| 이징 | none | none | 움직임의 가속과 감속 |
const arc = document.querySelector('.arc');
gsap.set(arc, {attr:{pathLength:100}, strokeDasharray:'12 100', transformOrigin:'50% 50%'});
tl.to(arc, {rotation:1080, duration:3, ease:'none'}, 0);
for (let i=0; i<2; i++) {
tl.to(arc, {strokeDasharray:'72 100', duration:0.75, ease:'sine.inOut'}, i*1.5);
tl.to(arc, {strokeDasharray:'12 100', duration:0.75, ease:'sine.inOut'}, i*1.5+0.75);
}그대로 붙여 넣는다Paste as is
<파일>에서 <대상>에 원호 스피너을 적용해. 3초, 회전 주기 1s; 길이 주기 1.5s; 원호 길이 12~72%, 이징 none로 구현해. paused 타임라인으로 seek 가능하게 하고 반복은 유한 구간의 지역 시간으로 계산해.
Apply Arc Spinner to <target> in <file>. Use a 3s segment with none; implement these explicit settings: Rotation period: 1s, Arc length period: 1.5s, Arc length: 12~72%. Use a paused, seekable timeline and repeat through local timeline time.
<파일>의 <대상> 레이어에 원호 스피너을 적용해. 3초, 회전 주기 1s; 길이 주기 1.5s; 원호 길이 12~72%, none를 사용하고 0초, 1.5초, 3초 캡처로 시작값, 중간 변화, 완료 자세를 확인해. 동일 시점을 두 번 seek해 같은 결과인지 검증해.
Apply Arc Spinner to the <target> layer in <file> with Rotation period: 1s, Arc length period: 1.5s, Arc length: 12~72%, using the supplied core snippet and a 3s segment with none. Capture at 0s, 1.5s, and 3s to verify the initial pose, intermediate change, and final pose. Seek to the same timestamp twice and confirm identical output.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo