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();