그림의 픽셀 위치는 고정한 채 팔레트의 색 대응만 순서대로 돌려 물이나 빛이 흐르는 듯 보이게 한다Pixel positions stay fixed while the palette's color mapping rotates in order, so water or light seems to flow.
8색 팔레트가 120ms마다 한 칸씩 돌고 4초 동안 물결 띠가 위로 흐른다. 윤곽 픽셀은 고정이다
색 단계를 32개로 늘리고 간격을 16ms로 줄여 일반 그라데이션 애니메이션처럼 보인다. 윤곽까지 함께 돌아 형태가 깨진다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 순환 색 | 8개 | 6~12개 | 순환하는 색 슬롯 수 |
| 단계 간격 | 120ms | 80~160ms | 짧을수록 매끈함 |
| 총 길이 | 4s | 3~5s | 약 33단계 |
| 고정 영역 | 윤곽 픽셀 | 마스크로 지정 | 순환하지 않는 인덱스 |
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);그대로 붙여 넣는다Paste as is
<대상>(픽셀 아트 또는 인덱스 컬러 이미지)에 팔레트 순환을 넣어줘. 순환 슬롯 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.
<파일>의 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.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo