/pseudo-pixel:pseudo-pixelfrom pseudo-pixel
Generates pixel-art spritesheets from reference images by creating a 3D model (TripoSG), rigging, coloring, animating as a PS1-style low-poly model, and rendering from 8 directions with dithered toon shading.
Ships in pseudo-pixel. 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.
You make sprites of whatever the reference shows (a character, a creature, a vehicle, a prop) with Blender Python scripts, review the renders by looking at them, and render spritesheets. Blender does all the rendering. You do the rigging, colouring and animation. Everything below says "character" for whatever the subject is.
The pipeline: reference image -> generated 3D mesh (TripoSG) -> rig -> colour -> PS1 low-poly model -> animations -> spritesheets. The sprites should look like the reference from its own side, with every other side believable: same proportions, features and colours, as a faceted low-poly model with flat-coloured, Gouraud-shaded triangles (as PS1 games were).
pp.py sits at the root of the pseudo-pixel repository (two folders above this file). Run it with any
Python 3. It finds Blender through the BLENDER environment variable, PATH, or the default install
location (Blender 5.2 or newer).
python pp.py new <char_dir> <reference_image> # new character folder + character.json (PS1 look)
python pp.py generate <char_dir> [--seed N] # cut out the reference, measure it, TripoSG -> model/generated.glb
python pp.py run <char_dir> <script.py> # run a script against the .blend, then save it
python pp.py inspect <char_dir> # the .blend's current state as JSON
python pp.py preview <char_dir> --compare # the model over the reference, same scale and angle
python pp.py preview <char_dir> --turnaround # the model from every view, large and at sprite size
python pp.py preview <char_dir> --anim <name> # contact sheets for an animation or any action (--view E)
python pp.py render <char_dir> [<name> ...] # spritesheets + JSON in <char_dir>/out
python pp.py play <char_dir> # the model's actions in a 3D player in the browser
python pp.py view # play every rendered sheet in the browser
Scripts run inside Blender and can import the helpers: model (import, rig fitting, weights, paint,
props, low poly), rig (skeletons), anim (actions, leg_ik, aim), build (parts and Ref) and
library (parts and actions saved as JSON). Read the reference before writing a script of that kind:
paint and flatten in detail, building
from parts.character.json render setting.If a Blender MCP server is connected (a tool that runs Python in the user's open Blender and shows its
viewport), use it to look and to try things: open the character's .blend in it
(bpy.ops.wm.open_mainfile(filepath=...)), look at the model from any angle, check a weight by posing a
bone, measure a part, try a colour rule or a pose, play an action, before writing it into a script.
Who edits the file decides where changes are made:
Only you (the default): every change goes through a numbered script and pp.py run, and you
never save from the live Blender. pp.py run saves the file on disk: open it again in the live
Blender afterwards, or you are looking at the old version.
The user, in the live Blender (they paint, delete faces or pose there, or ask you to work in it):
their open session is the source of truth, and pp.py run would write the file under it (their next
save undoes your change, or yours undoes theirs). Still write each change as a numbered script, then
run it in the live Blender and save there:
import os, sys
sys.path.insert(0, r"<repo>/pp"); os.environ["PP_CHAR_DIR"] = r"<char_dir>"
path = r"<char_dir>/scripts/012_tail.py"
exec(compile(open(path, encoding="utf-8").read(), path, "exec"), {"__name__": "__main__"})
bpy.ops.wm.save_mainfile()
Previews and renders always come from pp.py preview and pp.py render (the sprite camera and settings;
the viewport has neither), which read the file on disk: save in the live Blender first. They run
Blender in the background with factory settings, so the user's add-ons, the MCP server among them, stay
out of it.
characters/<name>/ in the workspace (the current project). Everything for
a character, including its sheets in out/, stays in that folder.pp.py inspect and work from what it reports, not from your
memory of earlier scripts.<char_dir>/scripts/: 001_model.py, 002_rig.py, 003_paint.py, ...
Write each one there, then pp.py run it. Never edit a script that has already run: write a new
one. The folder is a log of what was done.character.json, not in the .blend. Changing them (size, fps, palette,
angle) only needs pp.py render.model.centre, model.front,
B.k) rather than guessing numbers, and use the helpers for what they cover. Per-character fixes
are small scripts in the character's folder; never change the tool for one character.Follow references/generated.md:
pp.py new, pp.py generate, set reference_scale.height, and add the animations the user asked
for to character.json (for example "idle": {"loop": true}).001_model.py: model.import_mesh. Preview --compare --turnaround. Checkpoint 1: the shape.002_rig.py: bones for what moves, placed on the mesh with model.front and model.centre (feet
along their soles with model.sole); rig.add_foot_ik for legs; model.auto_weights (0
unweighted); model.limb_weights for limbs fused to the body; rigid parts weighted 100% to their
bone. Pose-test the weights.model.flatten, model.paint, then review all 8 views and fix every wrong patch
with measured model.color_faces rules (and model.stripes for rings), each fix a complete new
paint script, until every view is right.model.cut them and model
low-poly ones with model.loft on their own bones.model.lowpoly (with tubes for tails and other long round parts), then model.detach for every
part that touches the body and moves on its own (arms, a tail, wheels, a turret). Review the colours
again on the low-poly model. Checkpoint 2: the colours. The user may then fix faces by hand in
Blender (generated.md, section 5); after that, never run lowpoly again.model.detach the parts it names). Checkpoint 3: the motion. Open pp.py play for the
user (and the previews/<name>_hires.png contact sheets), and turn their notes into new scripts
until they are happy.pp.py render. Report the sheets in out/, frame counts and any warnings; pp.py view plays them.If the generator isn't set up (README) and the user doesn't want to set it up, build the subject from
parts instead (references/modelling.md) and skip generate, import_mesh
and paint; lowpoly is only for generated meshes.
inspect -> add it to character.json -> new NNN_anim_<name>.py -> run -> preview -> review ->
render <name>. The model and the other actions stay as they are.
inspect -> new script that changes only what was asked -> run -> preview -> review -> re-render the
affected sheets. On a low-poly character, recolour with model.color_faces on body, or change the
guide body_hi and run model.lowpoly again. anim.action(name) rewrites an action, so start from its
keys in the inspect output.
Edit character.json (output, or one animation's entry to override it there) -> render. Don't
touch the .blend. The fps only changes how often the motion is sampled; the animation's speed stays
the same.
New script: import anim; anim.retime(0.75, ["attack"]) (under 1 is faster), run, preview, render.
Both characters must share bone names. New script: anim.import_action("../knight/knight.blend", "walk") (paths from the character's folder; optionally a new name as the third argument), add the
animation to character.json, then preview and adjust keys that depend on proportions or on the rest
pose (lunges, bobs, arm angles).
A workspace can keep a library/ folder next to characters/. Save with
library.save_parts("../../library/parts/<name>.json", [part names]) or
library.save_action("../../library/actions/<name>.json", "<action>"), and load into another character
with library.load_parts(path, scale=...) or library.load_action(path, "<new name>").
Render only. Don't run scripts against the .blend.
pp.py new writes it with the PS1 look; generate fills in reference_scale (but its height) and
references:
{
"name": "hero",
"reference": "reference.png",
"reference_scale": {"ground": 965, "top": 147, "height": 2.2},
"references": [{"image": "analysis/flat.png", "mask": "analysis/mask.png", "view": 90, "center": 497}],
"output": {
"frame": [64, 64], "pixels_per_unit": 17, "anchor": [32, 52], "fps": 12,
"shading_steps": 5, "dither": 0.6, "hue_shift": 0.15, "light": [-1, -0.6, 0.7], "despeckle": false,
"views": {"S": 90, "SE": 45, "E": 0, "NE": 315, "N": 270, "NW": 225, "W": 180, "SW": 135},
"elevation": 30, "supersample": 4
},
"animations": {
"idle": {"loop": true},
"attack": {"loop": false}
}
}
views are camera angles around the character (90 sees its front, 0 its right side, 270 its back);
8 directions write idle_S, idle_SE, ... Keep the whole character and its animations inside the
frame from every view: the character is about height * pixels_per_unit pixels tall, and with the
camera looking down, anchor (the pixel under the origin) sits above the frame's bottom. An animation
can have its own frame when its preview reports it CLIPPED (the anchor moves with it, so the
character stands in the same place in every sheet); otherwise keep one frame size for all. Every setting: references/render.md.
out/<name>.png is a spritesheet: one frame per 1 / fps seconds of animation, in one row (or
columns per row), so a 2 s idle at 12 fps in 64x64 frames is a 1536x64 sheet. out/<name>.json is in
Aseprite's array format: frame rectangles, per-frame duration in ms, a frame tag, and rootMotion
offsets in pixels (y down) when the animation moves the root. Engines' Aseprite importers read it
directly.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub craigrusselltiu/pseudo-pixel --plugin pseudo-pixel