From 54e8b17f3b361de6b8b2fbcd149915f6e25dfbdf Mon Sep 17 00:00:00 2001 From: Bauke Date: Tue, 8 Mar 2022 13:13:23 +0100 Subject: [PATCH] Add 2022-03-08. --- source/2022-03-08.ts | 35 +++++++++++++++++++++++++++++++++++ source/driftingnebula.ts | 3 ++- 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 source/2022-03-08.ts diff --git a/source/2022-03-08.ts b/source/2022-03-08.ts new file mode 100644 index 0000000..d567b09 --- /dev/null +++ b/source/2022-03-08.ts @@ -0,0 +1,35 @@ +import {Crop, Generic, Newsprint} from './gegl/exports.js'; +import Project from './project.js'; + +const [width, height] = [1920, 1080]; + +const project: Project = { + name: '2022-03-08', + operations: [ + new Generic('gegl:diffraction-patterns', { + height, + width, + }), + new Crop({height, width}), + new Generic('gegl:tile-seamless'), + new Generic('gegl:stereographic-projection'), + new Newsprint({ + colorModel: 'cmyk', + period: 4, + }), + new Generic('gegl:focus-blur', { + blurRadius: 9.72, + blurType: 'lens', + focus: 0, + highlightFactor: 0.924, + radius: 1.173, + shape: 'circle', + }), + ], + resolution: { + width, + height, + }, +}; + +export default project; diff --git a/source/driftingnebula.ts b/source/driftingnebula.ts index c3156ca..3fc73bd 100644 --- a/source/driftingnebula.ts +++ b/source/driftingnebula.ts @@ -10,12 +10,13 @@ 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'; 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]; + const projects: Project[] = [d2022_03_06, d2022_03_07, d2022_03_08]; for (const {name, operations, resolution} of projects) { const dataStart = performance.now();