Commit Graph
3 Commits
Author SHA1 Message Date
phundrak 4cbc25f2d6 feat(palette): add palette expansion via color interpolation
Add `Color::euclidian_distance` and `Rgb::lerp`, then use them in a new
`Palette<T>` type whose `expand` method adds colors between close
pairs. Split `palette.rs` into a module, with `NORD_PALETTE` in its own
file.
2026-08-28 13:41:18 +02:00
phundrak f1fd2a1edd feat: add color module with sRGB to Lab conversion (scalar + SIMD)
- src/color.rs: Rgb/Lab types, planar SoA storage, wide-based SIMD
  RGB to Lab conversion with scalar remainder tail
- src/palette.rs: NORD_PALETTE constant
- Cargo.toml: add image/ndarray/rayon/wide deps, tuned release profile
2026-08-28 13:41:18 +02:00
phundrak 3e4772014e feat: initialize project 2026-08-28 13:41:18 +02:00