facelessuser / coloraide

A library to aid in using colors
https://facelessuser.github.io/coloraide
MIT License
206 stars 12 forks source link

Ensure spline based interpolation is truly discrete when using discrete #396

Closed facelessuser closed 9 months ago

facelessuser commented 9 months ago

Because we were "discretizing" interpolations in place, spline-based interpolators were still affecting the edges of discrete blocks as these interpolators take into account more than two colors. After generating the discrete steps, package it up into a linear interpolator and return that.

facelessuser commented 9 months ago

@gir-bot lgtm