arctic rain: make stretch on wheel3 parameter

This commit is contained in:
Michael Sippel 2024-08-04 01:33:01 +02:00
parent ac15e16a7c
commit 67d7afbd78
Signed by: senvas
GPG key ID: 060F22F65102F95C

View file

@ -34,7 +34,7 @@ impl ColorGrid for ArcticRain {
// Turns( 0.65 + 0.3*(inputs.wheel%10) as f32*0.1 ),
Turns( (self.inputs.wheel.abs() % 256) as f32 / 256.0 ),
0.9,
1.0 - ((i + (2.0-p.y/4.0)) * 12.0) % 1.0,
1.0 - ((i + (2.0-p.y/(0.2*(1+self.inputs.wheel3.abs()) as f32))) * 12.0) % 1.0,
// (f32::sin(-p.y+i) * 12.0) % 1.0,
)
);