Sirv 360 spin

From hashgraph-online/awesome-codex-plugins · View interactive version

Sirv 360 spin is an AI agent skill from the GitHub repository hashgraph-online/awesome-codex-plugins. Create and embed Sirv 360 spins - interactive rotating product views. Use when creating a 360 spin, shooting or preparing spin frames, naming spin image sequences, configuring .spin files, embedding spins with Sirv, tuning spin options (autospin, zoom, hint, speed), building 3D multi-row spins, addi

How to use this skill

Skill file

Sirv 360 Spin

A 360 spin is a sequence of frames (product rotated in steps) that Sirv assembles into an interactive drag-to-rotate viewer. Spins are Sirv's flagship media type: lighter and more engaging than video for rotating products.

Official Sources First

Check current Sirv docs before changing naming rules, option names, or defaults:

Default Workflow

  1. Decide the source: photographed frame sequence, rendered frames, or an existing rotating video (convert with video2spin).
  2. Choose frame count: 24-36 frames for smooth rotation at reasonable weight (36 is the usual sweet spot; 72+ glides but doubles weight; minimum 8, maximum 1000).
  3. Name files so Sirv auto-generates the .spin: one folder per product spin, filenames with ascending numbers.
  4. Upload to Sirv - the .spin file is created automatically; verify frame order and start frame.
  5. Embed with Sirv JS + class="Sirv" markup; configure behavior via data-options or the .spin file.
  6. Verify: drag rotation, zoom, mobile swipe vs page scroll, load performance, and CLS.

Naming Conventions (what makes auto-generation work)

Source frames: shoot/render at 2500-4000px wide. Sirv resizes and compresses delivery automatically (aggressive ~60% quality for retina), so keep masters high quality.

Embedding

<link rel="preconnect" href="https://youraccount.sirv.com" crossorigin>
<link rel="dns-prefetch" href="https://scripts.sirv.com">
<script src="https://scripts.sirv.com/sirvjs/v3/sirv.js"></script>

<div class="Sirv" data-src="https://youraccount.sirv.com/products/chair/chair.spin"></div>

Inside a product gallery, add the .spin as one data-src item among images/videos - see ../sirv-media-viewer/SKILL.md for gallery composition, thumbnails, and fullscreen.

Key Options

Set via data-options, the .spin file (JSON - also holds image list and hotspots), profiles, or SirvOptions:

| Option | Default | Purpose |

| --- | --- | --- |

| spin | drag | Interaction: drag or hover |

| speed | 50 | Drag sensitivity (0-100) |

| autospin | - | once, twice, infinite, or off |

| autospinSpeed | 3600 | ms per full rotation |

| autospinDirection | - | clockwise, anticlockwise, alternate |

| autospinStart | - | load, hover, click (combinable) |

| hint / hintText / mobileHintText | true / "Drag to spin" / "Swipe to spin" | Interaction hint |

| zoom | 2.5 | Click-to-zoom magnification (0 disables; activates when source exceeds display by 20%) |

| fullscreen | true | Fullscreen button |

| startColumn / startRow | - | Initial frame |

| loopColumn / loopRow | true / false | Wrap past the last frame on each axis |

| spinOnAnyDrag | false | Single-row spins: also react to vertical drags |

Mobile: keep spinOnAnyDrag:false (via data-mobile-options="spinOnAnyDrag:false;") so vertical swipes still scroll the page.

Video ↔ Spin Conversion

Red Flags

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.