facelessuser / coloraide

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

Look into interpolation with b splines #219

Closed facelessuser closed 2 years ago

facelessuser commented 2 years ago

B splines are a better alternative to using bezier curves. Changes in control points are more localized.

facelessuser commented 2 years ago

Okay, B-Splines are much better than Bezier. From top to bottom: linear, bezier, bspline. With the control points affects much more localized, the interpolation shows through all the colors more, but still keeps the transitions smooth.

Screen Shot 2022-07-24 at 5 22 21 PM
facelessuser commented 2 years ago

B-Spline does so much better that I can't think of a reason to keep Bezier around.