/3d-generalist:make-pixel-splatsfrom 3d-generalist
Creates pixel art scenes from code-generated gaussian splats using Crucible, with no 3D model input. Supports SDF shapes, baked lighting, dither palettes, sprite stacking from GLB slices, and headless frame rendering for films.
Ships in 3d-generalist. 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; scripts run unread.
Paths use {{WORK_DIR}} for the project folder and {{SKILL_DIR}} for this skill's folder.
No mesh and no capture go in. A script writes every splat: position, round scale and a colour that already holds its light. Crucible draws them at a low internal size, then the page turns the frame into pixel art.
{{SKILL_DIR}} is this skill's folder and {{WORK_DIR}} the folder where projects live.
{{SKILL_DIR}}/scripts/ to {{WORK_DIR}}/pixel-splats/ and run npm install there. It installs
@codepawlhq/crucible, which brings playwright-core. Rendering needs Chrome installed.node render.mjs plans/stills.mjs out/stills. Film frames: node render.mjs plans/haunted-film.mjs out/film
(FILM_FPS, FILM_SIZE, FILM_UNTIL set rate, output size and a cut-off), then
ffmpeg -framerate 30 -i out/film/frame_%04d.png -vf "scale=iw*8:ih*8:flags=neighbor" -c:v libx264 -pix_fmt yuv420p -crf 4 -tune animation film.mp4
from frames at the internal size. The upscale factor must be even, 8x best: 4:2:0 chroma and h264's 8x8 blocks
smear an odd 5x grid (measured 2026-11-16: 5x crf 12 kept 67% of pixel blocks clean, 6x crf 4 98%, 8x crf 4 100%,
and the 8x file was the smallest). For a crisp look set style { dither: 0, supersample: 4, alphaCut: 0.5 }:
splats are soft gaussians, so a 1x render plus Bayer dither reads as blur and speckle (one winter frame: 10% lone
speckle pixels with dither 0.08, 1.5% with these settings). Swap scenes with a pixel-grid wipe after rendering,
not the per-splat dissolve, which turns into noise once alpha is hard: scripts/tools/wipe.py blends next_NNNN.png frames into frame_NNNN.png.
The same place in another state (seasons, day to night) never cuts or wipes like a slideshow. Blend
in place block by block, as season-cycle.js does: shared blocks swap colour, new ones
grow up, lost ones sink, leaves fall, one part turns before another.| File | Holds |
|---|---|
voxel-splats.js | SDF shapes (sphere, box, capsule, cone, torus, floating island), voxelizeModel, placeSplats, packSplatData |
motion.js | easing, walk-then-hold steps, struck pendulum that rings down, smooth wobble |
page.js | scene setup, mist and wisps, assemble and dissolve, camera, glow halos, haze, palette and Bayer dither |
medieval.js, medieval2.js | haunted chapel crag, witch swamp, gallows with the Reaper |
scenes.js | lighthouse, snail meadow, koi pond, and SCENE_BUILDERS, the registry render.mjs names scenes from |
windmill.js | ink-look windmill island with smoke, water, birds and clouds; read references/ink-look.md |
seasons.js, season-cycle.js, island-parts.js | Pocket Seasons: one island blending through the four seasons |
tools/ | wipe.py, check_sail_clearance.mjs, howto_compose.py (explainer compositor) |
plans/ | stills, the 24 s haunted film, seasons, windmill still and density sheet, showcase, explainer layers |
(spacing) => scene like the ones in medieval2.js and add it to SCENE_BUILDERS.{ distance, material, bounds } passed to voxelizeModel(model, spacing, light, { shadowModel }). material(x, y, z, nx, ny, nz) returns [r, g, b, emission, alpha]. Pass voxel: 0.02 to snap
every part to the same cubes with one colour per block face, so house, tree and ground share one block size. A part one block thin must sit on a block centre. Give every part the whole
scene as shadowModel so parts shadow each other.placeSplats(list, { x, y, z, heading, scale, deform }). Small things (bats, bubbles, ash, eyes) are point lists built in dynamic(time).palette, background, camera, mist, haze, glows(time) and
contactShadows(time). Read references/method.md for the fields and the numbers that worked.paletteSteps: 3. Holds detail at night. The haunted films use it.internalSize to 1080 and set style.palette to 'none' to show the single round splats.style.ink with ramp-shaded materials, the crisp look of the trending X dioramas. Showcase, "how it's made"
film and posting flow in references/ink-look.md.Sharp pixel art is decided by the shapes and colours you build, not by the post pass. Rounded SDF shapes with smooth baked light and noisy materials give many close tones side by side, and that reads as blur at any pixel size. Flags that harden alpha, drop haze, thin the palette or median the tones made it cleaner but never crisp (three rounds, then dropped).
references/ink-look.md (opens in a new tab)references/method.md (opens in a new tab)references/sprite-stacking.md (opens in a new tab)scripts/index.html (opens in a new tab)scripts/island-parts.js (opens in a new tab)scripts/medieval.js (opens in a new tab)scripts/medieval2.js (opens in a new tab)scripts/motion.js (opens in a new tab)scripts/package.json (opens in a new tab)scripts/page.js (opens in a new tab)scripts/plans/haunted-film.mjs (opens in a new tab)scripts/plans/howto-layers.mjs (opens in a new tab)scripts/plans/seasons-cycle.mjs (opens in a new tab)scripts/plans/seasons-stills.mjs (opens in a new tab)scripts/plans/showcase.mjs (opens in a new tab)scripts/plans/stills.mjs (opens in a new tab)scripts/plans/windmill-density.mjs (opens in a new tab)scripts/plans/windmill-still.mjs (opens in a new tab)scripts/render.mjs (opens in a new tab)scripts/scenes.js (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/3dgStart the 3d-generalist skill from a slash command, with an optional mode first and then the subject, for example "/3dg cutaway muddy puddle to village well" or "/3dg story porta-potty in a windstorm". With no request it shows the menu of modes./3d-generalist3D generalist studio for creators: source and kitbash scanned assets, build or rig characters, dress worlds and perspective cutaways, animate character acting, light and shoot, sync narration and foley, and pass automated QA gates across Blender, three.js and Crucible. Use for 3D Shorts, explainers, story animations, cutaway builds, 3D worlds, character animation, or a film where code builds the scene step by step ("code build-up video", "how it's made from code", "watch the code build this", "technique explainer", "generative art reveal", "3d generalist", "3D shorts", "cutaway 3D")./animate-charactersnpx claudepluginhub codepawl/creator-generalist --plugin 3d-generalistOther plugins' skills for the same job