diff --git a/src/patterns/pastel_fade.rs b/src/patterns/pastel_fade.rs index 7f2dcde..cfa6dd2 100644 --- a/src/patterns/pastel_fade.rs +++ b/src/patterns/pastel_fade.rs @@ -18,14 +18,15 @@ impl ColorGrid for PastelFade { fn get(&self, p: &Vector2) -> Rgb { let inputs = self.inputs.read().unwrap().clone(); - let i = ( inputs.t.as_millis() as f32 / (inputs.wheel as f32*inputs.cycle_len.as_millis() as f32) ) % 1.0; + let i = ( 5.0 + 0.7 * inputs.t.as_millis() as f32 / (16.0*inputs.cycle_len.as_millis() as f32) ) % 1.0; Rgb::from_color( &Hsv::>::new( Turns( i ), 0.5, - 1.0 + 0.8 ) ) } } +