매끈한 외곽에 반복되는 뾰족점이나 물결이 서서히 생기는 변형A smooth outline gains repeating sharp points or waves.
원의 외곽이 700ms에 진폭 0에서 12px로 커지며 변마다 8개의 톱니가 생기고 마지막에 정지한다
진폭이 커서 도형 본체가 무너지거나, 톱니 수가 많아 선이 떨리는 노이즈로 보인다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 시간 | 0.7s | 0.4~1.0s | 진폭 성장 |
| 진폭 | 0→12px | 6~18px | 교대 법선 |
| 개수 | 8/변 | 6~16 | 일정 간격 |
| 타입 | 각진 | 각진/물결 | 선택 |
| 이징 | power2.out | power1~power3 |
const pts = 48, k = 8;
const path = (a) => Array.from({ length: pts }, (_, i) => {
const t = (i / pts) * Math.PI * 2, r = 100 + (i % 2 ? a : -a);
return `${i ? 'L' : 'M'}${(Math.cos(t) * r).toFixed(1)},${(Math.sin(t) * r).toFixed(1)}`;
}).join('') + 'Z';
const o = { a: 0 };
tl.to(o, { a: 12, duration: 0.7, ease: 'power2.out', onUpdate: () => el.setAttribute('d', path(o.a)) }, 0.3);그대로 붙여 넣는다Paste as is
GSAP과 SVG로 <원>의 외곽에 지그재그를 넣어줘. 둘레를 48점으로 샘플링해 점을 교대로 법선 방향 +a, -a로 이동한 path를 만들고, 0.3초부터 0.7초 동안 power2.out으로 a를 0에서 12px로 키워. 점 개수는 고정, 각진 톱니로 하고 마지막에 정지. 진폭은 반지름의 15% 이하, paused 타임라인으로 작성해.
Use GSAP and SVG to add a zigzag to the outline of <circle>. Sample the perimeter at 48 points, alternate them +a and -a along the normal, and grow a from 0 to 12px starting at 0.3 seconds over 0.7 seconds with power2.out. Fixed point count, angular teeth, then hold. Amplitude at most 15% of the radius, paused timeline.
<파일>의 도형에 zigzag-path를 적용해. path(a)는 48점을 교대 오프셋 ±a로 만든 문자열이고, tween 객체 a를 position 0.3, duration 0.7, ease power2.out으로 0→12, onUpdate에서 setAttribute('d', path(a)). 0.3초는 매끈한 원, 0.65초는 중간 진폭, 1.2초는 진폭 12의 톱니이며 본체가 무너지지 않았는지 캡처로 확인해.
Apply zigzag-path to the shape in <file>. path(a) builds a string from 48 points with alternating offsets +/-a; tween object a 0 to 12 at position 0.3, duration 0.7, ease power2.out and setAttribute('d', path(a)) in onUpdate. Capture 0.3s (smooth circle), 0.65s (mid amplitude) and 1.2s (amplitude 12, body intact).
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo