diff --git a/source/2022/03/2022-03-14.ts b/source/2022/03/2022-03-14.ts new file mode 100644 index 0000000..2fde645 --- /dev/null +++ b/source/2022/03/2022-03-14.ts @@ -0,0 +1,51 @@ +import { + Cartoon, + DiffractionPatterns, + Generic, + MedianBlur, + Mirrors, +} from '../../gegl/exports.js'; +import Project from '../../project.js'; + +const [width, height] = [3840, 2160]; + +const project: Project = { + createInputImage: false, + name: '2022-03-14', + operations: [ + new DiffractionPatterns({ + height, + width, + }), + new Mirrors({ + nSegs: 7, + oX: 0.347, + oY: 0.1, + rAngle: 13, + trimX: 0.051, + trimY: 0.253, + }), + new Cartoon({ + maskRadius: 50, + pctBlack: 1, + }), + new MedianBlur({ + radius: 5, + }), + new Generic('gegl:edge', { + algorithm: 'prewitt', + amount: 10, + borderBehavior: 'clamp', + }), + new MedianBlur({ + radius: 5, + }), + ], + resetAlpha: false, + resolution: { + width, + height, + }, +}; + +export default project; diff --git a/source/2022/03/projects.ts b/source/2022/03/projects.ts index d4ddbb4..98f79c9 100644 --- a/source/2022/03/projects.ts +++ b/source/2022/03/projects.ts @@ -8,6 +8,7 @@ import p2022_03_10 from './2022-03-10.js'; 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'; const projects: Project[] = [ p2022_03_06, @@ -18,6 +19,7 @@ const projects: Project[] = [ p2022_03_11, p2022_03_12, p2022_03_13, + p2022_03_14, ]; export default projects;