From 9a3df3796634fbd4a9b821cf26997be1f170f5ea Mon Sep 17 00:00:00 2001 From: Bauke Date: Mon, 7 Mar 2022 19:49:54 +0100 Subject: [PATCH] Add 2022-03-07. --- source/2022-03-07.ts | 59 ++++++++++++++++++++++++++++++++++++++++ source/driftingnebula.ts | 3 +- 2 files changed, 61 insertions(+), 1 deletion(-) create mode 100644 source/2022-03-07.ts diff --git a/source/2022-03-07.ts b/source/2022-03-07.ts new file mode 100644 index 0000000..f76221a --- /dev/null +++ b/source/2022-03-07.ts @@ -0,0 +1,59 @@ +import {Crop, Generic} from './gegl/exports.js'; +import Project from './project.js'; + +const [width, height] = [1920, 1080]; + +const project: Project = { + name: '2022-03-07', + operations: [ + new Generic('gegl:plasma', { + height, + seed: 2_000_111_903, + turbulence: 1, + width, + }), + new Generic('gegl:mosaic', { + colorVariation: 1, + tileHeight: 5, + tileNeatness: 1, + tileSize: 116.53, + tileSurface: 'true', + tileType: 'triangles', + }), + new Generic('gegl:waves', { + amplitude: 2.9, + clamp: 'true', + samplerType: 'cubic', + }), + new Generic('gegl:waves', { + amplitude: 17.3, + clamp: 'true', + samplerType: 'cubic', + }), + new Generic('gegl:mirrors', { + oX: 1, + oY: 0.353, + nSegs: 2, + }), + new Generic('gegl:cartoon'), + new Crop({height, width}), + new Generic('gegl:waterpixels', { + fill: 'average', + size: 32, + smoothness: 1, + }), + new Generic('gegl:mirrors', { + oX: 0.01, + oY: 0.01, + nSegs: 5, + rAngle: 342, + }), + new Generic('gegl:median-blur'), + ], + resolution: { + width, + height, + }, +}; + +export default project; diff --git a/source/driftingnebula.ts b/source/driftingnebula.ts index 2ff8616..1774ccc 100644 --- a/source/driftingnebula.ts +++ b/source/driftingnebula.ts @@ -8,9 +8,10 @@ import {Crop} from './gegl/exports.js'; import Project from './project.js'; import d2022_03_06 from './2022-03-06.js'; +import d2022_03_07 from './2022-03-07.js'; async function main(): Promise { - const projects: Project[] = [d2022_03_06]; + const projects: Project[] = [d2022_03_06, d2022_03_07]; for (const {name, operations, resolution} of projects) { const dataStart = performance.now();