From 5c706f289b7051d7968b2f328b3b73ccb29002ba Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 10 Mar 2022 13:07:55 +0100 Subject: [PATCH] Add 2022-03-10. --- source/2022-03-10.ts | 49 ++++++++++++++++++++++++++++++++++++++++ source/driftingnebula.ts | 2 ++ 2 files changed, 51 insertions(+) create mode 100644 source/2022-03-10.ts diff --git a/source/2022-03-10.ts b/source/2022-03-10.ts new file mode 100644 index 0000000..a57d953 --- /dev/null +++ b/source/2022-03-10.ts @@ -0,0 +1,49 @@ +import {Crop, Generic, Newsprint} from './gegl/exports.js'; +import Project from './project.js'; + +const [width, height] = [3840, 2160]; + +const project: Project = { + createInputImage: false, + name: '2022-03-10', + operations: [ + new Generic('gegl:cell-noise', { + scale: 0.5, + seed: 2_762_328_325, + }), + new Crop({height, width}), + new Newsprint({ + angle4: 75.85, + colorModel: 'rgb', + pattern2: 'circle', + pattern4: 'cross', + period2: 42.38, + period3: 0, + period4: 135.1, + turbulence: 0.454, + }), + new Generic('gegl:waves', { + amplitude: 67.6, + clamp: true, + period: 514.8, + phi: -0.529, + samplerType: 'cubic', + x: -0.25, + y: -0.75, + }), + new Crop({height, width}), + new Generic('gegl:bloom', { + radius: 20, + softness: 57, + strength: 90, + threshold: 10, + }), + ], + resetAlpha: false, + resolution: { + width, + height, + }, +}; + +export default project; diff --git a/source/driftingnebula.ts b/source/driftingnebula.ts index bc60454..5137255 100644 --- a/source/driftingnebula.ts +++ b/source/driftingnebula.ts @@ -12,6 +12,7 @@ import d2022_03_06 from './2022-03-06.js'; 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'; async function main(): Promise { const cli = meow( @@ -47,6 +48,7 @@ async function main(): Promise { d2022_03_07, d2022_03_08, d2022_03_09, + d2022_03_10, ].filter((project) => project.name.startsWith(cli.flags.filter)); for (const {