From 8423aed15aca274c1661ab78934ea8daff68d030 Mon Sep 17 00:00:00 2001 From: Juergen Stuber Date: Thu, 28 Dec 2023 20:54:59 +0100 Subject: [PATCH] Add palette for 34C3 --- src/bin/cnoise/main.rs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/bin/cnoise/main.rs b/src/bin/cnoise/main.rs index 8f5078c..2fd9b4c 100644 --- a/src/bin/cnoise/main.rs +++ b/src/bin/cnoise/main.rs @@ -56,6 +56,12 @@ fn main() -> std::io::Result<()> { let mut rng = thread_rng(); + let palette_34 = Palette(vec![ + (0.05, Color::new(101, 101, 101), Color::new(101, 101, 101)), + (0.05, Color::new(193, 193, 193), Color::new(193, 193, 193)), + (0.05, Color::new(165, 36, 49), Color::new(165, 36, 49)), + (0.05, Color::new(246, 151, 16), Color::new(246, 151, 16)), + ]); let palette_35 = Palette(vec![(0.3, Color::new(0, 138, 170), Color::new(0, 160, 95))]); let palette_36 = Palette(vec![ (0.1, Color::new(208, 208, 206), Color::new(208, 208, 206)), @@ -72,6 +78,7 @@ fn main() -> std::io::Result<()> { ]); let palette = match arg { + 34 => palette_34, 35 => palette_35, 36 => palette_36, _ => palette_37,