/qadri-3d:threejs-splatsfrom qadri-3d
Gaussian splats in three.js and R3F with Spark: loading SPZ, PLY, SPLAT, KSPLAT and SOG captures, orientation, mixing with meshes, LOD. Use when showing photogrammetry or radiance-field captures. Hands off to `threejs-performance`.
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 Gaussian splat is a captured scene stored as millions of soft colored ellipsoids instead of triangles: real-world
places and objects with view-dependent lighting baked in. Use Spark (@sparkjsdev/spark 2.4, MIT, by World Labs):
it renders splats inside the normal three.js pipeline, sorts several splat objects together, mixes them with
meshes, and runs on mobile WebGL2. It needs WebGLRenderer; there is no WebGPU path.
.spz (smallest, preferred for the web), .ply (raw training output,
often 50-500 MB), compressed .ply, .splat, .ksplat, or .sog. Convert large PLY files to SPZ before
shipping (Spark's transcodeSpz, or the capture tool's SPZ export).references/spark.md and set up SparkRenderer plus one SplatMesh per capture.splat.quaternion.set(1, 0, 0, 0) flips them). Set scale and position on the SplatMesh like any Object3D.await splat.initialized before framing the camera or reading bounds.lod: true on the mesh, enableLod on the renderer) and paging for
multi-million-splat captures, and cap the pixel ratio; splats are fill-rate heavy.Splats and meshes share the depth buffer, so a mesh can stand inside a captured room. Splats carry their own baked lighting: three.js lights do not affect them, so light meshes to match the capture (an environment map made from the same location matches best).
<Splat> for new work that needs several captures, editing or LOD; it is a lighter, single-splat
component.initialized resolves.Next: threejs-performance for fill rate and pixel ratio when frames drop.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub qadri-uk/claude-skills --plugin qadri-3d71 skills in this plugin
/360-product-spinAdd 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./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.Other plugins' skills for the same job