/qadri-3d:360-product-spinfrom qadri-3d
Add a 360° product spin (a draggable image sequence) to a product page, and produce the frames by photographing the product on a turntable or rendering a 3D model with three.js. Use when the user wants a 360 view, a spin or rotating product photos, "turn the product around", a 360 product viewer, sprite sheets for product rotation, or has product photos but no 3D model. Uses the zero-dependency Spin360 web component.
Ships in qadri-3d. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A 360° spin is a sequence of photos or renders, shown one at a time as the shopper drags. Compared with real-time 3D:
| 360° spin | Real-time 3D | |
|---|---|---|
| Source | Photos, or renders from a 3D model | A glTF model |
| Realism | Photographic: exactly what the camera saw | Depends on the model and materials |
| Shopper can | Turn it around one axis | Orbit freely, zoom, configure, AR |
| Weight | ~200–300 KB for 36 WebP frames | Model plus runtime; usually larger |
| Best for | Apparel, shoes, jewelry, food, anything with no good 3D model | Configurable products, furniture, AR |
Use a spin when the product is photographed rather than modeled, or when photographic realism matters more than interactivity.
Spin360 is a zero-dependency web component, under 5 KB gzipped:
<script type="module" src="https://cdn.jsdelivr.net/gh/ahmettasdemirusa/[email protected]/spin360.js"></script>
<spin-360 src="/images/mug/{i}.webp" frames="36" pad="2" alt="Ceramic mug, 360° view" autoplay></spin-360>
{i} is replaced by the frame index, and pad="2" gives 00–35.<spin-360 sprite="/images/mug-sprite.webp" frames="36" columns="6">src attribute; the current angle is kept.Live demo: https://ahmettasdemirusa.github.io/spin360/
00.webp … 35.webp.When a 3D model exists, render the frames instead. They come out perfectly consistent, and you can render every colorway without a photoshoot.
The Spin360 repo includes a working renderer: tools/render-frames.html plus tools/render.py. It:
360 / frames degrees per frame, rendering each one to a canvas--use-angle=swiftshader) and reads the frames from --dump-domTwo lessons from building it:
--dump-dom output small. Output of several megabytes was unreliable in testing. Render about 12 WebP frames per run, not 36 PNGs at once.@@FRAMES@@. A marker like END can occur inside base64 data by chance and silently cut a frame.To adapt it to a real product, replace the procedural mug with GLTFLoader loading your .glb (see the threejs-product-viewer skill), and keep the camera fixed while you rotate the model.
alt text describes the product.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub qadri-uk/claude-skills --plugin qadri-3d71 skills in this plugin
/3d-3d-cloth-materialBuild convincing woven cloth in Three.js, with a thread-level weave normal map, sheen and anisotropic highlights, folds that never stretch the texture, hems with thickness, stitches, seams, frayed edges, fold occlusion, dye and wear variation, and light passing through thin fabric. Use for linen, silk, wool, canvas, curtains, banners, cloaks, tablecloths, tapestries or any 3D drape that currently looks like a plastic sheet, a stretched texture, or a flat coloured plane./3d-3d-falling-leavesBuild recognizable falling leaves in world space using instanced geometry, independent tumble, coupled sideways drift, shared wind, scene occlusion, and camera-aware recycling. Use for 3D autumn leaves or drifting foliage in Three.js and similar scenes; use falling-leaves for a 2D canvas overlay./3d-3d-four-seasonsAdd coordinated spring, summer, fall, and winter states to a 3D scene, blending foliage, sunlight, sky, ground materials, snow, and particles without rebuilding the world. Use for seasonal controls, architectural walkthroughs, and outdoor scenes with four-season transitions./3d-3d-high-poly-modelsCreate or integrate highly detailed 3D models with smooth silhouettes, shaped surfaces, believable bevels, and close-up geometry, then prepare suitable runtime LODs and loading. Use when a user requests high polygon counts, ultra-realistic models, detailed architectural assets, or removal of visibly faceted geometry./3d-3d-high-resolution-texturesBuild sharp, physically coherent high-resolution materials for 3D rendering with appropriate PBR maps, texel density, UV direction, mipmaps, anisotropic filtering, and progressive asset delivery. Use for detailed wood, stone, fabric, foliage, and architectural close-ups without excessive download or GPU memory costs./3d-3d-metal-materialBuild hyperrealistic PBR metal in Three.js: steel, brass, gold, copper and iron as true conductors (metalness 1, measured F0 tint, no albedo) with roughness-varied finishes (polished, brushed anisotropic, aged with patina and worn edges) lit by a dark HDR studio of real bright window cards prefiltered with PMREM. Use when metal looks like grey plastic, a dull blur, or a black hole; when blades, tools, rings, ingots, hardware or product metal need reflections with edges and structure; or when a finish needs scratches, streaks, fingerprints and bevels that catch light.