대상이 중앙에 머무는 동안 시점이 주변을 돌아 옆면과 배경 관계가 바뀐다. 구형 지도는 회전으로 목적지를 정면에 맞출 수 있다.Orbit a centered subject to reveal its shape and changing background relationships.
반경 600px를 유지하며 2.4초 동안 60도 돌아 제품 옆면을 보여준다.
반경이 흔들려 공전 도중 제품 크기가 달라진다.
기본값은 클립에 쓴 값Defaults are the values used in the clip
| 항목PARAM | 기본DEFAULT | 범위RANGE | 메모NOTE |
|---|---|---|---|
| 지속 | 2400ms | 1600~3600ms | 측면을 읽을 시간 |
| 방위각 변화 | 60deg | 30~120deg | 중심 주위 이동 |
| 고도 | 20deg | 10~35deg | 위에서 보는 각도 |
| 반경 | 600px | 400~900px | 대상과 거리 |
const tl = gsap.timeline({paused:true}), s = {a:0};
const r = 600, h = 20*Math.PI/180;
camera.fov = 45; camera.updateProjectionMatrix();
tl.to(s, {a:Math.PI/3, duration:2.4, ease:'power2.inOut', onUpdate:()=>{
camera.position.set(r*Math.cos(h)*Math.sin(s.a),r*Math.sin(h),r*Math.cos(h)*Math.cos(s.a));
camera.lookAt(0,0,0);
}});그대로 붙여 넣는다Paste as is
<파일>의 <대상>에 카메라 오빗를 적용해. WebGL에서 구면 좌표로 카메라 위치를 계산해 대상을 바라보게 하거나 CSS 객체와 SVG 구면 투영을 반대로 회전한다. 지속 2400ms; 방위각 변화 60deg; 고도 20deg; 반경 600px. 이징은 power2.inOut로 하고 GSAP 코어 paused 타임라인으로 역방향 seek도 같은 상태를 만들게 해.
Apply Camera Orbit to <target> in <file>. Orbit 60 degrees over 2400ms at a 600px radius and 20-degree elevation while looking at the fixed center. Use power2.inOut and a paused GSAP core timeline that produces identical states when seeking backward.
<파일>의 대상 장면에 카메라 오빗를 적용해. WebGL에서 구면 좌표로 카메라 위치를 계산해 대상을 바라보게 하거나 CSS 객체와 SVG 구면 투영을 반대로 회전한다. 지속 2400ms; 방위각 변화 60deg; 고도 20deg; 반경 600px. 이징은 power2.inOut를 사용해. 0초·1.2초·2.4초 시점을 캡처하고 시작 상태, 중간 변화, 끝 상태가 정의와 일치하는지 확인해. 같은 시점을 역방향 seek해서도 같은 화면인지 검증해.
Apply Camera Orbit to the target scene in <file>. Orbit 60 degrees over 2400ms at a 600px radius and 20-degree elevation while looking at the fixed center. Use power2.inOut. Capture at 0, 1.2, and 2.4 seconds to verify the initial state, the defining intermediate change, and the final state. Seek backward to the same times and compare the images.
HyperFrames · ReelForge · Scrolline
개념 출처와 라이선스. 구현은 이 레포에서 새로 씀Concept sources and licenses. Implementations are original to this repo
gongnyang/reelforge:skills/reelforge/references/grammar/03-camera-3d.md#camera-orbit-turntable)Apache-2.0gongnyang/reelforge:skills/reelforge/references/gallery/gallery-index.json)Apache-2.0