概要
ローカル優先のアイロンビーズ図案生成ツール。画像やピクセルアートを、番号・色番号・使用量の集計付きの図案に変換します。
デザイン・メディアできること
- 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.
計測したスター増加
- 24時間
- -3
- 7日間
- -2
- 15日間
- +18
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナル
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 · 简体中文
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 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.
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:
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:
- Two-Stage Oklab + Exact CIEDE2000 Matching (
color-matcher.ts)- Precomputes palette coordinates in both Oklab and CIELAB via
WeakMaptyped 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'=0neutral-gray handling).
- Precomputes palette coordinates in both Oklab and CIELAB via
- 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.
- 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.
- Greedily merges colors by lowest total perceptual error (
- 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.mjsbinds strictly to127.0.0.1by 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.
関連プロジェクトを探す
読み込み中…