{"slug": "sprite-stacking-agent-skill-turns-four-pixel-views-into-spinning-fake-3d-art", "title": "sprite-stacking: Agent Skill Turns Four Pixel Views Into Spinning Fake 3D Art", "summary": "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.", "body_md": "**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.\n\nThis 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.\n\n## Quick facts from the README\n\n| Item | Detail | \n|---|---|\n| Install | `npx skills add danielwh2/sprite-stacking` (Node 22.20+) | \n| Agents | Claude Code, Codex, Cursor, OpenCode, Gemini CLI, Pi | \n| Core script | `skills/sprite-stacking/scripts/views_to_slices.py` | \n| License | MIT | \n| Stars (late Nov 2026) | About 1.3k on GitHub (1,306 stars) | \n| Prior art | Sprite stacking in indie games; repo adds four-view agent workflow | \n\n## How the pipeline works\n\nSprite-stacking pipeline from four orthographic views to slice strips\n\n*Image: [Daniel White](https://github.com/danielwh2/sprite-stacking?ref=explainx)*\n\nThe README breaks the skill into four steps:\n\n1. **Views:** one row with**top, side, front, back** , orthographic.\n2. **Carve:** voxels survive only under**all four** masks.\n3. **Slices:** volume cut into horizontal layers, ground first.\n4. **Render:** layers rotated, pitch squashed, lifted one pixel per layer.\n\nThe CLI example:\n\n```\npython3 skills/sprite-stacking/scripts/views_to_slices.py views.png slices.png \\\n  --slices 36 --preview check.png --html viewer.html\n```\n\nUse **`--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.\n\nAgents can invoke this after generating `views.png`, which is why the repo is classified as a **skill** rather than a standalone app.\n\n## Viewer features worth demoing\n\nSix fake-3D pixel art props rotating in the sprite-stacking viewer\n\n*Image: [Daniel White](https://github.com/danielwh2/sprite-stacking?ref=explainx)*\n\nThe generated **`viewer.html`** is more than a GIF preview. The README advertises:\n\n- **Turntable** and**scene diorama** modes with procedural props\n- **Slice scan** and**exploded** views for debugging voxels\n- **Play mode** with WASD driving across infinite grids\n- **Time of day** , draggable sun shadows, rain and snow weather\n- **16-direction baked PNG sprite sheet** export\n\nPerformance 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.\n\n## How to talk to your agent\n\nThe README suggests prompts like:\n\n- \"Make a rotatable pixel art car.\"\n- \"Sprite stack this 4-view sheet and give me a turntable.\"\n- \"Add a fake 3D pixel art tree to my Godot game.\"\n\nThat 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.\n\nFor 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)**.\n\n## Install paths and folders\n\n| Agent | Skills folder | \n|---|---|\n| Claude Code | `~/.claude/skills/` | \n| Codex, Cursor, OpenCode, Gemini CLI, Pi | `~/.agents/skills/` | \n\nThe **`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.\n\n## Game-dev context: Steam volume and AI slop\n\nValve **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**.\n\nPair art skills with **honest AI disclosure** on Steamworks forms. Players increasingly punish **undifferentiated slop** even when tools are legal.\n\n## Security and licensing notes\n\n- **MIT license** allows commercial jam games.\n- Running **`npx skills`** pulls packages; pin versions on CI machines.\n- Generated HTML viewers run **local JavaScript** ; audit before hosting publicly if you embed untrusted agent output.\n\n## Testing the skill locally\n\nFrom the repo root, **`python3 tests/check.py`** should print **` ok`**, per README. After install, verify:\n\n1. Agent places **`views.png`** with four panels.\n2. Slicer outputs **`slices.png`** and optional**` viewer.html`** .\n3. Game engine imports sheet or slices with correct **pixel scale** .\n\n## Workshops and team adoption\n\nStudios 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.\n\n## Step-by-step: first fake 3D prop in one session\n\n1. **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** .\n2. **Run the slicer.** From the repo root after skill install:\n\n```\npython3 skills/sprite-stacking/scripts/views_to_slices.py assets/tree-views.png assets/tree-slices.png \\\n  --slices 28 --preview assets/tree-check.png --html assets/tree-viewer.html\n```\n\n1. **Open `tree-viewer.html` locally.** Confirm**turntable** rotation; tweak**`--slices`** if the canopy looks**stepped** .\n2. **Export sheet.** Use viewer export for**16 directions** if your engine expects**pre-baked** angles instead of**runtime slice rendering** .\n3. **Import to Godot 4.** Use a**Sprite3D** stack or a**shader** that steps through slice textures; keep**pixel scale** consistent with your**tilemap** .\n\nIf carving leaves **holes**, the README says views may be **mis-ordered**. Force order with **`--order reading`**.\n\n## Flag reference for builders\n\n| Flag | When to use | \n|---|---|\n| `--round` | Towers, balloons, tree canopies | \n| `--side-nose right` | Side view faces right; fixes asymmetric vehicles | \n| `--colours N` | Force shared palette size; `0` keeps all colors | \n| `--normals path.png` | Lit scenes needing normal maps | \n| `--emissive path.png` | Windows, headlights, neon accents | \n\nThe 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**.\n\n## How sprite-stacking compares to other agent art skills\n\n| Skill / repo | Output | Best for | \n|---|---|---|\n| **sprite-stacking** | Rotatable voxel stack | Retro 3D illusion from pixel art | \n| **[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 | \n| **[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 | \n| **[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 | \n\nPick **sprite-stacking** when your **game design doc** says **\"Octopath-style props\"** or **\"FF6 boat on world map\"** vibes.\n\n## Performance and repo hygiene\n\nThe README cites **NumPy vectorization** and a **software rasterizer** optimized for **Chrome**. For **CI**:\n\n- Pin **Pillow** and**NumPy** versions in a**`requirements-sprite.txt`**\n- Store **views** and**slices** in**`assets/source/`** so agents do not overwrite**production** sheets\n- Run **`python3 tests/check.py`** after modifying skill scripts\n\nContributors should respect **MIT** terms and credit **prior art** when streaming builds.\n\n## Troubleshooting common agent mistakes\n\n**Problem:** Carve erases the whole object.\n\n**Fix:** Ensure **opaque pixels align** across all four views; agents love **semi-transparent anti-aliasing** that fails the **all-views intersect** rule.\n\n**Problem:** Colors drift per view.\n\n**Fix:** Use **`--colours`** to quantize, or preprocess with a **shared palette PNG**.\n\n**Problem:** Skill not found in Claude Code.\n\n**Fix:** Copy **`skills/sprite-stacking`** to **`~/.claude/skills/`** and restart the session; confirm with **`/skills`** listing.\n\n**Problem:** Viewer blank in Safari.\n\n**Fix:** README optimizes for **Chrome**; test **Chromium** first for jam deadlines.\n\n## Steam, AI disclosure, and jam strategy\n\nWith **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.\n\nRead 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**.\n\n## Team rollout\n\nStudios 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**.\n\n## Godot, Unity, and web export notes\n\n**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.\n\n**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.\n\n## When not to use this skill\n\nSkip **sprite-stacking** when:\n\n- You need **true mesh normals** for**dynamic lighting** beyond emissive strips\n- Your art is **hand-painted single view** billboards in**3D** (use**billboard shaders** instead)\n- You require **rigged skeletal animation** (this is**stack rotation** , not**bones** )\n\nFor **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.\n\n## Historical context for readers\n\n**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.\n\nStudying **one manual carve** without agents (draw four views in **Aseprite**, run CLI yourself) teaches **failure modes** agents hide when they **auto-repair** mismatched pixels.\n\nIf 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**.\n\n**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.", "url": "https://wpnews.pro/news/sprite-stacking-agent-skill-turns-four-pixel-views-into-spinning-fake-3d-art", "canonical_source": "https://explainx.ai/blog/sprite-stacking-agent-skill-fake-3d-pixel-art-github-december-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-12-01 00:00:00+00:00", "updated_at": "2026-12-01 01:13:06.261770+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "developer-tools", "generative-ai"], "entities": ["Daniel White", "sprite-stacking", "GitHub", "Claude Code", "Cursor", "Codex", "Godot", "Gemini CLI"], "also_reported_by": [], "takeaway": "The skill's `views_to_slices.py` script carves voxels only where all four orthographic views agree, with `--slices 15-20` recommended for chunky props and 32-48 for detailed ones, and `--round`, `--normals` and `--emissive` flags for cylinders and lit-scene strips.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/sprite-stacking-agent-skill-turns-four-pixel-views-into-spinning-fake-3d-art", "markdown": "https://wpnews.pro/news/sprite-stacking-agent-skill-turns-four-pixel-views-into-spinning-fake-3d-art.md", "text": "https://wpnews.pro/news/sprite-stacking-agent-skill-turns-four-pixel-views-into-spinning-fake-3d-art.txt", "jsonld": "https://wpnews.pro/news/sprite-stacking-agent-skill-turns-four-pixel-views-into-spinning-fake-3d-art.jsonld"}}