perfect-loop

A seamless 360° rotating turntable where the first and last frames match perfectly for infinite looping playback.

Last repository push
GitHub Stars
421
Forks
52
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "perfect-loop" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-d132fee42bfb1170244419385bf075f9bbbd07fb413fff6b4a2f1be42eda9d16. Verify the upstream source and version against https://github.com/kevinbadi/blender-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A seamless 360° rotating turntable where the first and last frames match perfectly for infinite looping playback.

0 Downloads

Introduction source: third_party · kevinbadi · 0.0.1 Reference

SkillPi interpretation

Tasks
Seamless looping 360-degree turntable. First and last frames match perfectly for infinite loop playback.
Audience
User wants a "looping" or "seamless" animation User says "perfect loop", "infinite loop", "GIF", "looping turntable" Website product embed, social media loop
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Not specified in the source documentation.
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: perfect-loop
description: Seamless looping 360-degree turntable. First and last frames match perfectly for infinite loop playback.

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

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供无缝循环360度旋转台生成能力,满足内容创作者专业需求
  • 适用于网站背景、社交媒体等多种场景,具备明确实用价值
Trigger Precision80/100

Highlights

  • 触发词覆盖全面,包含 looping/seamless/perfect loop 等核心关键词
  • 边界清晰,不易与其他动画生成 Skill 混淆
Structure and Standards95/100

Highlights

  • 三步式结构清晰(Set Up/Animate/Render),执行流程明确
  • 提供完整端到端代码示例,包含 Blender Python API 和 ffmpeg 命令
Execution Reliability90/100

Highlights

  • 强调关键执行细节(LINEAR interpolation、N+1 关键帧机制)
  • 工具链成熟可靠(Blender + ffmpeg),参数定义完整
Evidence Verifiability (mean of the first four)83/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Not specified in the source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.