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

팔레트 순환Palette Color Cycling

Palette Color Cycling
팔레트 순환
다른 이름Also known as · 팔레트 색 순환
454
렌더 추가 예정CLIP COMING팔레트 순환Palette Color Cycling정의·파라미터·프롬프트는 아래에 있다Definition, parameters and prompts are below
도판Fig. 454. 팔레트 순환 · Palette Color Cycling · steps(1)

그림의 픽셀 위치는 고정한 채 팔레트의 색 대응만 순서대로 돌려 물이나 빛이 흐르는 듯 보이게 한다Pixel positions stay fixed while the palette's color mapping rotates in order, so water or light seems to flow.

01

무엇을 전하나What it tells

전달 효과ConveysCONVEYS
적은 프레임과 정지 이미지만으로 반복 움직임을 만든다. 8비트 시절의 레트로한 질감을 전한다Creates looping movement from a still image and very few frames. It carries the retro texture of 8-bit graphics.
언제 쓰나Use whenUSE WHEN
  • 픽셀 아트 배경의 물, 불, 네온에 낮은 비용으로 움직임을 줄 때
  • 레트로 게임 느낌의 브랜드 화면을 만들 때
  • Add cheap motion to water, fire or neon in pixel art backgrounds.
  • Build a retro-game feeling brand screen.
과용 주의AvoidAVOID
  • 윤곽선 픽셀은 순환에서 제외한다
  • 순환 색 12개 초과 금지(계단 질감이 사라짐)
02

좋은 예와 나쁜 예Good and bad use

좋은 사례GOOD

8색 팔레트가 120ms마다 한 칸씩 돌고 4초 동안 물결 띠가 위로 흐른다. 윤곽 픽셀은 고정이다

과용 · 나쁜 사례OVERUSE

색 단계를 32개로 늘리고 간격을 16ms로 줄여 일반 그라데이션 애니메이션처럼 보인다. 윤곽까지 함께 돌아 형태가 깨진다

03

파라미터Parameters

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

항목PARAM기본DEFAULT범위RANGE메모NOTE
순환 색8개6~12개순환하는 색 슬롯 수
단계 간격120ms80~160ms짧을수록 매끈함
총 길이4s3~5s약 33단계
고정 영역윤곽 픽셀마스크로 지정순환하지 않는 인덱스
GSAP
const pal = ['#0b1d3a','#12406b','#1f6f9b','#3aa0c4','#7fd0e0','#3aa0c4','#1f6f9b','#12406b'];
const u = { s: 0 };
tl.to(u, { s: 33, duration: 4, ease: 'none', onUpdate: () => {
  const k = Math.floor(u.s); slots.forEach((px, i) => setColor(px, pal[(i + k) % pal.length])); } }, 0);
04

에이전트 프롬프트Agent prompts

그대로 붙여 넣는다Paste as is

Claude Code

<대상>(픽셀 아트 또는 인덱스 컬러 이미지)에 팔레트 순환을 넣어줘. 순환 슬롯 8개를 120ms마다 한 칸씩 돌리고 4초 동안 재생, 윤곽선 픽셀은 순환에서 제외해. 오프셋은 Math.floor(진행률*33)로 계산해서 seek해도 같은 프레임이 나오게 해.

Apply palette cycling to <target> (a pixel art or indexed color image). Rotate 8 palette slots by one step every 120ms for 4 seconds, excluding outline pixels. Compute the offset as Math.floor(progress * 33) so seeking gives identical frames.

Codex

<파일>의 canvas 이미지에 palette cycling을 적용해. 슬롯 8개, 간격 120ms, 4초. 오프셋은 timeline progress로만 계산한다. 0초, 0.12초, 0.24초를 캡처해 윤곽선 픽셀 색이 변하지 않는지, 슬롯 색만 한 칸씩 이동하는지 확인해.

Apply palette cycling to the canvas image in <file>: 8 slots, 120ms step, 4 seconds. Compute the offset from timeline progress only. Capture at 0s, 0.12s and 0.24s and verify outline pixel colors never change while slot colors shift by one step.

05

도구별로 쓰기In your tools

HyperFrames · ReelForge · Scrolline

HyperFramesVIDEO · GSAP
단계값 s를 정수로 내림해 팔레트 오프셋에 쓴다. 같은 시각 seek는 같은 오프셋이 되어 결정론적이다
ReelForgeBRIEF TO VIDEO
씬 워커 브리프에 이미지 인덱스 맵, 순환 슬롯, 단계 간격 120ms를 싣는다
Scrolline DeckSCROLL SCRUB
진행률 0..1을 0~33단계에 대응시킨다. 스크롤에서는 스텝 경계에서 색이 튀므로 홀드 구간을 짧게 둔다
06

잘 맞는 조합Pairs well with

07

출처Sources

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