Skip to content

Cycle through svg color palette #329

Answered by Ogeon
c64zottel asked this question in Q&A
Discussion options

You must be logged in to vote

It's really just a matter of staying focused on the color math. 🙂 It's not so much about what gets compiled into the program, even though it's more for the compiler to process, but more about maintenance and purpose.

Regarding maintenance, it would be more to test, organize and take into account when doing changes. In this case it would mostly be a matter of curating the collection, since an array of colors usually doesn't cause much issues once it's added. Unless something like phf, that's used for the string lookup, suddenly breaks compatibility. 😅

The reason is more about purpose. This crate's main purpose is color math and I don't want to widen that scope too much. If something ends u…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@c64zottel
Comment options

@Ogeon
Comment options

Answer selected by c64zottel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants