문장의 글자들이 떨어져 바닥에 부딪히고 쌓이는 효과The letters of a sentence detach, fall, hit the ground, and pile up.
'FALL' 네 글자가 0.06초 간격으로 떨어져 900px/s² 중력, 반발 0.3으로 두세 번 튀고 서로 겹치지 않은 채 쌓인다
글자가 바닥을 뚫거나 화면 밖으로 튕겨 나가고 매번 결과가 달라진다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 중력 | 900px/s² | 600~1400 | 낙하 가속도 |
| 반발 | 0.3 | 0.2~0.45 | 튕김 크기 |
| 낙하 간격 | 60ms | 30~120ms | 글자별 출발 |
| 초기 회전 | ±30deg | ±10~±45 | 도착 자세 |
const floor = 900;
chars.forEach((el, i) => {
const rot = (i % 2 ? 1 : -1) * (10 + (i * 7) % 20);
tl.fromTo(el, { y: -600, rotation: 0 }, { y: floor - el.offsetTop, rotation: rot,
duration: 0.9, ease: 'bounce.out' }, i * 0.06);
});그대로 붙여 넣는다Paste as is
<대상> 문구 '<문구>'를 글자(한글은 음절) 단위로 나눠 위에서 떨어뜨려줘. 글자마다 0.06초 간격, 화면 위 -600px에서 바닥 y까지 0.9초 bounce.out으로 떨어지고, 인덱스에 따라 ±10~30도로 기울어져 쌓이게 해. 난수는 쓰지 말고 결정식으로 계산해. 마지막 글자 도착 뒤 1초 정지.
Drop the phrase '<text>' in <target> letter by letter (per syllable for Korean). 0.06 seconds apart, each falls from -600px to the floor in 0.9 seconds with bounce.out and lands tilted between 10 and 30 degrees by index. No random values, use deterministic formulas. Hold 1 second after the last letter lands.
<파일>의 문구를 span으로 분리해 i*0.06초 간격의 tl.fromTo(y -600→바닥, rotation 0→±(10~30), 0.9s, bounce.out)로 낙하시켜. Math.random 금지. 0.5초와 2.0초를 캡처해 글자가 바닥 아래로 뚫지 않고 서로 겹치지 않는지 확인해.
In <file> split the phrase into spans and drop each with tl.fromTo (y -600 to floor, rotation 0 to +/-(10 to 30), 0.9s, bounce.out) at i*0.06. No Math.random. Capture at 0.5s and 2.0s and verify no letter passes below the floor or overlaps another.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo