고정된 축을 따라 꼭짓점이 중심에서 목표값으로 이동하거나 새 값으로 바뀌며 다각형 윤곽을 만든다.Vertices move along fixed radial axes to form or update a radar profile.
다섯 축의 눈금을 유지하고 목표 반경으로 1.2초 동안 성장시킨다.
프로필마다 축 최대값을 바꿔 같은 면적이 같은 성능처럼 보인다.
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 축 수 | 5개 | 3~8개 | 축 순서를 고정한다. |
| 전환 시간 | 1200ms | 800~1600ms | 꼭짓점이 동시에 도착한다. |
| 최대 반경 | 300px | 220~380px | 값을 0~1로 정규화한다. |
| 비교 계열 | 2개 | 1~3개 | 윤곽선과 라벨을 구분한다. |
| 이징 | power2.out | none | power2.out | power2.inOut | 끝점을 넘지 않는 이징을 쓴다. |
const tl=gsap.timeline({paused:true}), state={p:0};
const values=[0.8,0.6,0.9,0.5,0.7];
tl.to(state,{p:1,duration:1.2,ease:'power2.out',onUpdate:()=>{
const points=values.map((v,i)=>{const a=i*2*Math.PI/5-Math.PI/2;return [400+Math.cos(a)*300*v*state.p,400+Math.sin(a)*300*v*state.p].join(',');});
document.querySelector('.radar').setAttribute('points',points.join(' '));
}});그대로 붙여 넣는다Paste as is
<파일>의 <대상>에 레이더 차트 모프를 구현해. 고정된 축을 따라 꼭짓점이 중심에서 목표값으로 이동하거나 새 값으로 바뀌며 다각형 윤곽을 만든다. 축 수 5개, 전환 시간 1200ms, 최대 반경 300px, 비교 계열 2개, 이징 power2.out를 적용하고 GSAP 코어의 paused 타임라인 하나로 seek 가능하게 작성해. 축 순서나 척도를 전환 도중 바꾸지 않는다.
Implement Radar Chart Morph for <target> in <file>. Vertices move along fixed radial axes to form or update a radar profile. Use axis count: 5; transition duration: 1200ms; maximum radius: 300px; series count: 2; easing: power2.out in a single paused GSAP core timeline that supports seeking. Keep axis order and scales fixed.
<파일>의 <대상> 장면에 레이더 차트 모프를 적용해. 축 수 5개, 전환 시간 1200ms, 최대 반경 300px, 비교 계열 2개, 이징 power2.out를 사용하고 다음 동작을 구현해: SVG 축별 반경값에 진행값을 곱해 polygon 정점을 보간한다. 플러그인과 Math.random 없이 작성하고 0.3초·0.72초·1.2초를 캡처해 초기 상태, 중간 변화, 최종 상태가 연속적이며 다음 예시와 맞는지 확인해: 다섯 축의 눈금을 유지하고 목표 반경으로 1.2초 동안 성장시킨다.
Apply Radar Chart Morph to the <target> scene in <file> using axis count: 5; transition duration: 1200ms; maximum radius: 300px; series count: 2; easing: power2.out. Vertices move along fixed radial axes to form or update a radar profile. Use prepared data or geometry with GSAP core, no plugins, and no Math.random; capture at 0.3, 0.72, 1.2 seconds to verify continuous intermediate geometry, correct endpoints, and identical output after repeated seeks. Keep axis order and scales fixed.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo
claude-skill:bookforge/references/diagrams.md)MIT