선택한 노드가 중심으로 이동하고 연결된 가지들이 새 방향과 위치로 펼쳐진다.A selected node becomes the root while connected branches move into a new layout.
방사 재루트 장면에서 선택한 노드가 중심으로 이동하고 연결된 가지들이 새 방향과 위치로 펼쳐진다. 0.9s 구간으로 항목 대응을 유지한다.
새 루트마다 노드 ID와 색을 바꾼다
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 기본 구간 | 0.9s | 0.63~1.35s | 후보의 주요 이동 또는 유지 시간이다 |
| 중심 이동 제한 | 768px | 192~768px | 1920px 화면 폭의 40% 이내다 |
| 라벨 페이드 | 250ms | 150~350ms | 1920x1080 화면 기준 기본값이다 |
| 이징 | power2.inOut | none 또는 power2.inOut | 시간 재생은 선형, 배치 이동은 완만하게 시작하고 멈춘다 |
const tl = gsap.timeline({paused: true});
nodes.forEach(n => {
tl.to(n.el, {attr: {cx: n.nextX, cy: n.nextY},
duration: .9, ease: 'power2.inOut'}, 0);
});그대로 붙여 넣는다Paste as is
<대상>에 트리 루트 재배치 효과를 적용해. 노드 ID를 유지하고 새 루트의 목표 트리 좌표로 노드와 연결선을 보간한다. 기본 구간은 0.9초, 중심 이동 제한은 768px, 라벨 페이드은 250ms, 이징은 power2.inOut로 설정하고 값 축과 색 범위를 고정한다. GSAP 코어의 paused 타임라인 하나로 구성하고 seek 시 같은 결과를 그려줘.
Apply Tree Re-rooting to <target>. A selected node becomes the root while connected branches move into a new layout. Use a 0.9-second primary interval with power2.inOut easing, and preserve item IDs and reference coordinates. Set the center travel limit to 768px and the label fade to 250ms. Use one paused GSAP core timeline with deterministic seeking.
<파일>의 트리 루트 재배치 장면에 적용해. 노드 ID를 유지하고 새 루트의 목표 트리 좌표로 노드와 연결선을 보간한다. 0.9초 구간과 power2.inOut, 중심 이동 제한 768px, 라벨 페이드 250ms를 적용하고 초기 상태를 명시해. 0초, 0.45초, 0.9초를 캡처해 항목 대응과 중간 상태를 확인하고 역방향 seek 후 같은 시점의 결과가 일치하는지 검증해.
Implement Tree Re-rooting in the relevant scene in <file>. A selected node becomes the root while connected branches move into a new layout. Use a 0.9-second primary interval with power2.inOut easing and explicit initial states. Set the center travel limit to 768px and the label fade to 250ms. Capture at 0, 0.45, and 0.9 seconds to verify item correspondence and intermediate states, then seek backward and confirm identical output at the same time.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo