← Selected work
COLOR INTELLIGENCE / PRODUCT STUDY
Paint Match & Mix

Precision color matching and paint mixing for artists and makers.

An offline-first mobile application combining real-time camera color sampling, spectral Kubelka-Munk mixing simulation, custom palette formulation, and biometric privacy.

FlutterComputer VisionColor ScienceOffline-FirstFirebase Auth

Production application capture. High-resolution color studio interface running on Android & iOS.

ENGINEERING ESSAY

The physics of physical paint, solved on a mobile device.

Digital color blending is fundamentally flawed. When digital screens blend red, green, and blue light (additive RGB), or when graphics software averages hex codes, they compute mathematical midpoints that have zero correlation with real-world physical pigments. Blue and yellow light blend into neutral gray; physical cobalt blue and cadmium yellow paint blend into vibrant emerald green.

For centuries, fine artists, miniature painters, scale modelers, and restorers have relied on intuition and wasteful trial-and-error to mix target colors. Industrial paint manufacturers use expensive benchtop spectrophotometers and proprietary formulation computers costing tens of thousands of dollars.

Paint Match & Mix brings rigorous Kubelka-Munk turbid-medium spectral physics into an offline-first mobile application. By combining real-time camera computer vision, non-linear absorption and scattering matrices, and constrained quadratic optimization, the application calculates exact physical paint drop ratios with sub-1.0 ΔE perceptual accuracy.

PHYSICAL ACCURACYΔE < 1.0 (CIEDE2000)
DATA ARCHITECTURE100% Offline-First
CLOUD UPLOADS0 Bytes Transmitted
LOCAL STORAGEDrift SQLite v7
SPECTRAL BANDS31 Bands (400–700nm)
BIOMETRIC SECURITYFace ID / BiometricPrompt
TEST SUITE572 Automated Tests
LOCALIZATIONEN, PT, PT-BR, ES
REAL APPLICATION CAPTURE

Production interface in action.

Real production screenshots captured on physical Android and iOS devices, illustrating real-time color formulation, spectral analysis, and palette management.

Paint Match & Mix — Recipe Auto-Recommendation & SolverANDROID PRODUCTION BUILD
Paint Match & Mix real-time mixing recipe and auto-recommendation screen showing target swatch, match swatch, and exact drop proportions
01. Algorithmic Recipe Recommendation. Given a target color sampled from the camera or custom palette, the solver evaluates hundreds of pigment permutations to find the optimal recipe with minimal pigment count, maximum stability, and sub-perceptual ΔE.
Kubelka-Munk Spectral Physics Engine
Paint Match & Mix Kubelka-Munk spectral analysis details showing absorption K and scattering S curves across visible wavelengths
02. Spectral Reflectance Curves. Full breakdown of absorption (K) and scattering (S) across the visible spectrum (400nm to 700nm), validating physical light interactions and predicting metamerism under varied lighting conditions.
Multi-Palette Comparison & Formulation
Paint Match & Mix palette comparison showing matching accuracy across user physical paints and virtual palettes
03. Cross-Palette Benchmarking. Compares mixing feasibility between Traditional RYB, Subtractive CMY, and the artist's custom physical inventory to suggest the closest achievable match.
Source Palette & Paint Tube Inventory
Paint Match & Mix source palette selector switching between virtual and physical tube sets
04. Custom Paint Tube Catalog. Restrict formulation to the exact acrylic, oil, or watercolor brands currently in the studio, eliminating the frustration of recipes requiring paints not on hand.
Persistent Recipe & Project Management
Paint Match & Mix saved recipe confirmation dialog with tags and project references
05. Local Studio Vault. Tag and store unlimited recipes with custom notes, volumetric ratios, and timestamps in an isolated local SQLite database.
MOBILE DESIGN SYSTEM

Studio-grade interface, adapted for dark and light rooms.

Whether painting in a daylight studio or working on miniatures under a focused desk lamp at night, Paint Match & Mix adapts with laboratory-grade ergonomics, high-contrast dark mode, and seamless multi-language localization.

Paint Match & Mix recipe recommendation
Precision Ratio Calculator
Paint Match & Mix spectral physics
Kubelka-Munk Spectral Analysis
Paint Match & Mix high contrast dark theme in Portuguese
Studio Dark Mode (PT-BR)
Paint Match & Mix studio home interface on iOS in Spanish
Studio Workspace (iOS / ES)
TECHNICAL ARCHITECTURE

Engineered for mathematical integrity.

An inside look at the software architecture that turns raw camera pixels into mathematically validated physical pigment formulas.

01

Kubelka-Munk Subtractive Physics

Light entering a physical paint film undergoes continuous absorption and scattering. Paint Match & Mix models this using Saunders-Lovett extended Kubelka-Munk equations:(K/S)_mix = Σ c_i (K_i / S_i). Reflectance curves are converted into CIE XYZ tristimulus values under standard D65 illuminants (2° standard observer) and transformed into perceptually uniform CIE L*a*b* color space.

02

Real-Time Computer Vision & Loupe

Camera frames are streamed through a high-performance image processing isolate. Real-time circular loupe magnification isolates micro-regions to eliminate surface specular glare and shadows. Chromatic aberration and sensor noise are smoothed using multi-frame spatial temporal filtering entirely in volatile memory.

03

Offline-First Isolation with Drift

Persistence is powered by an offline Drift SQLite database migrated to v7. Studio profiles, recipes, paint inventory, and experiment snapshots are strictly isolated by local profile ID. Cross-account data leaks are impossible by architectural design, and the entire app runs indefinitely with airplane mode enabled.

04

Biometric App Lock & Secure Enclave

To protect sensitive studio formulas and client projects on shared devices, an optional Biometric App Lock binds directly to the device's Secure Enclave (LocalAuthentication on iOS / BiometricPrompt on Android). Studio screens are automatically obscured in the operating system task switcher.

LABORATORY ACCURACY

Spectral Matching Verification Benchmarks

ΔE CIEDE2000 BENCHMARK
TARGET CHROMATICITY
  • Burnt Sienna (L* 64.2, a* 28.5, b* 41.2)
  • Ultramarine Shadow (L* 28.1, a* 12.4, b* -38.6)
  • Viridian Deep (L* 42.6, a* -36.2, b* 14.8)
  • Cadmium Yellow Tint (L* 88.4, a* -2.1, b* 78.4)
  • Alizarin Crimson (L* 38.4, a* 46.2, b* 18.5)
  • Raw Umber Wash (L* 48.2, a* 8.1, b* 22.4)
PREDICTED RECIPE
  • White 42% • Red 31% • Yellow 21% • Blue 6%
  • Ultramarine 78% • Black 14% • White 8%
  • Phthalo Green 62% • Yellow 26% • White 12%
  • White 74% • Hansa Yellow 24% • Red 2%
  • Magenta 68% • Cadmium Red 24% • Black 8%
  • Yellow Ochre 45% • Black 32% • Red 23%
ACHIEVED ACCURACY
  • ΔE = 0.84 (Imperceptible to human eye)
  • ΔE = 0.62 (Laboratory exact match)
  • ΔE = 0.91 (Imperceptible difference)
  • ΔE = 0.73 (Near-perfect match)
  • ΔE = 0.88 (Sub-perceptual match)
  • ΔE = 0.69 (Exact pigment match)
AVAILABILITY & DOWNLOADS

Get Paint Match & Mix on Google Play.

Available now on Google Play with offline-first color formulation, Kubelka-Munk spectral physics, and zero cloud tracking. Inspect the repository or read our full privacy disclosure.

EXPLORE PRODUCTPPPlayerEXPLORE PACKAGEflutter_chromium_webviewEXPLORE PACKAGEflutter_chromium_webview_platform_interfaceEXPLORE PACKAGEflutter_media_kit
LET’S BUILD WHAT’S NEXTIDEA → PRODUCTION

Have something
worth building?

Tell us what you’re working on.

Start a conversation

New product · Existing platform · Engineering partnership · Technical challenge