Skip to content
Back to skills

Make Pixel Splats

ASecurity

Make pixel art scenes from gaussian splats written by code, with no 3D model, rendered in Crucible: shapes from signed distance functions, light baked into each splat, then glow, haze, a small palette and dither, or the crisp ink look with body-coloured contours. Ships example scenes, motion helpers, a headless frame renderer, film plans and a 'how it's made' explainer compositor. Use for pixel art splats, voxel splat dioramas, code-built gaussian splat scenes. Also sprite stacking: pixel-art...

  • 357 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
designgonodeaws

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 20 files and shows the line behind each finding

Scanned November 22, 2026

npx -y skills add codepawl/creator-generalist --skill make-pixel-splats --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Make Pixel Splats?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Make Pixel Splats
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/codepawl-make-pixel-splats-creator-generalist/badge)](https://www.skillsdirectory.com/skills/codepawl-make-pixel-splats-creator-generalist)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: make-pixel-splats
description: "Make pixel art scenes from gaussian splats written by code, with no 3D model, rendered in Crucible: shapes from signed distance functions, light baked into each splat, then glow, haze, a small palette and dither, or the crisp ink look with body-coloured contours. Ships example scenes, motion helpers, a headless frame renderer, film plans and a 'how it's made' explainer compositor. Use for pixel art splats, voxel splat dioramas, code-built gaussian splat scenes. Also sprite stacking: pixel-art slices of a GLB that turn to any angle (\"sprite stack\")."
license: MIT
---

# Make Pixel Art From Splats
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.

## Set up

`{{SKILL_DIR}}` is this skill's folder and `{{WORK_DIR}}` the folder where projects live.

1. Copy `{{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.
2. Stills: `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.
3. A frame takes 0.3 to 1 s on a mid-range GPU at 60k to 80k splats.

## Files

| 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](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 |

## Make a scene

1. Write a builder `(spacing) => scene` like the ones in `medieval2.js` and add it to `SCENE_BUILDERS`.
2. Each static part is a model `{ 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.
3. Moving parts are voxelized once around their own pivot and moved each frame with `placeSplats(list, { x, y, z,
   heading, scale, deform })`. Small things (bats, bubbles, ash, eyes) are point lists built in `dynamic(time)`.
4. The scene object also carries `palette`, `background`, `camera`, `mist`, `haze`, `glows(time)` and
   `contactShadows(time)`. Read [references/method.md](references/method.md) for the fields and the numbers that worked.
5. Render one still in each look, read it, fix, and only then render a film.

## Looks

- Default (picked after a 200/320/400 px test): internal 360 px, spacing about
  0.0075 (about 140k splats on a small island), crisp style above, out at 4x (1440). Fewer pixels read as blur.
- A: internal 216 px, spacing 0.02, dither 0.12. Chunky, good on bright scenes, muddy on dark ones.
- C: internal 360 px, spacing 0.015, dither 0.06, `paletteSteps: 3`. Holds detail at night. The haunted films use it.
- Reveal: raise `internalSize` to 1080 and set `style.palette` to `'none'` to show the single round splats.
- Ink: `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](references/ink-look.md).
- Sprite stack: a GLB cut into pixel slices that turn to any angle. Read [references/sprite-stacking.md](references/sprite-stacking.md).

## Matching a crisp reference

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).

- Before building, put a reference frame beside a first still at the same scale, zoom both 3x, and send that pair to
  the owner. Do it at the first still, not after several film previews, and send it whenever they ask to compare.
- Build for flat pixels from the start: boxy parts with flat faces, one or two hues per scene in 4 to 6 steps, material
  colour picked from that ramp with no noise, light quantized into bands, dither used as texture on large faces.
- Plain dark background: no gradient, moon halo, clouds or dense stars. No glow halos, haze, mist or translucent
  splats; a light is a hard bright pixel cluster.
- Internal size near 190 to 216 px with an integer upscale.
- The cozy and haunted scenes here are the soft, painterly look. Do not promise the crisp look from them.

## Rules that came from mistakes

- Never mutate cached static lists in a frame. Copy before scaling, or splats shrink a little every frame.
- Keep mist alpha near 0.02 to 0.04 and its splats low and outside the subject, or it buries the scene.
- Keep haze soften at 1 px at any size, or the high resolution reveal turns to blur.
- Dark scenes need moonlit sun colour near white and an ambient near 0.4. A green ambient makes green soup.
- A face in a dark hood needs a pale, slightly emissive skull and small eye splats with a tight glow, or it reads as a
  red blob.
- A thin blade swung in the plane that faces away from the camera reads as a bar. Swing it in the plane facing the
  viewer.
- Linear motion looks dead: ease every move, hold between moves, let swings ring down, and key the camera.
- Lightning is many filled steps with a soft wide twin, plus a sky flash and a glow on the ground, not a dotted line.

Files in this skill

  • SKILL.md7.4 KB
  • references/ink-look.md6.1 KB
  • references/method.md3.5 KB
  • scripts/index.html167 B
  • scripts/island-parts.js11.2 KB
  • scripts/medieval.js22.9 KB
  • scripts/medieval2.js34 KB
  • scripts/motion.js1.6 KB
  • scripts/package.json131 B
  • scripts/page.js28.8 KB
  • scripts/plans/haunted-film.mjs5 KB
  • scripts/plans/howto-layers.mjs2.6 KB
  • scripts/plans/seasons-cycle.mjs1.1 KB
  • scripts/plans/seasons-stills.mjs395 B
  • scripts/plans/showcase.mjs1.5 KB
  • scripts/plans/stills.mjs667 B
  • scripts/plans/windmill-density.mjs579 B
  • scripts/plans/windmill-still.mjs449 B
  • scripts/render.mjs3 KB
  • scripts/scenes.js30.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in design →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.