full hue range in arctic rain
This commit is contained in:
parent
17de5bcb76
commit
eb42f5fa54
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,8 @@ impl ColorGrid for ArcticRain {
|
||||||
let col1 =
|
let col1 =
|
||||||
Rgb::from_color(
|
Rgb::from_color(
|
||||||
&Hsv::<f32, Turns<f32>>::new(
|
&Hsv::<f32, Turns<f32>>::new(
|
||||||
Turns( 0.65 + 0.3*(inputs.wheel%10) as f32*0.1 ),
|
// Turns( 0.65 + 0.3*(inputs.wheel%10) as f32*0.1 ),
|
||||||
|
Turns( (inputs.wheel.abs() % 256) as f32 / 256.0 ),
|
||||||
0.9,
|
0.9,
|
||||||
1.0 - ((i + (2.0-p.y/4.0)) * 12.0) % 1.0,
|
1.0 - ((i + (2.0-p.y/4.0)) * 12.0) % 1.0,
|
||||||
// (f32::sin(-p.y+i) * 12.0) % 1.0,
|
// (f32::sin(-p.y+i) * 12.0) % 1.0,
|
||||||
|
|
Loading…
Reference in a new issue