From 5e13c0fa768b371cfb629fa2278de15d695eccea Mon Sep 17 00:00:00 2001 From: Bauke Date: Fri, 11 Mar 2022 12:09:38 +0100 Subject: [PATCH] Add 2022-03-11. --- source/2022-03-11.ts | 62 ++++++++++++++++++++++++++++++++++++++++ source/driftingnebula.ts | 2 ++ 2 files changed, 64 insertions(+) create mode 100644 source/2022-03-11.ts diff --git a/source/2022-03-11.ts b/source/2022-03-11.ts new file mode 100644 index 0000000..d8eb250 --- /dev/null +++ b/source/2022-03-11.ts @@ -0,0 +1,62 @@ +import { + Cartoon, + Crop, + Generic, + Newsprint, + Plasma, + Waterpixels, +} from './gegl/exports.js'; +import Project from './project.js'; + +const [width, height] = [3840, 2160]; + +const project: Project = { + createInputImage: true, + name: '2022-03-11', + operations: [ + new Plasma({ + seed: 168_139_081, + turbulence: 1.5, + height, + width, + }), + new Cartoon({ + maskRadius: 40, + pctBlack: 0.2, + }), + new Waterpixels({ + size: 64, + }), + new Cartoon({ + maskRadius: 40, + pctBlack: 0.2, + }), + new Newsprint({ + colorModel: 'rgb', + pattern2: 'circle', + pattern3: 'cross', + pattern4: 'circle', + period2: 15, + period3: 150, + period4: 30, + turbulence: 0.9, + }), + new Generic('gegl:bloom', { + radius: 7.48, + strength: 115.29, + threshold: 65.88, + }), + new Generic('gegl:noise-pick', { + repeat: 5, + seed: 0, + }), + new Crop({height, width}), + ], + resetAlpha: false, + resolution: { + width, + height, + }, +}; + +export default project; diff --git a/source/driftingnebula.ts b/source/driftingnebula.ts index 5137255..5ebbc8e 100644 --- a/source/driftingnebula.ts +++ b/source/driftingnebula.ts @@ -13,6 +13,7 @@ import d2022_03_07 from './2022-03-07.js'; import d2022_03_08 from './2022-03-08.js'; import d2022_03_09 from './2022-03-09.js'; import d2022_03_10 from './2022-03-10.js'; +import d2022_03_11 from './2022-03-11.js'; async function main(): Promise { const cli = meow( @@ -49,6 +50,7 @@ async function main(): Promise { d2022_03_08, d2022_03_09, d2022_03_10, + d2022_03_11, ].filter((project) => project.name.startsWith(cli.flags.filter)); for (const {