안쪽 별이 바깥 별보다 빨리 돌아 나선팔이 시간에 따라 감기는 은하 시각화Inner stars orbit faster than outer ones, so spiral arms wind up over time.
별 20000개가 8초 동안 안쪽 각속도가 바깥의 2배로 돌며 처음 흩어진 점이 나선팔로 감긴다
별 수가 너무 많아 렌더가 끊기거나, 모든 별이 같은 속도로 돌아 나선이 생기지 않는다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 총 지속 | 8000ms | 5000~12000ms | 한 번 감김 |
| 별 수 | 20000개 | 8000~30000개 | 시드 고정 |
| 안쪽 각속도 | 2배 | 1.5~3배 | 바깥 대비 |
| 반경 | 80~420px | 300~520px | 1920x1080 기준 |
| 점 크기 | 1.5px | 1~2.5px | additive 혼합 |
// vertex: theta = theta0 + omega(r)*uProg*T, omega(r)=mix(2.,1.,r/R)
float r=length(pos0.xy);
float w=mix(2.,1.,clamp(r/uR,0.,1.));
float a=atan(pos0.y,pos0.x)+w*uProg*6.283*.6;
vec2 p=r*vec2(cos(a),sin(a));
gl_Position=proj*vec4(p,0.,1.); gl_PointSize=1.5;그대로 붙여 넣는다Paste as is
<배경>에 차등 회전 은하를 넣어줘. WebGL points로 별 20000개(시드 고정)를 반경 80~420px에 로그 스파이럴로 흩어놓고, 정점 셰이더에서 각속도를 안쪽 2배에서 바깥 1배로 mix해 8초 동안 linear로 회전시켜. 점 크기 1.5px, additive 혼합, 안쪽은 따뜻하고 바깥은 차가운 색. uProg만 paused 타임라인이 구동해.
Add a differentially rotating galaxy behind <target>. With WebGL points, scatter 20000 stars (fixed seed) across radius 80-420px on a log spiral, and in the vertex shader mix angular velocity from 2x at the center to 1x at the rim, rotating over 8s linear. Point size 1.5px, additive blending, warm inside and cool outside. Only uProg is driven by a paused timeline.
<파일>에 differential-galaxy WebGL을 구현해. 별 20000개, 8000ms linear, 안쪽 각속도 2배, 반경 80~420px, seed 고정. 0초, 4초, 8초를 캡처해 시간이 갈수록 나선팔이 감기는지, 안쪽이 더 많이 돌았는지, 60fps 근처로 재생되는지 확인해.
Implement a differential-galaxy WebGL scene in <file>: 20000 stars, 8000ms linear, inner angular speed 2x, radius 80-420px, fixed seed. Capture at 0s, 4s, and 8s to verify spiral arms wind up over time, the inner region rotated more, and playback stays near 60fps.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo