tylerreisinger / prisma

A powerful color representation, manipulation and conversion library that aims to be easy to use.
MIT License
21 stars 5 forks source link

Implement `lerp_flat` for all colors. #1

Open tylerreisinger opened 7 years ago

tylerreisinger commented 7 years ago

Lerp always takes the shortest path on angular channels. Sometimes, it might be desirable to take the other path, and so there should be a method to support that. Non-angular channels will behave identically for both lerp methods.