mirror of
https://github.com/exoticorn/curlywas.git
synced 2026-01-20 19:56:42 +01:00
final (?) small tweak, removing forced saturation limit
This commit is contained in:
@@ -36,7 +36,7 @@ start fn gen_palette() {
|
||||
loop gradients {
|
||||
let lazy scale = ((i := i + 1) % 64) as f32 / 64 as f32;
|
||||
let inline angle = i as f32 * (3.1416 / 2.0 - 3.1416 / (11.0 * 16.0 * 2.0));
|
||||
let lazy a = max(0.07, sin(angle) * 0.8 + 0.5) * scale;
|
||||
let lazy a = max(0 as f32, sin(angle) * 0.8 + 0.5) * scale;
|
||||
let lazy b = scale * scale * 0.6;
|
||||
let inline v = (select(i < 11*16*4, min(a + b - a * b, 1 as f32), scale) * 255 as f32) as i32;
|
||||
i?(120+320*240) = v;
|
||||
|
||||
Reference in New Issue
Block a user