각진 도형의 모서리가 점점 둥근 곡선으로 바뀌거나 다시 각지게 돌아가는 변화Sharp corners of a shape gradually round into curves, or return to sharp corners.
사각형이 500ms에 반경 0에서 24px로 부드럽게 둥글어졌다가 정지하고, 되돌릴 때 같은 경로로 각진다
반경이 도형 짧은 변의 절반을 넘어 모양이 튀거나, 회전과 크기를 동시에 바꿔 무엇이 변했는지 안 보인다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 시간 | 0.5s | 0.3~0.8s | 반경 변화 |
| 반경 | 0→24px | 0~짧은 변의 50% | border-radius |
| 간격 | 60ms | 40~100ms | 여러 도형 |
| 이징 | power2.inOut | power1~power3 |
tl.fromTo('.box', { borderRadius: 0 }, { borderRadius: 24, duration: 0.5, ease: 'power2.inOut', stagger: 0.06 }, 0.4);
// SVG 다각형은 각 꼭짓점을 접선 곡선으로 치환한 두 path를 준비해 attr d를 보간그대로 붙여 넣는다Paste as is
GSAP으로 <도형>의 모서리를 둥글게 바꿔 줘. 0.4초부터 0.5초 동안 borderRadius를 0에서 24px로 power2.inOut으로 올리고, 도형이 여러 개면 60ms씩 시차를 둬. 반경은 짧은 변의 50%를 넘기지 말고 도형의 크기와 위치는 바꾸지 마. paused 타임라인으로 만들어.
Use GSAP to round the corners of <shape>. From 0.4 seconds over 0.5 seconds, raise borderRadius from 0 to 24px with power2.inOut, staggering by 60ms if there are several shapes. Do not exceed 50% of the short side, and leave size and position unchanged. Paused timeline.
<파일>의 도형에 round-corners를 적용해. tl.fromTo('.box',{borderRadius:0},{borderRadius:24,duration:0.5,ease:'power2.inOut',stagger:0.06},0.4)로 건다. 0.3초는 borderRadius 0, 0.65초는 중간값, 1.2초는 24px이며 크기가 그대로인지 캡처로 확인해.
Apply round-corners in <file> with tl.fromTo('.box',{borderRadius:0},{borderRadius:24,duration:0.5,ease:'power2.inOut',stagger:0.06},0.4). Capture 0.3s (radius 0), 0.65s (intermediate) and 1.2s (24px, size unchanged).
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo