Color by Number Palette & Shared-Arc Reference Toolkit

Lightweight, zero-dependency reference utilities for perceptual OKLab color quantization, TopoJSON-style shared-arc region extraction, and WinAnsi-safe classroom math sheet encoding powering Play Color by Number.

Live Studio Modes

Reference Implementation (oklab_quant.py & index.html)

from oklab_quant import srgb_to_oklab, nearest_palette_index

lab = srgb_to_oklab(36, 91, 80)  # Deep Pine (#245B50)

Sister Client-Side Web Utilities & Games

Part of the zero-upload web engineering lab alongside Offline GIF Editor, Audio Visualizer Online, Get Word Ladder, Play Size Comparison, Guess The Animal Game, PuzzleFern, and MakeMeRap.

License

MIT © 2026 Rocky Yang (rockyyang)