문구가 원통이나 링 표면에 둘러 배치되고 회전하며 앞면 문구가 바뀌는 효과Phrases wrap around a cylinder or ring and rotate so the front-facing phrase keeps changing.
12면 원통에 문구가 반지름 180px로 둘러 있고 10초에 한 바퀴 돌며 앞쪽 문구만 선명하다
뒷면 글자까지 같은 밝기로 보여 앞뒤가 섞이고 원근 없이 납작하다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 면 수 | 12 | 8~16 | 각도 30도 |
| 반지름 | 180px | 140~260px | translateZ 값 |
| 한 바퀴 | 10s | 8~16s | 등속 |
| perspective | 1000px | 800~1400px | 깊이 강도 |
/* .stage{perspective:1000px} .cyl{transform-style:preserve-3d} */
items.forEach((el, i) => gsap.set(el, { rotationY: i * 30, z: 180 }));
tl.to('.cyl', { rotationY: -360, duration: 10, ease: 'none' }, 0);
items.forEach(el => el.style.backfaceVisibility = 'hidden');그대로 붙여 넣는다Paste as is
<대상> 문구 목록(<항목들>)을 12면 원통 표면에 배치해줘. 각 면은 rotationY i*30도, translateZ 180px, backface-visibility hidden이고 부모 perspective는 1000px. 부모를 10초에 rotationY -360도 등속으로 돌리고, 앞쪽 문구는 opacity 1, 뒤쪽은 0.25가 되게 해.
Arrange the phrases <items> of <target> on a 12-face cylinder. Each face gets rotationY i*30 degrees, translateZ 180px, backface-visibility hidden, with a parent perspective of 1000px. Rotate the parent to rotationY -360 over 10 seconds at constant speed, with front phrases at opacity 1 and back ones at 0.25.
<파일>에 CSS 3D 원통 텍스트를 구현해. 자식 12개는 gsap.set(rotationY i*30, z 180), 부모는 tl.to(rotationY -360, 10s, none). 2.5초 시점에 앞면 문구가 90도 이동했는지, 뒷면 글자가 보이지 않는지 캡처로 확인해.
Implement a CSS 3D cylinder text in <file>: 12 children via gsap.set(rotationY i*30, z 180) and the parent via tl.to(rotationY -360, 10s, none). Capture at 2.5s to confirm the front phrase has advanced by 90 degrees and that back-facing text is hidden.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo