| name | dynamic-full-loop |
| description | Dynamic camera loop with speed ramping - slow reveals on each face, fast whips between. Shows all sides including top and bottom. |
Dynamic Full Loop Camera Animation
Camera orbits the product on multiple axes with speed ramping — slow motion when revealing each side of the product, fast whip transitions between faces. Shows front, sides, back, top, and bottom.
When to Use
- User wants to "show every angle" with dynamic motion
- User says "full loop", "speed ramp", "show all sides", "dynamic spin"
- Social media / marketing hero video
Parameters
| Parameter | Default | Description |
|---|
duration | 10 | Video length in seconds (longer due to speed ramps) |
fps | 24 | Frames per second |
camera_distance | 4.0 | Camera distance from center |
camera_height | 1.8 | Camera height |
Flow
Step 1: Set Up Camera Rig
import bpy, math
bpy.ops.object.empty_add(type='PLAIN_AXES', location=(0, 0, 0))
tgt = bpy.context.active_object
tgt.name = 'DynamicTarget'
bpy.ops.object.camera_add(location=(0, -CAMERA_DISTANCE, CAMERA_HEIGHT))
cam = bpy.context.active_object
cam.name = 'DynamicCam'
cam.data.lens = 45
trk = cam.constraints.new(type='TRACK_TO')
trk.target = tgt
trk.track_axis = 'TRACK_NEGATIVE_Z'
trk.up_axis = 'UP_Y'
bpy.ops.object.select_all(action='DESELECT')
cam.select_set(True)
tgt.select_set(True)
bpy.context.view_layer.objects.active = tgt
bpy.ops.object.parent_set(type='OBJECT', keep_transform=True)
bpy.context.scene.camera = cam
Step 2: Animate with Speed Ramping
The key is BEZIER interpolation with keyframes clustered for slow/fast:
- Close keyframes with small rotation change = SLOW (lingering on a face)
- Wide keyframes with large rotation change = FAST (whip transition)
TOTAL_FRAMES = DURATION * FPS
scene = bpy.context.scene
scene.frame_start = 1
scene.frame_end = TOTAL_FRAMES
scene.render.fps = FPS
kf_z = [
(1, 0),
(30, 10),
(45, 90),
(75, 100),
(90, 180),
(120, 190),
(135, 270),
(165, 280),
(180, 330),
(210, 340),
(225, 355),
(240, 360),
]
kf_x = [
(1, 0),
(30, 0),
(75, 15),
(120, 0),
(135, -20),
(165, -45),
(180, -60),
(210, -30),
(240, 0),
]
for f, d in kf_z:
tgt.rotation_euler[2] = math.radians(d)
tgt.keyframe_insert(data_path='rotation_euler', index=2, frame=f)
for f, d in kf_x:
tgt.rotation_euler[0] = math.radians(d)
tgt.keyframe_insert(data_path='rotation_euler', index=0, frame=f)
action = tgt.animation_data.action
strip = action.layers[0].strips[0]
for cb in strip.channelbags:
for fc in cb.fcurves:
for kp in fc.keyframe_points:
kp.interpolation = 'BEZIER'
kp.easing = 'AUTO'
Step 3: Render + Encode
ffmpeg -y -framerate 24 \
-i "~/Desktop/Blender Videos/dynamic_loop_frames/%04d.png" \
-c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le \
"~/Desktop/Blender Videos/dynamic_full_loop.mov"
Notes
- This animation is longer (10s) due to the speed ramps needing time to breathe
- If Blender freezes on large meshes, encode whatever frames completed — partial render is usable
- The speed ramp effect comes from BEZIER curves with uneven keyframe spacing