Add 2022-03-09.

This commit is contained in:
Bauke 2024-02-26 13:46:38 +01:00
parent 76bb398836
commit f8eba44e4c
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 42 additions and 0 deletions

View File

@ -10,5 +10,6 @@ pub fn all_projects() -> Vec<Project> {
year_2022::day_2022_03_06(),
year_2022::day_2022_03_07(),
year_2022::day_2022_03_08(),
year_2022::day_2022_03_09(),
]
}

View File

@ -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,
}
}