← Back to list
🎨

sprite-stacking

Makes fake-3D rotatable pixel art with sprite stacking. Turns four orthographic views (top, side, fr
🎨 Design & Creative skills By danielwh2 Version v1.0.0cce02e Added 2026-11-24 Updated 2026-12-03 Source ↗
8.5Overall rating
1Views
6Downloads
0Stars

Installation

🤖 Install via AI

Copy the prompt below and send it to your AI assistant (e.g. Claude Code) — it will follow the instructions and install automatically.

Install the "sprite-stacking" skill by following the instructions at https://skill123.me/install/sprite-stacking.
⌨️ Command line install

Run in your terminal — downloads and installs to ~/.claude/skills/.

curl -fsSL https://skill123.me/install/sprite-stacking.sh | bash
📦 Download ZIP

Download the zip and extract it into your skills directory (e.g. ~/.claude/skills/), then restart your session.

⬇ Download v1.0.0cce02e · 3.2 MB
📊 Static rating
8.5/10
Trigger
9.0
Structure
8.0
Workflow
9.0
Content
8.0
Engineering
8.0
Security
7.0

Six-dimension rubric with reviewer rationale.

View scorecard ↓
🛡 Dynamic test
—

Not live-tested yet — this skill is rated on static analysis only.

About this skill

Makes fake-3D rotatable pixel art with sprite stacking. Turns four orthographic views (top, side, front, back) into a visual-hull carved slice strip, checks it, and renders a crisp turntable for web Canvas, Godot, Unity or Phaser. Use when someone asks to "make a rotatable pixel art car", "sprite stacking", "fake 3D pixel art", "pixel art turntable", "stacked slices", "voxel-style 2D sprite", or wants a top-down vehicle, prop, tree or building that turns without drawing every angle.

Sprite stacking

An object is a horizontal strip of flat top-down slices, ground slice on the left, roof on the right. Draw them bottom to top, each rotated by the same angle, squashed vertically for camera pitch, and lifted 1 px per slice. One small sheet gives every angle in crisp pixels.

Never ship a stack you have not rendered and looked at. Paths below are relative to this skill's folder.

Documentation

Makes fake-3D rotatable pixel art with sprite stacking. Turns four orthographic views (top, side, front, back) into a visual-hull carved slice strip, checks it, and renders a crisp turntable for web Canvas, Godot, Unity or Phaser. Use when someone asks to "make a rotatable pixel art car", "sprite stacking", "fake 3D pixel art", "pixel art turntable", "stacked slices", "voxel-style 2D sprite", or wants a top-down vehicle, prop, tree or building that turns without drawing every angle.

Sprite stacking

An object is a horizontal strip of flat top-down slices, ground slice on the left, roof on the right. Draw them bottom to top, each rotated by the same angle, squashed vertically for camera pitch, and lifted 1 px per slice. One small sheet gives every angle in crisp pixels.

Never ship a stack you have not rendered and looked at. Paths below are relative to this skill's folder.

0. Pick the path


What do you have?
├── Slice strip PNG or MagicaVoxel layer export ──▶ Step 3 (Render)
├── 4-view sheet (top, side, front, back) ────────▶ Step 1 gate ─▶ Step 2 (Carve)
└── A prompt or an idea ──────────────────────────▶ Step 1 ─▶ Step 2 ─▶ Step 3

In an existing project, read the renderer first: engine, pixel scale, how sprites are drawn and sorted, which objects turn. Fit the stack into that renderer. Never add a second canvas or render pipeline.

1. Get a 4-view sheet

The sheet: one 1x4 row in the order TOP, SIDE, FRONT, BACK, on flat white, with clear gaps between views. TOP looks straight down, front pointing down. SIDE has the front pointing left. Same scale in all four.

Pick a tier:

  • **Chunky retro:** 15-20 slices, about 25×48 px. Bold silhouettes, 3-4 px stripes, shown at 8-10x.
  • **Detailed hi-bit:** 26-44 slices, 36×72 to 46×107 px. Holds vents, logos, spoked rims, glass reflections, raised spoilers.
  • **Showcase / 1080p video:** 36-56 slices, 30×30 to 148×148 px, shown at 4-6x integer scale. Avoids chunky silhouette stepping and rotational wobble when tiny sprites are blown up to 7-9x on HD video. Architectural micro-details that read cleanly across 360° (shutters, flower boxes, balcony railings, roof moss, lily pads, lantern posts, cliff tendrils, waterfalls) elevate dioramas without breaking palette discipline.

Choose density from the **closest shot**, not the output file's dimensions. A 50 px hull enlarged to 450 px still has 50 px of design. If a feature cannot be drawn as a connected shape (e.g. a canopy with a frame), redraw the source with room for it or choose a closer composition; don't sharpen or blur an enlargement. Show scale through features of known size: windows → hatch → module → array.

View full documentation

Draw the part that *does* the action. A nozzle needs a lip and opening, a moving panel needs a fixed hinge, a wheel needs a contact patch. Mark the local attachment point and axis when authoring the strip; use that same pivot to place the effect or child part when the stack turns. Apply this to the receiving object too: if two pieces latch, design both mating surfaces. Spend detail there before adding bolts elsewhere.

Then take the first source that applies.

**a. You have an image generation tool.** Use this prompt. Swap the subject, keep the rest verbatim:


Chunky pixel art orthographic model sheet of [SUBJECT] with rich 3-tone hue-shifted pixel shading (deep cool-shifted shadows, saturated midtones, bright warm top highlights along ridges and edges), bold 3-4px stripes/accents, and crisp specular pixels on glass. Four views in a clean 1x4 horizontal row (or 2x2 grid) on a completely flat solid white or pale gray background:
1. TOP view looking straight down, front pointing DOWN.
2. SIDE view, front pointing LEFT.
3. FRONT view.
4. BACK view.
Strictly orthographic: zero perspective, zero tilt, zero 3/4 angle. Identical scale across all four views so length, width, and height match pixel for pixel. Bold 1px dark outline around each view, solid flat color clusters, crisp internal panel shading, zero anti-aliasing, zero soft edges, zero cast ground shadows, zero grid lines, zero text, generous empty space between views.

**b. The user has a sheet.** Use it.

**c. Neither.** Draw the four views yourself as pixel art in a short Python/PIL script at native resolution, one pixel per art pixel (numpy arrays or ImageDraw). Give each view a 1px dark outline, keep length, width and height identical across views, upscale 8x with Image.NEAREST, and paste them in one row on flat white with at least 40 px between views. Carve it with --slices set to the SIDE view's native height including its outline, so the slices land back on your pixels.

The slicer keeps a voxel only where every view covers it, so for (c):

  • Round objects (pots, canopies, domes, wheels seen from above) need a pixel circle in the TOP view. A square TOP carves a box. If a round part is narrower than the widest part (a tower on a wide base, a balloon over its basket), carve with --round too, or it comes out square.
  • Fins, leaves, wings and any irregular plan need their real outline in the TOP view, or they carve as blocks.
  • The SIDE and FRONT silhouettes set the profile: a rectangle makes a cylinder, so round them for a ball.
  • Wall detail (windows, doors, panel lines) goes in SIDE, FRONT and BACK. Roof detail goes in TOP.
  • Anything that sticks out of a wall (flower box, porch, sign) carves a ledge along that whole wall. Paint small protrusions flat, and give a chimney a flat strip of ridge to stand on.
  • Shade with a 3-4 tone hue-shifted ramp: cool deep shadow, saturated mid, warm highlight. No gradients, no anti-aliasing.
  • Centre the object: the stack spins about the middle of its bounding box, so a base that reaches further on one side makes it orbit off-axis.

### Gate: look at the sheet before slicing

1. **Orientation:** TOP front points down. SIDE front points left (if right, pass --side-nose right).

2. **Proportions:** TOP length = SIDE length, TOP width = FRONT/BACK width, SIDE height = FRONT/BACK height.

3. **Hard edges:** flat fills, crisp outlines. Soft airbrushed edges or thin 1px internal lines smear once slices rotate. Regenerate or redraw rather than salvage.

4. **Holes:** overhangs that show daylight in the SIDE view (a raised rear wing) survive. Cavities hidden from all four silhouettes (truck beds, hollow arches) fill in. Fix those slices by hand after carving.

5. **Lessons:** run down the Lessons table at the end of this file.

2. Carve and inspect

scripts/views_to_slices.py needs Python 3 with Pillow and NumPy. It removes the background (transparent or flat), strips the 1px view outlines, quantizes to one shared palette, carves the slices, and writes a check sheet and a standalone viewer.


python3 scripts/views_to_slices.py views.png slices.png \
  --slices 36 --shade 0.2 --preview check.png --html viewer.html

| Flag | Default | When to change it |

| --- | --- | --- |

| --slices N | auto (36 if the SIDE view is taller than 64 px, else native) | 15-20 chunky, 32-48 hi-bit, native height for drawn sheets, 0 keeps the sheet's raw pixels |

| --order | auto | auto picks TOP and SIDE by matching proportions (TOP length = SIDE length, TOP width = FRONT width, SIDE height = FRONT height); reading order wins ties. reading forces TOP, SIDE, FRONT, BACK |

| --round | off | Towers, balloons, pots, bottles: clips each slice to the ellipse its SIDE and FRONT spans describe. Leave off for fins, wings and boxes |

| --side-nose | left | right if the SIDE view faces right |

| --top-nose | auto | Auto reads car cabins. Pass down for anything that is not a vehicle, and up or down if it flips a car |

| --shade | 0.2 | 0.12-0.15 for richly shaded views, 0.25 for flat ones, 0 for none |

| --colours | 24 | 32-48 for detailed liveries, 0 to keep every colour |

| --bg-tol | 28 | Raise a little if JPEG noise leaves a fringe |

| --dark-thresh | 70 | 0 to keep outlines on very dark silhouettes |

| --normals | *(none)* | Save a matching 3D normal-map slice strip PNG |

| --emissive | *(none)* | Save an auto-detected emissive mask strip PNG |

Open check.png and look at it right after carving: all four extracted views, four turntable angles and the exploded view. Do this before writing any integration code. viewer.html opens in a browser with Turntable, **Scene** (Living Diorama: Neon Street / Meadow Island with procedural stacked props + multi-PNG prop drops), Slic

Score breakdown

Trigger
9.0
Structure
8.0
Workflow
9.0
Content
8.0
Engineering
8.0
Security
7.0

Assessment methodology

⏳
Assessment in progress
This skill has not been assessed yet — use with caution.

Version history

v1.0.0cce02e 2026-11-26
3.2 MB

— Imported from GitHub danielwh2/sprite-stacking/skills/sprite-stacking@0cce02e

v1.0.6fecdfd 2026-11-24
3.2 MB

— Imported from GitHub danielwh2/sprite-stacking@6fecdfd