<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Kmeans on TPOW Lab</title><link>https://tpow-001.netlify.app/tags/kmeans/</link><description>Recent content in Kmeans on TPOW Lab</description><generator>Hugo</generator><language>en</language><copyright>Copyright &amp;copy; 2025-2026 TPOW-001. All Rights Reserved.</copyright><lastBuildDate>Thu, 28 May 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tpow-001.netlify.app/tags/kmeans/index.xml" rel="self" type="application/rss+xml"/><item><title>spritefusion-pixel-snapper 詳細教學</title><link>https://tpow-001.netlify.app/post/2026-05-28-spritefusion-pixel-snapper-tutorial/</link><pubDate>Thu, 28 May 2026 00:00:00 +0000</pubDate><guid>https://tpow-001.netlify.app/post/2026-05-28-spritefusion-pixel-snapper-tutorial/</guid><description><![CDATA[<h1 id="spritefusion-pixel-snapper--完整教學" data-numberify>spritefusion-pixel-snapper — 完整教學<a class="anchor ms-1" href="#spritefusion-pixel-snapper--完整教學"></a></h1>
<blockquote>
<p>把 AI 生成的「不工整 pixel art」對齊到真正的整數 grid，並量化到限定色盤；單檔 870 行 Rust，可同時編譯成 CLI 與 WASM 模組。</p></blockquote>

<h2 id="1-專案定位" data-numberify>1. 專案定位<a class="anchor ms-1" href="#1-專案定位"></a></h2>

<h3 id="11-一句話定位" data-numberify>1.1 一句話定位<a class="anchor ms-1" href="#11-一句話定位"></a></h3>
<p>Pixel Snapper 是 Sprite Fusion（線上 tilemap editor）團隊釋出的 AI pixel art 後處理工具。它接收一張 AI 生成、解析度通常為 1024×1024 的「看起來像 pixel art 但 pixel 邊界其實亂飄」的圖，輸出一張 pixel 大小一致、grid 對齊、色盤受限的乾淨 sprite。</p>]]></description></item></channel></rss>