Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
Thanks to comments by elgonzo the solution was quite easy. hsl expects the first component (hue) to be in [0.0, 1.0] instead of [0.0, 360.0] and the third components (lightness) to be in [0.0, 1...
Answer
#1: Initial revision
Thanks to comments by [elgonzo](https://software.codidact.com/users/53305) the solution was quite easy. [hsl](https://docs.rs/nannou/0.17.1/nannou/prelude/fn.hsl.html) expects the first component (hue) to be in `[0.0, 1.0]` instead of `[0.0, 360.0]` and the third components (lightness) to be in `[0.0, 1.0]` instead of `[0.0, 100.0]`. So providing a lightness value that is slowly reducing from `1.0` is creating the effect I wanted.