Skip to content
프로젝트

소개

로컬 우선 방식의 퓨즈 비즈 도안 생성기입니다. 이미지와 픽셀 아트를 번호, 색상 코드, 사용량 통계가 포함된 비즈 도안으로 변환합니다.

디자인 및 미디어

이 수치를 측정하는 방법

What you can do

  • Image to Pattern - Converts photos, illustrations, and pixel art into numbered charts with 3 creative presets (Realistic, Dominant, Crisp), subject auto-cropping, and noise cleanup.
  • Pattern Recognition - Detects printed grids (or divides cleanly by bead count), strips center text interference, normalizes mild paper lighting cast, and maps cells to your chosen brand palette.
  • Color-Code Highlight - Uploads any existing pattern and highlights one or multiple color codes interactively—ideal for fast bead placement without losing track.
  • Palette & Series Filters - Include or exclude entire color series (e.g. A, C, G, H) or specific bead codes based on the beads you actually own.

측정된 스타 증가

in 24h
-3
in 7 days
-2
in 15 days
+18
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original
Pindo — Fuse Bead Pattern Studio

Pindo — Fuse Bead Pattern Studio

Local-first fuse-bead pattern generator, chart recognizer, and color-code highlighter powered by an Oklab + CIEDE2000 perceptual color engine.

English · 简体中文

Live Demo CI Status License GPL-3.0-only Next.js 16 100% Local-First

Try Online · Showcase · Color Engine · Brand Palettes · Quick Start


Overview

Pindo turns photos, illustrations, and pixel art into clean, numbered fuse-bead patterns ready for pegboards—and also recognizes existing bead charts (with or without printed grids or color-code labels) to recover grids, color codes, and bead counts.

Every pixel calculation runs 100% locally in your browser using Canvas APIs and Typed Arrays. No images are uploaded to any server.

Pindo Desktop Workspace — Image to Pattern Mode
Pindo workspace: live artwork preview, 4-mode dithering controls, interactive numbered chart, and per-color bead statistics.

Visual Showcase

Artwork to Numbered Bead Pattern

Upload any illustration or photo to generate a crisp, pegboard-ready chart with real brand color codes, 5×5 guide lines, and an automatic bead usage legend.

Original Artwork to Generated 29x29 MARD Bead Pattern
29×29 (1 standard pegboard) output rendered by Pindo's Oklab + CIEDE2000 engine on the MARD palette (14 colors, 841 beads).

4-Mode Dithering Engine

Choose the rendering texture that best matches your source artwork—from flat anime blocks to smooth photographic gradients or retro pixel stippling:

4-Mode Dithering Comparison: None, Floyd-Steinberg, Atkinson, and 4x4 Bayer Ordered
Same 44×44 pattern constrained to 14 MARD colors across all four dithering strategies.

Key Features

Mode / Capability What It Does
Image to Pattern Converts photos, illustrations, and pixel art into numbered charts with 3 creative presets (Realistic, Dominant, Crisp), subject auto-cropping, and noise cleanup.
Pattern Recognition Detects printed grids (or divides cleanly by bead count), strips center text interference, normalizes mild paper lighting cast, and maps cells to your chosen brand palette.
Color-Code Highlight Uploads any existing pattern and highlights one or multiple color codes interactively—ideal for fast bead placement without losing track.
Palette & Series Filters Include or exclude entire color series (e.g. A, C, G, H) or specific bead codes based on the beads you actually own.
Pegboard Sizing & Stats Configure exact width/height in beads (1–200), lock aspect ratio, and automatically compute required 29×29 pegboards and per-color counts.
Export & Focus Mode Export high-resolution PNG charts with gridlines, codes, and color legend, or switch to /focus for distraction-free bead assembly.
Cross-Platform Local Static web app, PWA offline assets, 1-click Windows launcher (启动 Pindo.cmd), and Capacitor 8 Android packaging support.

Perceptual Color Engine

Pindo replaces naive RGB Euclidean distance and hard bit-binning with a modern perceptual pipeline engineered specifically for physical bead palettes:

  1. Two-Stage Oklab + Exact CIEDE2000 Matching (color-matcher.ts)
    • Precomputes palette coordinates in both Oklab and CIELAB via WeakMap typed arrays with an exact RGB lookup cache.
    • Filters candidates in Oklab (Top-20) and ranks finalists with the complete Sharma 2005 CIEDE2000 formula (including proper zero-chroma C1'*C2'=0 neutral-gray handling).
  2. Single-Pass Linear-RGB & Ordered Dithering (dithering.ts)
    • Floyd-Steinberg & Atkinson diffuse quantization error in linear light space with serpentine scanning, avoiding sRGB gamma dark-tone drift and diagonal worm artifacts.
    • 4×4 Bayer Ordered scales threshold spread adaptively to palette size for crisp retro stippling.
  3. Oklab Minimum-Error Palette Limiting (palette-limit.ts)
    • Greedily merges colors by lowest total perceptual error (pixels × ΔE_Oklab × chroma_salience) while protecting the image's darkest outline, brightest highlight, and strongest accent—preventing large backgrounds from crowding out small vivid details.
  4. Text- & JPEG-Resistant Chart Recognition (pattern-recognition.ts)
    • Extracts each cell's true fill using outer-ring weighted 3×3×3 Oklab density mode + inlier median, ignoring printed center color-code glyphs and specular glare.
    • Applies a conservative white-balance guard (strict no-op on clean screenshots; gently corrects warm paper photos) followed by adaptive Oklab cross-cell clustering to eliminate RGB bin-boundary splitting and JPEG multi-code noise.

Supported Bead Brands

Brand Colors Notes
MARD 291 Full series (A–ZG)
COCO 291 Full color mapping
Panpan (盼盼) 291 Full color mapping
Mixiaowo (咪小窝) 291 Full color mapping
Manman (漫漫) 290 Full color mapping
Perler 70 Standard Perler palette
Hama 50 Standard Hama Midi palette
Artkal S 35 Artkal 5mm S-series

Privacy & Local-First Architecture

  • Zero backend / zero uploads: Image decoding, cropping, quantization, chart recognition, and PNG/PDF rendering all happen inside your browser tab.
  • Loopback-only local server: The bundled server.mjs binds strictly to 127.0.0.1 by default.
  • No telemetry: No analytics scripts, no accounts, and no network requests required after loading static assets.

Quick Start

Option 1 — Online Demo

Open pindo-eight.vercel.app directly in any modern browser.

Option 2 — Windows 1-Click Launcher

Clone or download this repository, then double-click 启动 Pindo.cmd. On first launch it installs locked dependencies, builds the static export, and opens Pindo locally.

Option 3 — Local Development

Requires Node.js 20+ (tested on Node 24).

git clone https://github.com/LunarXuan/Pindo.git
cd Pindo
npm ci
npm run dev

Visit http://localhost:3000.

Option 4 — Static Production Build

npm ci
npm run build
node server.mjs --open

Static assets are exported to out/.

Option 5 — Android App (Capacitor 8)

npm run android:add   # first time only
npm run android:sync
npm run android:open

See ANDROID.md for signing and release instructions. Keep Android keystore files (*.jks) local and never commit them.


Development & Project Structure

Command Purpose
npm run dev Start Next.js 16 development server
npm run build Type-check and export static site to out/
npm test -- --run Run Vitest algorithm unit tests (26 tests across 7 suites)
npm run lint Run ESLint
npm run android:sync Build web assets and sync into Capacitor Android
├── app/                      # Main workspace (/) and focus-mode (/focus) pages
├── components/               # Uploader, ParameterPanel, PatternPreview, Usage, Highlight, Export
├── docs/images/              # README hero banner, live screenshot, and engine showcase graphics
├── lib/
│   ├── engine/               # Downscaler, Oklab+CIEDE2000 matcher, dithering, palette limit, recognition + specs
│   ├── export/               # PNG and PDF chart exporters
│   ├── data/palettes/        # Compiled JSON palettes for all 8 bead brands
│   ├── i18n/                 # Bilingual UI dictionary (zh / en)
│   └── native/               # Capacitor gallery-saving bridge
├── public/                   # PWA manifest, service worker, and app icons
├── scripts/                  # Palette compilation and icon generation scripts
└── server.mjs                # Dependency-free local static server (127.0.0.1)

Contributing & Community

Issues and Pull Requests are welcome. When changing color-engine or recognition behavior, please add/update unit tests in lib/engine/*.spec.ts and verify npm run lint, npm test -- --run, and npm run build.

  • Community: LINUX DO — Join the community to discuss IT technologies and open-source projects.

License

Copyright © 2026 LunarXuan.
Licensed under the GNU General Public License v3.0 only.

관련 프로젝트 살펴보기

불러오는 중…