full hue range in arctic rain

This commit is contained in:
Michael Sippel 2024-07-31 19:18:29 +02:00
parent 17de5bcb76
commit eb42f5fa54
Signed by: senvas
GPG key ID: 060F22F65102F95C

View file

@ -26,7 +26,8 @@ impl ColorGrid for ArcticRain {
let col1 =
Rgb::from_color(
&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,
1.0 - ((i + (2.0-p.y/4.0)) * 12.0) % 1.0,
// (f32::sin(-p.y+i) * 12.0) % 1.0,