From 783b0ef665b89cce64233e49aed4498d287dce66 Mon Sep 17 00:00:00 2001 From: Bauke Date: Tue, 15 Mar 2022 17:12:42 +0100 Subject: [PATCH] Add 2022-03-15. --- source/2022/03/2022-03-15.ts | 90 ++++++++++++++++++++++++++++++++++++ source/2022/03/projects.ts | 2 + 2 files changed, 92 insertions(+) create mode 100644 source/2022/03/2022-03-15.ts diff --git a/source/2022/03/2022-03-15.ts b/source/2022/03/2022-03-15.ts new file mode 100644 index 0000000..143e390 --- /dev/null +++ b/source/2022/03/2022-03-15.ts @@ -0,0 +1,90 @@ +import { + Bloom, + Cartoon, + Crop, + FocusBlur, + Generic, + Mirrors, + Newsprint, + Waves, +} from '../../gegl/exports.js'; +import Project from '../../project.js'; + +const [width, height] = [3840, 2160]; + +const project: Project = { + createInputImage: false, + name: '2022-03-15', + operations: [ + new Generic('gegl:spiral', { + balance: 0.424, + color1: '#3078d2', + color2: '#ff00dc', + direction: 'cw', + height, + radius: 918.7, + type: 'linear', + width, + x: 0.307, + y: 0.542, + }), + new Crop({ + height, + width, + }), + new Cartoon({ + maskRadius: 50, + pctBlack: 1, + }), + new Newsprint({ + colorModel: 'rgb', + pattern2: 'line', + pattern3: 'diamond', + pattern4: 'pssquare', + period2: 105.96, + period3: 30.46, + period4: 125.83, + turbulence: 0.182, + }), + new Bloom({ + radius: 2.08, + softness: 87.94, + strength: 165.29, + }), + new Cartoon({ + maskRadius: 50, + pctBlack: 1, + }), + new Waves({ + amplitude: 65, + clamp: true, + period: 500, + phi: 0.5, + x: 0, + y: 1, + }), + new Mirrors({ + rAngle: 30, + nSegs: 3, + oX: 0.312, + oY: 1, + trimX: 0.162, + trimY: 0.031, + }), + new FocusBlur({ + blurRadius: 5.4, + blurType: 'lens', + focus: 0.154, + highlightFactor: 0.75, + midpoint: 0.38, + radius: 0.802, + }), + ], + resetAlpha: false, + resolution: { + width, + height, + }, +}; + +export default project; diff --git a/source/2022/03/projects.ts b/source/2022/03/projects.ts index 98f79c9..86d3ed7 100644 --- a/source/2022/03/projects.ts +++ b/source/2022/03/projects.ts @@ -9,6 +9,7 @@ import p2022_03_11 from './2022-03-11.js'; import p2022_03_12 from './2022-03-12.js'; import p2022_03_13 from './2022-03-13.js'; import p2022_03_14 from './2022-03-14.js'; +import p2022_03_15 from './2022-03-15.js'; const projects: Project[] = [ p2022_03_06, @@ -20,6 +21,7 @@ const projects: Project[] = [ p2022_03_12, p2022_03_13, p2022_03_14, + p2022_03_15, ]; export default projects;