sprite-stacking: Agent Skill Turns Four Pixel Views Into Spinning Fake 3D Art Daniel White's sprite-stacking GitHub repository, an agent skill that converts four orthographic pixel-art views into a rotatable fake-3D sprite, passed 1,306 stars in late November 2026. The MIT-licensed skill installs via `npx skills add danielwh2/sprite-stacking` on Node 22.20+ and works with Claude Code, Codex, Cursor, OpenCode, Gemini CLI and Pi, running a Python slicer (`views_to_slices.py`) that carves voxels surviving all four views and outputs slice strips plus an HTML turntable viewer. The repo is classified as a skill rather than a standalone app because agents generate the views, run the script and drop assets into Godot or web demos. sprite-stacking is a trending agent skill repo that turns four flat pixel art views into a spinnable fake-3D sprite , with a Python slicer , HTML turntable viewer , and one-command install via the skills CLI https://github.com/vercel-labs/skills?ref=explainx . The GitHub project https://github.com/danielwh2/sprite-stacking?ref=explainx by Daniel White crossed 1,300 stars in late November 2026 as developers wire Claude Code , Cursor , and Codex into game jam workflows. This is not a neural 3D model. It is the classic voxel carve trick: a pixel survives only where all four orthographic views agree, then layers stack into pseudo-depth you can rotate. Agents handle the boring glue: drawing views , running views to slices.py , and dropping assets into Godot or web demos. Quick facts from the README | Item | Detail | |---|---| | Install | npx skills add danielwh2/sprite-stacking Node 22.20+ | | Agents | Claude Code, Codex, Cursor, OpenCode, Gemini CLI, Pi | | Core script | skills/sprite-stacking/scripts/views to slices.py | | License | MIT | | Stars late Nov 2026 | About 1.3k on GitHub 1,306 stars | | Prior art | Sprite stacking in indie games; repo adds four-view agent workflow | How the pipeline works Sprite-stacking pipeline from four orthographic views to slice strips Image: Daniel White https://github.com/danielwh2/sprite-stacking?ref=explainx The README breaks the skill into four steps: 1. Views: one row with top, side, front, back , orthographic. 2. Carve: voxels survive only under all four masks. 3. Slices: volume cut into horizontal layers, ground first. 4. Render: layers rotated, pitch squashed, lifted one pixel per layer. The CLI example: python3 skills/sprite-stacking/scripts/views to slices.py views.png slices.png \ --slices 36 --preview check.png --html viewer.html Use --slices 15-20 for chunky props and 32-48 for detailed ones. Flags like --round carve cylinders instead of blocks; --normals and --emissive export matching strips for lit scenes. Agents can invoke this after generating views.png , which is why the repo is classified as a skill rather than a standalone app. Viewer features worth demoing Six fake-3D pixel art props rotating in the sprite-stacking viewer Image: Daniel White https://github.com/danielwh2/sprite-stacking?ref=explainx The generated viewer.html is more than a GIF preview. The README advertises: - Turntable and scene diorama modes with procedural props - Slice scan and exploded views for debugging voxels - Play mode with WASD driving across infinite grids - Time of day , draggable sun shadows, rain and snow weather - 16-direction baked PNG sprite sheet export Performance notes claim vectorized NumPy carving and a typed-array rasterizer hitting sub-millisecond frames in Chrome for typical props. Your mileage depends on slice count and prop complexity. How to talk to your agent The README suggests prompts like: - "Make a rotatable pixel art car." - "Sprite stack this 4-view sheet and give me a turntable." - "Add a fake 3D pixel art tree to my Godot game." That lines up with how explainx.ai readers already use Replica skill https://explainx.ai/blog/replica-skill-eleven-claude-skills-clone-any-app-recon-entrepreneur-guide-2026 and Claude animated shorts https://explainx.ai/blog/claude-animated-shorts-remotion-threejs-agent-skill-github-trending-guide-2026 skills: repeatable commands , not one-off vibe coding. For pixel effects rather than fake 3D, see pixelfx https://explainx.ai/blog/pixelfx-244-pixel-art-effects-claude-code-skill-mit-github-trending-guide-2026 . For short films without a video model, see Lemo Opuscar https://explainx.ai/blog/lemo-opuscar-claude-code-skill-short-films-no-video-model-43-styles-2026 . Install paths and folders | Agent | Skills folder | |---|---| | Claude Code | ~/.claude/skills/ | | Codex, Cursor, OpenCode, Gemini CLI, Pi | ~/.agents/skills/ | The npx skills path is fastest for jam weekends. Corporate machines should still run python3 tests/check.py from the repo if you fork it, per CONTRIBUTING expectations. Game-dev context: Steam volume and AI slop Valve cancelled February 2027 Steam Next Fest citing review backlog from rising submissions, as we noted in our Steam Next Fest update https://explainx.ai/blog/steam-next-fest-ai-slop-no-ai-filter-valve-disclosure-vibe-coded-games-2026 . Tools like sprite-stacking do not fix discovery , but they lower the cost of distinct pixel art that does not look like generic AI wallpaper . Pair art skills with honest AI disclosure on Steamworks forms. Players increasingly punish undifferentiated slop even when tools are legal. Security and licensing notes - MIT license allows commercial jam games. - Running npx skills pulls packages; pin versions on CI machines. - Generated HTML viewers run local JavaScript ; audit before hosting publicly if you embed untrusted agent output. Testing the skill locally From the repo root, python3 tests/check.py should print ok , per README. After install, verify: 1. Agent places views.png with four panels. 2. Slicer outputs slices.png and optional viewer.html . 3. Game engine imports sheet or slices with correct pixel scale . Workshops and team adoption Studios adopting Claude Code for art pipelines can pair this skill with AI builder workshops https://explainx.ai/workshops/ai-builder so designers and engineers share vocabulary on orthographic constraints and slice counts. Step-by-step: first fake 3D prop in one session 1. Scaffold views. Ask the agent for a 512×128 strip: TOP | SIDE | FRONT | BACK with 1:1 orthographic pixels and a shared palette of 16–32 colors . 2. Run the slicer. From the repo root after skill install: python3 skills/sprite-stacking/scripts/views to slices.py assets/tree-views.png assets/tree-slices.png \ --slices 28 --preview assets/tree-check.png --html assets/tree-viewer.html 1. Open tree-viewer.html locally. Confirm turntable rotation; tweak --slices if the canopy looks stepped . 2. Export sheet. Use viewer export for 16 directions if your engine expects pre-baked angles instead of runtime slice rendering . 3. Import to Godot 4. Use a Sprite3D stack or a shader that steps through slice textures; keep pixel scale consistent with your tilemap . If carving leaves holes , the README says views may be mis-ordered . Force order with --order reading . Flag reference for builders | Flag | When to use | |---|---| | --round | Towers, balloons, tree canopies | | --side-nose right | Side view faces right; fixes asymmetric vehicles | | --colours N | Force shared palette size; 0 keeps all colors | | --normals path.png | Lit scenes needing normal maps | | --emissive path.png | Windows, headlights, neon accents | The viewer's weather and time-of-day modes are overkill for jam demos but great for trailer GIFs when you want motion without learning Blender . How sprite-stacking compares to other agent art skills | Skill / repo | Output | Best for | |---|---|---| | sprite-stacking | Rotatable voxel stack | Retro 3D illusion from pixel art | | pixelfx https://explainx.ai/blog/pixelfx-244-pixel-art-effects-claude-code-skill-mit-github-trending-guide-2026 | New 2D effects | FX sheets and palette tricks | | Lemo Opuscar https://explainx.ai/blog/lemo-opuscar-claude-code-skill-short-films-no-video-model-43-styles-2026 | Short film storyboards | Cinematic sequences, not engines | | Replica skill https://explainx.ai/blog/replica-skill-eleven-claude-skills-clone-any-app-recon-entrepreneur-guide-2026 | UI clones | Apps, not in-game sprites | Pick sprite-stacking when your game design doc says "Octopath-style props" or "FF6 boat on world map" vibes. Performance and repo hygiene The README cites NumPy vectorization and a software rasterizer optimized for Chrome . For CI : - Pin Pillow and NumPy versions in a requirements-sprite.txt - Store views and slices in assets/source/ so agents do not overwrite production sheets - Run python3 tests/check.py after modifying skill scripts Contributors should respect MIT terms and credit prior art when streaming builds. Troubleshooting common agent mistakes Problem: Carve erases the whole object. Fix: Ensure opaque pixels align across all four views; agents love semi-transparent anti-aliasing that fails the all-views intersect rule. Problem: Colors drift per view. Fix: Use --colours to quantize, or preprocess with a shared palette PNG . Problem: Skill not found in Claude Code. Fix: Copy skills/sprite-stacking to ~/.claude/skills/ and restart the session; confirm with /skills listing. Problem: Viewer blank in Safari. Fix: README optimizes for Chrome ; test Chromium first for jam deadlines. Steam, AI disclosure, and jam strategy With Valve cancelling February 2027 Next Fest over review backlog , demos submitted outside fest windows still face longer review . Distinct pixel stacks help store pages look authored , not template mush , but they do not replace honest AI disclosure on Steamworks forms. Read our Steam Next Fest update https://explainx.ai/blog/steam-next-fest-ai-slop-no-ai-filter-valve-disclosure-vibe-coded-games-2026 for Valve's stated reasons versus community AI-volume analysis . Team rollout Studios adopting Claude Code should add sprite-stacking to an approved skills list beside Jane Street tutor skills https://explainx.ai/blog/janestreet-agent-skills-socratic-tutor-github-2026 and AG-UI https://explainx.ai/blog/ag-ui-protocol-1-0-agent-user-interaction-copilotkit-github-trending-guide-2026 experiments. Run a 90-minute internal jam using AI builder workshops https://explainx.ai/workshops/ai-builder so art and engineering share the same four-view spec . Godot, Unity, and web export notes Godot 4 teams usually mount slice strips on Sprite3D nodes or custom shader quads that offset Y per layer. Keep texel density identical across views before carving, or voxel height looks uneven. Export 16-angle sheets from the HTML viewer when mobile targets need pre-baked frames. Unity users can treat slices as Texture2DArray slices in a custom shader , but the repo targets indie Godot workflows in community examples. Web Phaser jams can load the viewer HTML as a reference and port the draw loop manually. When not to use this skill Skip sprite-stacking when: - You need true mesh normals for dynamic lighting beyond emissive strips - Your art is hand-painted single view billboards in 3D use billboard shaders instead - You require rigged skeletal animation this is stack rotation , not bones For Binding of Isaac -scale AI music drama on Steam, see Suno disclosure backlash https://explainx.ai/blog/binding-of-isaac-repentance-plus-suno-ai-music-steam-disclosure-november-2026 — orthogonal problem, same platform trust theme. Historical context for readers Sprite stacking appeared in 1990s shareware and DOS demoscene tricks before voxel engines went mainstream. Daniel White 's README is explicit: the technique is not new ; the agent skill packaging is. That distinction matters for portfolio reviews — interviewers may ask whether you understand voxels or only prompted a script. Studying one manual carve without agents draw four views in Aseprite , run CLI yourself teaches failure modes agents hide when they auto-repair mismatched pixels. If your studio maintains a skills registry , document sprite-stacking beside Clipy screen recorder https://explainx.ai/blog/clipy-ai-native-screen-recorder-claude-code-watch-arec-2026 and Claude trading skills https://explainx.ai/blog/claude-trading-skills-tradermonty-github-trending-market-regime-workflows-guide-2026 entries so producers know which agent affordances are approved for jams versus client work . License recap: MIT means commercial use is allowed with attribution . You still must respect trademark and Steam rules on AI disclosure when shipping builds that used agents to generate art. sprite-stacking does not grant IP in Nintendo-style characters you prompt into existence.