From f8eba44e4c6fb3cfa04e36d027da3d5d4b502a42 Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 26 Feb 2024 13:46:38 +0100 Subject: [PATCH] Add 2022-03-09. --- 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 1435f75..1cb4a1e 100644 --- a/interlinked/source/projects/mod.rs +++ b/interlinked/source/projects/mod.rs @@ -10,5 +10,6 @@ pub fn all_projects() -> Vec { year_2022::day_2022_03_06(), year_2022::day_2022_03_07(), year_2022::day_2022_03_08(), + year_2022::day_2022_03_09(), ] } diff --git a/interlinked/source/projects/year_2022/mod.rs b/interlinked/source/projects/year_2022/mod.rs index f8125c3..32743a7 100644 --- a/interlinked/source/projects/year_2022/mod.rs +++ b/interlinked/source/projects/year_2022/mod.rs @@ -141,3 +141,44 @@ pub fn day_2022_03_08() -> Project { turn_off_alpha: false, } } + +/// The project made on 2022-03-09. +pub fn day_2022_03_09() -> Project { + Project { + create_input_image: true, + name: "2022-03-09".to_string(), + operations: vec![ + Maze::default().boxed(), + TileGlass::default().boxed(), + Waterpixels::default().boxed(), + Newsprint::default() + .with_angle2(-55.4) + .with_angle3(60.77) + .with_angle4(103.55) + .with_color_model(NewsprintColorModel::Rgb) + .boxed(), + Waves::default() + .with_amplitude(5.9) + .with_clamp(true) + .boxed(), + Oilify::default().boxed(), + TileSeamless::default().boxed(), + MedianBlur::default().with_percentile(2.35).boxed(), + Mirrors::default() + .with_n_segs(3) + .with_o_x(0.1) + .with_o_y(0.2) + .with_r_angle(330.0) + .boxed(), + FocusBlur::default() + .with_blur_radius(33.57) + .with_blur_type(FocusBlurType::Lens) + .with_focus(0.111) + .with_highlight_factor(0.529) + .with_radius(1.173) + .boxed(), + ], + resolution: (1920, 1080), + turn_off_alpha: true, + } +}