Cyclical schemes topic
To create a cyclical continuous color scale using the Rainbow color scheme:
final color = ScaleSequential(interpolator: interpolateRainbow);
Functions
-
interpolateRainbow(
num t) → String Cyclical schemes -
Given a number
t
in the range [0,1], returns the corresponding color from interpolateWarm scale from [0.0, 0.5] followed by the interpolateCool scale from [0.5, 1.0], thus implementing the cyclical less-angry rainbow color scheme. -
interpolateRainbow(
num t) → String Cyclical schemes -
Given a number
t
in the range [0,1], returns the corresponding color from interpolateWarm scale from [0.0, 0.5] followed by the interpolateCool scale from [0.5, 1.0], thus implementing the cyclical less-angry rainbow color scheme. -
interpolateRainbow(
num t) → String Cyclical schemes -
Given a number
t
in the range [0,1], returns the corresponding color from interpolateWarm scale from [0.0, 0.5] followed by the interpolateCool scale from [0.5, 1.0], thus implementing the cyclical less-angry rainbow color scheme. -
interpolateSinebow(
num t) → String Cyclical schemes -
Given a number
t
in the range [0,1], returns the corresponding color from the “sinebow” color scheme by Jim Bumgardner and Charlie Loyd. -
interpolateSinebow(
num t) → String Cyclical schemes -
Given a number
t
in the range [0,1], returns the corresponding color from the “sinebow” color scheme by Jim Bumgardner and Charlie Loyd. -
interpolateSinebow(
num t) → String Cyclical schemes -
Given a number
t
in the range [0,1], returns the corresponding color from the “sinebow” color scheme by Jim Bumgardner and Charlie Loyd.