mesh-avatar-studio
Turn one illustration into an animated 2D mesh avatar with a coding agent and a local editor
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證Turn any image into dithered pixel art in your browser: its own colour palette, Bayer dither patterns and crisp square pixels. Works offline, installs as an app, no dependencies. Nothing is uploaded.
翻譯準備中
取自儲存庫 README
正在載入完整 README。
檢視完整 README ↗Turn any image into dithered pixel art: chunky square pixels, a small palette taken from the image itself, and ordered (Bayer) dithering that turns smooth gradients into checkerboards and dot fields.
Open the app, then drop, paste or choose an image. Adjust:
| Control | What it does |
|---|---|
| Pixel size | How many pixels across. Fewer means bigger, chunkier pixels. |
| Palette | The image's own colours, or a preset: 1-bit, Game Boy, PICO-8, Dusk. |
| Colours | How many colours to find in the image (own palette only). |
| Dither | How strongly gradients are broken into pattern. 0 gives flat bands. |
| Pattern | Bayer 8×8 (fine), 4×4 (chunky), 2×2 (checker) or none. |
| Export size | 1× is one pixel per cell; larger sizes stay crisp. |
Then Download PNG, Copy, or Compare with the original.
Ordered dithering is chosen over error diffusion (Floyd–Steinberg) on purpose: it produces regular, repeating pattern, which is the look of classic pixel art. Error diffusion reads as noise.
The result is drawn at the grid's real size and scaled up with image-rendering: pixelated, so every pixel is a sharp square at any zoom.
Any static file server works. With Python:
npm start
Then open http://localhost:4321. (Opening index.html straight from disk also works, without offline support.)
src/dither.js has no DOM in it, so it runs in browsers, workers and Node:
import { findPalette, dither, PRESETS, hexToRgb } from "pixel-dither";
// pixels: { data: Uint8ClampedArray (RGBA), width, height }, already shrunk
const palette = findPalette(pixels, 10); // or PRESETS["Game Boy"].map(hexToRgb)
dither(pixels, palette, { strength: 0.6, matrix: 8 }); // in place
npm test
It is a static site: deploy the folder as is to Vercel, Netlify, GitHub Pages or any host. When you change a file, nothing else is needed: the offline cache always fetches fresh files first. Bump VERSION in sw.js only when files are added or removed.
MIT © 2026 Roshan Prasad.
The sample pictures in samples/ (the jellyfish, the marble bust, the chrome knot and the dunes) were generated by Roshan Prasad with Google Gemini for this project. Made by Roshan Prasad.