Skip to content
← All work

Case 02 / Cross-platform app

MirrorLab

A fast, private photo editor written in Rust and rendered on the GPU.

Role
Design & engineering, solo
Platforms
Web · macOS · Windows · Linux · Android
Built with
Rust · WebGL2 · Tauri 2 · rawler
MirrorLab colour grading a mountain lake photo

Overview

RAW development, tone curves, colour grading and looks from one Rust codebase that runs in the browser, on the desktop and on Android. Editing runs as a WebGL2 shader at 60 fps at any zoom, and exports are tiled on the GPU at full resolution.

What it does

  1. 01Real RAW development (demosaic, white balance, colour matrix) for DNG, CR3, NEF, ARW, RAF and more
  2. 02HSL mixer with smoothly blended bands, three-way grading, clarity, dehaze, grain
  3. 0314 built-in looks with live thumbnails of your own photo; import and export presets
  4. 04Batch CLI that uses every CPU core

Under the hood

  • ✺Ground-up 2.0 rewrite of a single-threaded TypeScript app
  • ✺Desktop builds went from ~150 MB Electron shells to ~10 MB Tauri apps
  • ✺One undo step per gesture rather than per slider tick
Before and after split with the tone curve open
Monotone cubic tone curves over a live histogram.
The main MirrorLab editor
MirrorLab on Android showing looks
The same Rust core on Android.
Next caseAura→Your MacBook's notch, turned into a live command centre