사진의 면이 사라지고 경계선만 남은 선화로 바뀌는 윤곽 추출 전환The photo's surfaces vanish, leaving only edges as a line drawing.
제품 사진이 0.8초 동안 색이 빠지며 윤곽선만 남은 선화로 바뀌고 그 위에 주석이 붙는다
임계값이 너무 낮아 노이즈 선이 화면을 덮거나, 임계값이 높아 윤곽이 끊겨 형태를 알 수 없다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 지속 | 0.8s | 0.5~1.2s | 사진에서 선화까지 |
| 경계 임계값 | 0.15 | 0.1~0.25 | Sobel 출력 컷 |
| 혼합 | 0 to 1 | 0~1 | 원본색과 선화 mix |
| 선 색 | #111827 | 고정 | 흰 바탕 기준 |
| 선 두께 | 1.5px | 1~2.5px | Sobel 샘플 간격 |
const u = { m: 0 };
tl.to(u, { m: 1, duration: 0.8, ease: 'power2.inOut', onUpdate: draw }, 0.3);
// GLSL: float g = length(vec2(sobelX(tex, uv), sobelY(tex, uv)));
// float line = smoothstep(0.15, 0.30, g);
// col = mix(texture(tex, uv).rgb, mix(vec3(1.0), ink, line), m);그대로 붙여 넣는다Paste as is
<대상> 사진에 윤곽 추출 전환을 넣어줘. 0.3초에 시작해 0.8초 동안 power2.inOut으로 원본에서 Sobel 경계선 그림(흰 바탕, 진한 남색 선 #111827)으로 mix가 0에서 1이 되게 해. 임계값은 smoothstep(0.15, 0.30)이고 선화 상태로 0.6초 정지한 뒤 주석 텍스트가 나오게 해.
Add an edge trace transition to the photo in <target>. Starting at 0.3 seconds, mix from the original to a Sobel edge drawing (white paper, dark navy lines #111827) from 0 to 1 over 0.8 seconds with power2.inOut. Threshold smoothstep(0.15, 0.30). Hold the line drawing for 0.6 seconds, then bring in annotation text.
<파일>의 이미지 캔버스에 edge 셰이더를 추가해. g=length(vec2(sobelX,sobelY)), line=smoothstep(0.15,0.30,g), col=mix(tex, mix(white, ink, line), m). m은 0.3초부터 0.8초 power2.inOut로 0→1. 0.5초·0.9초·1.8초 캡처로 색이 빠지며 윤곽만 남고 노이즈 선이 화면을 덮지 않는지 확인해.
Add an edge shader to the image canvas in <file>. g=length(vec2(sobelX,sobelY)); line=smoothstep(0.15,0.30,g); col=mix(tex, mix(white, ink, line), m). Tween m 0 to 1 from 0.3 s over 0.8 s power2.inOut. Capture 0.5 s, 0.9 s and 1.8 s to confirm color drains, only outlines remain, and noise lines do not flood the frame.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo