Comment

Comment by raphlinus

Interpolate in a perceptual space such as Oklab?

Possibly use a radial basis function for interpolation rather than triangles? I don't have JavaScript code handy but rbf-interp[1] is Rust code that could either be adapted or called from wasm.

[1]: https://crates.io/crates/rbf-interp

parent raphlinus 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton