AWESOME AI MOTION
효과Effects / 질감·스타일Texture & Style / Nº 464

코덱 글리치Codec Glitch

Codec Glitch
코덱 글리치
다른 이름Also known as · Datamosh Smear · 데이터모시 번짐 · JPEG Codec Glitch · JPEG 코덱 글리치 · JPEG 손상 프레임
464
렌더 추가 예정CLIP COMING코덱 글리치Codec Glitch정의·파라미터·프롬프트는 아래에 있다Definition, parameters and prompts are below
도판Fig. 464. 코덱 글리치 · Codec Glitch · power2.out

화면에 압축 블록과 뒤틀린 색이 생기고 블록이 이동 방향으로 번졌다가 원래 영상으로 돌아오는 효과Compression blocks and warped colors appear on screen, smear along the motion direction, then return to the original.

01

무엇을 전하나What it tells

전달 효과ConveysCONVEYS
디지털 압축 오류와 데이터 손상의 질감을 보여준다. 전환이나 충격 순간에 쓰기 좋다Shows the texture of digital compression errors and data corruption, good for transitions or impact.
언제 쓰나Use whenUSE WHEN
  • 영상 전환에서 압축 오류처럼 화면이 깨졌다 복구되는 장면
  • AI나 스트리밍 주제에서 신호 손상을 표현할 때
  • For transitions where the picture breaks like a compression error and recovers
  • To express signal damage in AI or streaming topics
과용 주의AvoidAVOID
  • 블록 이동 최대 120px 초과 금지
  • 시드 고정 필수(재현성)
02

좋은 예와 나쁜 예Good and bad use

좋은 사례GOOD

화면이 24px 블록으로 갈라져 블록별 최대 80px씩 이동하며 700ms 동안 번지다가 원본으로 복구된다

과용 · 나쁜 사례OVERUSE

블록 이동 거리를 200px로 키워 원본을 알아볼 수 없거나, 블록 패턴이 재렌더마다 달라진다

03

파라미터Parameters

기본값은 클립에 쓴 값Defaults are the values used in the clip

항목PARAM기본DEFAULT범위RANGE메모NOTE
지속700ms500~1000ms깨짐에서 복구
블록 크기24px16~48px격자
최대 이동80px40~120px블록별 시드 값
블록 비율35%20~50%영향받는 블록
색 뒤틀림hue ±20도10~30도블록 일부
GSAP
function draw(p){const k=1-gsap.parseEase('power2.out')(p);
 for(let by=0;by<1080;by+=24)for(let bx=0;bx<1920;bx+=24){
 const s=h(bx,by); // 시드 해시 0..1
 const dx=s<.35?(s*2-.35)*80*k*(s>.17?1:-1):0;
 ctx.drawImage(src,bx,by,24,24,bx+dx,by,24,24);}}
04

에이전트 프롬프트Agent prompts

그대로 붙여 넣는다Paste as is

Claude Code

<영상>에 코덱 글리치를 넣어줘. canvas에서 24px 블록 격자를 만들고 시드 해시로 35%의 블록만 x 방향으로 최대 80px 이동시켜, 700ms 동안 power2.out으로 이동량을 0까지 복구해. 일부 블록은 hue를 ±20도 어긋나게 해. draw는 progress 순수 함수, 난수는 시드 고정.

Add a codec glitch to <video>. On a canvas, build a 24px block grid, shift 35% of blocks (chosen by a seeded hash) along x by up to 80px, and restore the shift to 0 over 700ms with power2.out. Shift the hue of some blocks by +/-20 degrees. Draw as a pure function of progress with seeded randomness.

Codex

<파일>에 codec-glitch를 구현해. 블록 24px, 최대 이동 80px, 영향 35%, 700ms power2.out, seed 고정. 0.05초, 0.3초, 0.8초를 캡처해 블록이 어긋났다가 복구되는지, 0.8초가 원본과 일치하는지, 같은 시점 재렌더가 동일한지 확인해.

Implement codec-glitch in <file>: block 24px, max shift 80px, 35% affected, 700ms power2.out, fixed seed. Capture at 0.05s, 0.3s, and 0.8s to verify blocks misalign then recover, 0.8s matches the original, and re-rendering the same time is identical.

05

도구별로 쓰기In your tools

HyperFrames · ReelForge · Scrolline

HyperFramesVIDEO · GSAP
블록별 시드 해시로 이동량을 정하고 진행값 p의 순수 함수로 draw한다. 원본 이미지 두 장을 캔버스에 올려 다음 이미지를 섞는 전환에도 쓴다
ReelForgeBRIEF TO VIDEO
브리프에 blockPx, maxShiftPx, affectedPct, durationMs, seed를 싣는다
Scrolline DeckSCROLL SCRUB
진행률을 p에 매핑하되 종료점에서 k=0을 보장한다. 스크럽 중 블록이 튀지 않게 이동은 ease-out으로 준다
06

잘 맞는 조합Pairs well with

07

출처Sources

개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo