rydmike / flex_color_picker

A highly customizable Flutter color picker.
BSD 3-Clause "New" or "Revised" License
196 stars 41 forks source link

Support non-linear color palette? #84

Open andZhangjiong opened 2 months ago

andZhangjiong commented 2 months ago

It can support inputting a mathematical formula and installing the trajectory of the formula to generate a color palette; for example (such as screenshots, one is a linear distribution from the edge of the circle to the center of the circle, and the other is a sinusoidal distribution), for example, the color distribution of the sinusoidal color wheel is Distributed according to a sine function, if it can support mathematical formulas, the color wheel will become very fascinating to the user. image image

rydmike commented 2 months ago

Thanks @andZhangjiong for the suggestion.

I'm putting it down as a potential enhancement for a major new release where I plan to restructure the picker and other new color space pickers as well.