떨어지는 빛줄기가 바닥이나 경계에 닿는 순간 작은 빛 조각으로 퍼지는 충돌A falling beam bursts into small light fragments the instant it hits the floor or a boundary.
빛줄기가 1.5초 동안 위에서 바닥선으로 떨어지고 닿는 순간 조각 12개가 0.6초 동안 중력 500px/s2로 퍼진다
충돌 시점과 폭발 시작이 어긋나 빛줄기가 통과한 뒤 터지거나, 조각이 화면 밖까지 날아가 정리가 안 된다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 낙하 | 1.5s | 1~2s | 빛줄기 이동 |
| 폭발 | 0.6s | 0.4~0.9s | 조각 수명 |
| 조각 수 | 12 | 8~24 | 고정 각도 배열 |
| 중력 | 500px/s2 | 300~700 | 조각에만 적용 |
| 초기 속도 | 220px/s | 160~300 | 위쪽 부채꼴 |
const g = 500, N = 12, hitY = 900;
tl.fromTo('.beam', { y: -200 }, { y: hitY, duration: 1.5, ease: 'power2.in' }, 0);
for (let i = 0; i < N; i++) {
const a = -Math.PI * (0.15 + 0.7 * i / (N - 1)), vx = Math.cos(a) * 220, vy = Math.sin(a) * 220;
const st = { t: 0 };
tl.to(st, { t: 0.6, duration: 0.6, ease: 'none', onUpdate: () => place(i, 960 + vx * st.t, hitY + vy * st.t + 0.5 * g * st.t * st.t) }, 1.5);
}그대로 붙여 넣는다Paste as is
<대상> 화면에 빛줄기 충돌 폭발을 넣어줘. 빛줄기가 y -200에서 바닥선 y 900까지 1.5초 power2.in으로 떨어지고, 닿는 순간 조각 12개가 위쪽 부채꼴로 초기 속도 220px/s로 퍼지며 중력 500px/s2로 0.6초 동안 떨어지다 사라지게 해. 각도는 균등 배열로 고정하고 난수는 쓰지 마.
Add a beam collision burst to <target>. A beam falls from y -200 to a floor line at y 900 over 1.5 seconds with power2.in. On impact, 12 fragments fan upward at 220px/s, fall under 500px/s2 gravity for 0.6 seconds, and fade. Fix the angles as an even array and use no randomness.
<파일>의 .stage에 .beam과 조각 12개를 추가해. beam은 y -200→900, 1.5초 power2.in. 조각 i는 1.5초에 시작해 각도 -π*(0.15+0.7*i/11), 속도 220으로 x=960+vx*t, y=900+vy*t+250*t^2, 0.6초 동안 opacity 1→0. 1.4초·1.6초·2.0초 캡처로 충돌 순간에 조각이 시작되고 위로 퍼졌다 떨어지는지 확인해.
Add .beam and 12 fragments to .stage in <file>. Beam y -200 to 900 over 1.5 s power2.in. Fragment i starts at 1.5 s with angle -π*(0.15+0.7*i/11), speed 220, x=960+vx*t, y=900+vy*t+250*t^2 for 0.6 s while opacity goes 1 to 0. Capture at 1.4 s, 1.6 s and 2.0 s to confirm fragments begin at impact and arc up then down.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo