← Back to context

Comment by itslennysfault

2 years ago

Is there a reason this code is so complex? For example, the code where it picks the next color uses this sigmoid function ( https://github.com/patrickmineault/ismyblue/blob/main/src/ut... ) to increment the hue.

Is there a specific reason you didn't just have a list of a dozen or so colors and shuffle the array when the app starts? Just curious about the reasoning behind this and the value it provides.