make-pixel-splats

Installation
SKILL.md

Pixel art from code-built gaussian splats

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 -c:v libx264 -pix_fmt yuv420p film.mp4.
  3. A frame takes 0.3 to 1 s on a mid-range GPU at 60k to 80k splats.

Files

Installs
7
Repository
codepawl/viz3d
GitHub Stars
205
First Seen
7 days ago