/perfect-loop
Seamless looping 360-degree turntable. First and last frames match perfectly for infinite loop playback.
Claude Code
$ npx -y skills add cafe3310/public-agent-skills --skill perfect-loop --agent claude-code
Codex
$ npx skills add cafe3310/public-agent-skills --skill perfect-loop -a codex -y
Cursor
$ npx skills add cafe3310/public-agent-skills --skill perfect-loop -a cursor -y
Gemini CLI
$ npx skills add cafe3310/public-agent-skills --skill perfect-loop -a gemini-cli -y
GitHub Copilot
$ npx skills add cafe3310/public-agent-skills --skill perfect-loop -a github-copilot -y
OpenCode
$ npx skills add cafe3310/public-agent-skills --skill perfect-loop -a opencode -y
Windsurf
$ npx skills add cafe3310/public-agent-skills --skill perfect-loop -a windsurf -y
SKILL.md
perfect-loop.SKILL.mdname: perfect-loop
description: >
Seamless looping 360-degree turntable. First and last frames match perfectly for infinite loop playback.
license: MIT
author: https://github.com/kevinbadi/blender-skills
depends_on_skill:
- blender-skills
depends_on_binary:
- blender
- ffmpeg
Perfect Loop Camera Animation
A seamless 360-degree turntable where the last frame connects perfectly to the first frame, creating an infinite loop. Ideal for website backgrounds, social media, and product page embeds.
When to Use
- User wants a "looping" or "seamless" animation
- User says "perfect loop", "infinite loop", "GIF", "looping turntable"
- Website product embed, social media loop
Parameters
| Parameter | Default | Description | |-----------|---------|-------------| | `duration` | `5` | Video length in seconds | | `fps` | `24` | Frames per second | | `camera_distance` | `4.0` | Distance from object | | `camera_height` | `2.0` | Camera height | | `camera_lens` | `50` | Focal length |
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 = 'PerfectLoopTarget'
bpy.ops.object.camera_add(location=(0, -CAMERA_DISTANCE, CAMERA_HEIGHT))
cam = bpy.context.active_object
cam.name = 'PerfectLoopCam'
cam.data.lens = CAMERA_LENS
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 Seamless Loop
**Critical**: Keyframe 360 degrees at frame N+1 (one past the last rendered frame). This way frame N and frame 1 are adjacent in the loop, not duplicated.
TOTAL_FRAMES = DURATION * FPS # 120
scene = bpy.context.scene
scene.frame_start = 1
scene.frame_end = TOTAL_FRAMES # render 1-120
scene.render.fps = FPS
tgt.rotation_euler = (0, 0, 0)
tgt.keyframe_insert(data_path='rotation_euler', frame=1)
# 360 at frame 121 — frame 121 is NOT rendered, but ensures
# frame 120 is one step before frame 1, creating seamless loop
tgt.rotation_euler = (0, 0, math.radians(360))
tgt.keyframe_insert(data_path='rotation_euler', frame=TOTAL_FRAMES + 1)
# LINEAR interpolation is CRITICAL for perfect loop
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 = 'LINEAR'Step 3: Render + Encode
ffmpeg -y -framerate 24 \
-i "~/Desktop/Blender Videos/perfect_loop_frames/%04d.png" \
-c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le \
"~/Desktop/Blender Videos/perfect_loop.mov"
Critical Notes
- **LINEAR interpolation only** — BEZIER will cause the loop to stutter at the seam
- **Keyframe at N+1**: Place the 360-degree keyframe one frame PAST the render range
- **No camera movement**: Camera distance, height, and lens must be static (no keyframes on these)
- **Verify loop**: Play the video on repeat to confirm seamless transition
- Good for encoding to looping formats: GIF, WebM, or MP4 with `-loop 0`
Read more
name: perfect-loop description: > Seamless looping 360-degree turntable. First and last frames match perfectly for infinite loop playback. license: MIT author: https://github.com/kevinbadi/blender-skills depends_on_skill: - blender-skills depends_on_binary: - blender - ffmpeg
Perfect Loop Camera Animation
A seamless 360-degree turntable where the last frame connects perfectly to the first frame, creating an infinite loop. Ideal for website backgrounds, social media, and product page embeds.
When to Use
- User wants a "looping" or "seamless" animation
- User says "perfect loop", "infinite loop", "GIF", "looping turntable"
- Website product embed, social media loop
Parameters
| Parameter | Default | Description | |-----------|---------|-------------| | `duration` | `5` | Video length in seconds | | `fps` | `24` | Frames per second | | `camera_distance` | `4.0` | Distance from object | | `camera_height` | `2.0` | Camera height | | `camera_lens` | `50` | Focal length |
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 = 'PerfectLoopTarget' bpy.ops.object.camera_add(location=(0, -CAMERA_DISTANCE, CAMERA_HEIGHT)) cam = bpy.context.active_object cam.name = 'PerfectLoopCam' cam.data.lens = CAMERA_LENS 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 Seamless Loop
**Critical**: Keyframe 360 degrees at frame N+1 (one past the last rendered frame). This way frame N and frame 1 are adjacent in the loop, not duplicated.
TOTAL_FRAMES = DURATION * FPS # 120
scene = bpy.context.scene
scene.frame_start = 1
scene.frame_end = TOTAL_FRAMES # render 1-120
scene.render.fps = FPS
tgt.rotation_euler = (0, 0, 0)
tgt.keyframe_insert(data_path='rotation_euler', frame=1)
# 360 at frame 121 — frame 121 is NOT rendered, but ensures
# frame 120 is one step before frame 1, creating seamless loop
tgt.rotation_euler = (0, 0, math.radians(360))
tgt.keyframe_insert(data_path='rotation_euler', frame=TOTAL_FRAMES + 1)
# LINEAR interpolation is CRITICAL for perfect loop
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 = 'LINEAR'Step 3: Render + Encode
ffmpeg -y -framerate 24 \ -i "~/Desktop/Blender Videos/perfect_loop_frames/%04d.png" \ -c:v prores_ks -profile:v 4444 -pix_fmt yuva444p10le \ "~/Desktop/Blender Videos/perfect_loop.mov"
Critical Notes
- **LINEAR interpolation only** — BEZIER will cause the loop to stutter at the seam
- **Keyframe at N+1**: Place the 360-degree keyframe one frame PAST the render range
- **No camera movement**: Camera distance, height, and lens must be static (no keyframes on these)
- **Verify loop**: Play the video on repeat to confirm seamless transition
- Good for encoding to looping formats: GIF, WebM, or MP4 with `-loop 0`
Other skills on public-agent-skills.
aop-product-planner
面向切面 (AOP) 的智能产品策划与需求拆解范式。用于从目标叙事、AOP 切面分层、乱序 Idea 收集、功能边界界定到需求依赖拓扑与优先级的全流程产品工程规划。
blender-skills
Mandatory entry point for 3D product modeling, rendering, scene composition, and camera animations in Blender. Acts as the…
blender-toolkit
Automate Blender tasks like creating 3D shapes, managing materials, and retargeting Mixamo animations with real-time control.
crane-shot
Camera starts low and rises up to reveal the full product. Great for dramatic product reveals on a pedestal.
dolly-rotate
Camera moves forward while rotating around the product. More dynamic than a straight zoom.
More skills from other plugins.
i-have-adhd
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
distilly
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…
Questions about perfect-loop.
- Which coding agents can use perfect-loop?
- perfect-loop installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.

