윤곽선이 먼저 그려진 뒤 내부 면과 색이 채워지는 2단계 등장The outline or wireframe appears first, then the interior surfaces and color fill in.
아이콘 윤곽이 700ms에 그려지고 이어 400ms에 내부가 색으로 채워지며 stroke 2px은 그대로 남는다
윤곽과 채움이 동시에 시작해 단계가 구분되지 않거나, 채움 후 윤곽이 사라져 형태가 무뎌진다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 윤곽 시간 | 0.7s | 0.5~1.0s | dashoffset |
| 채움 시간 | 0.4s | 0.3~0.6s | fill-opacity |
| stroke 폭 | 2px | 1.5~3px | 정지 후에도 유지 |
| 도형 간격 | 0.12s | 0.08~0.2s | 여러 도형일 때 |
| 이징 | power2.out | power1~power3 | 윤곽 |
shapes.forEach((s, i) => {
const len = s.getTotalLength();
gsap.set(s, { strokeDasharray: len, strokeDashoffset: len, fillOpacity: 0 });
tl.to(s, { strokeDashoffset: 0, duration: 0.7, ease: 'power2.out' }, i * 0.12)
.to(s, { fillOpacity: 1, duration: 0.4, ease: 'power1.inOut' }, 0.65 + i * 0.12);
});그대로 붙여 넣는다Paste as is
GSAP으로 <SVG>를 윤곽 후 채움으로 등장시켜 줘. stroke 2px 윤곽을 stroke-dashoffset으로 0.7초 power2.out에 그리고, 0.65초 시점부터 fill-opacity를 0에서 1로 0.4초 동안 올려. 도형이 여러 개면 0.12초 간격으로 시작하고 윤곽은 채워진 뒤에도 남겨. paused 타임라인으로 만들어.
Use GSAP to reveal <SVG> as outline then fill. Draw the 2px stroke with stroke-dashoffset over 0.7 seconds with power2.out, then from 0.65 seconds raise fill-opacity from 0 to 1 over 0.4 seconds. If there are several shapes, offset each by 0.12 seconds, and keep the outline after the fill. One paused timeline.
<파일>의 SVG 도형에 outline-then-fill을 적용해. 각 경로에 getTotalLength로 dasharray와 dashoffset을 세팅하고 strokeDashoffset 0을 position i*0.12, duration 0.7, ease power2.out으로, fillOpacity 1을 position 0.65+i*0.12, duration 0.4로 건다. 0.35초에는 윤곽만 반쯤, 0.9초에는 채움 시작, 1.6초에는 윤곽과 채움이 모두 남는지 캡처로 확인해.
Apply outline-then-fill to the SVG shapes in <file>. Set dasharray and dashoffset from getTotalLength; tween strokeDashoffset to 0 at position i*0.12, duration 0.7, ease power2.out, and fillOpacity to 1 at position 0.65+i*0.12, duration 0.4. Capture 0.35s (outline half drawn), 0.9s (fill starting) and 1.6s (outline and fill both present).
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo
gongnyang/reelforge:skills/reelforge/references/grammar/06-shapes-strokes.md#trace-then-fill)Apache-2.0gongnyang/reelforge:skills/reelforge/references/gallery/gallery-index.json)Apache-2.0