From 070ebacb0dc3a80b8dfe50bb08fa81068ffc62ca Mon Sep 17 00:00:00 2001 From: Bauke Date: Wed, 9 Mar 2022 14:33:33 +0100 Subject: [PATCH] Add 2022-03-09. --- source/2022-03-09.ts | 50 ++++++++++++++++++++++++++++++++++++++++ source/driftingnebula.ts | 8 ++++++- 2 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 source/2022-03-09.ts diff --git a/source/2022-03-09.ts b/source/2022-03-09.ts new file mode 100644 index 0000000..154876d --- /dev/null +++ b/source/2022-03-09.ts @@ -0,0 +1,50 @@ +import {Crop, FocusBlur, Generic, Mirrors, Newsprint} from './gegl/exports.js'; +import Project from './project.js'; + +const [width, height] = [1920, 1080]; + +const project: Project = { + createInputImage: true, + name: '2022-03-09', + operations: [ + new Generic('gegl:maze'), + new Generic('gegl:tile-glass'), + new Generic('gegl:waterpixels'), + new Newsprint({ + angle2: -55.4, + angle3: 60.77, + angle4: 103.55, + colorModel: 'rgb', + }), + new Generic('gegl:waves', { + amplitude: 5.9, + clamp: true, + }), + new Crop({height, width}), + new Generic('gegl:oilify'), + new Generic('gegl:tile-seamless'), + new Generic('gegl:median-blur', { + percentile: 2.35, + }), + new Mirrors({ + nSegs: 3, + oX: 0.1, + oY: 0.2, + rAngle: 330, + }), + new FocusBlur({ + blurRadius: 33.57, + blurType: 'lens', + focus: 0.111, + highlightFactor: 0.529, + radius: 1.173, + }), + ], + resetAlpha: true, + resolution: { + width, + height, + }, +}; + +export default project; diff --git a/source/driftingnebula.ts b/source/driftingnebula.ts index 82606bb..0fe2b39 100644 --- a/source/driftingnebula.ts +++ b/source/driftingnebula.ts @@ -11,12 +11,18 @@ import Project from './project.js'; 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'; async function main(): Promise { const noRender = process.argv.includes('--no-render'); const includeDefaults = process.argv.includes('--include-defaults'); - const projects: Project[] = [d2022_03_06, d2022_03_07, d2022_03_08]; + const projects: Project[] = [ + d2022_03_06, + d2022_03_07, + d2022_03_08, + d2022_03_09, + ]; for (const { createInputImage,