From 8aea20c0f156395ba6b06b1e51871def5c9aca59 Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 26 Feb 2024 18:28:56 +0100 Subject: [PATCH] Add 2022-03-10. --- interlinked/source/projects/mod.rs | 1 + interlinked/source/projects/year_2022/mod.rs | 41 ++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/interlinked/source/projects/mod.rs b/interlinked/source/projects/mod.rs index 1cb4a1e..f992f6d 100644 --- a/interlinked/source/projects/mod.rs +++ b/interlinked/source/projects/mod.rs @@ -11,5 +11,6 @@ pub fn all_projects() -> Vec { year_2022::day_2022_03_07(), year_2022::day_2022_03_08(), year_2022::day_2022_03_09(), + year_2022::day_2022_03_10(), ] } diff --git a/interlinked/source/projects/year_2022/mod.rs b/interlinked/source/projects/year_2022/mod.rs index 32743a7..d68a576 100644 --- a/interlinked/source/projects/year_2022/mod.rs +++ b/interlinked/source/projects/year_2022/mod.rs @@ -182,3 +182,44 @@ pub fn day_2022_03_09() -> Project { turn_off_alpha: true, } } + +/// The project made on 2022-03-10. +pub fn day_2022_03_10() -> Project { + Project { + create_input_image: false, + name: "2022-03-10".to_string(), + operations: vec![ + CellNoise::default() + .with_scale(0.5) + .with_seed(2_762_328_325.0) + .boxed(), + Newsprint::default() + .with_angle4(75.85) + .with_color_model(NewsprintColorModel::Rgb) + .with_pattern2(NewsprintPattern::Circle) + .with_pattern4(NewsprintPattern::Cross) + .with_period2(42.38) + .with_period3(0.0) + .with_period4(135.1) + .with_turbulence(0.454) + .boxed(), + Waves::default() + .with_amplitude(67.6) + .with_clamp(true) + .with_period(514.8) + .with_phi(-0.529) + .with_sampler_type(WavesSamplerType::Cubic) + .with_x(-0.25) + .with_y(-0.75) + .boxed(), + Bloom::default() + .with_radius(20.0) + .with_softness(57.0) + .with_strength(90.0) + .with_threshold(10.0) + .boxed(), + ], + resolution: (3840, 2160), + turn_off_alpha: false, + } +}