Add 2022-03-09.

This commit is contained in:
Bauke 2022-03-09 14:33:33 +01:00
parent 3efcff153f
commit 070ebacb0d
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 57 additions and 1 deletions

50
source/2022-03-09.ts Normal file
View File

@ -0,0 +1,50 @@
import {Crop, FocusBlur, Generic, Mirrors, Newsprint} from './gegl/exports.js';
import Project from './project.js';
const [width, height] = [1920, 1080];
const project: Project = {
createInputImage: true,
name: '2022-03-09',
operations: [
new Generic('gegl:maze'),
new Generic('gegl:tile-glass'),
new Generic('gegl:waterpixels'),
new Newsprint({
angle2: -55.4,
angle3: 60.77,
angle4: 103.55,
colorModel: 'rgb',
}),
new Generic('gegl:waves', {
amplitude: 5.9,
clamp: true,
}),
new Crop({height, width}),
new Generic('gegl:oilify'),
new Generic('gegl:tile-seamless'),
new Generic('gegl:median-blur', {
percentile: 2.35,
}),
new Mirrors({
nSegs: 3,
oX: 0.1,
oY: 0.2,
rAngle: 330,
}),
new FocusBlur({
blurRadius: 33.57,
blurType: 'lens',
focus: 0.111,
highlightFactor: 0.529,
radius: 1.173,
}),
],
resetAlpha: true,
resolution: {
width,
height,
},
};
export default project;

View File

@ -11,12 +11,18 @@ import Project from './project.js';
import d2022_03_06 from './2022-03-06.js'; import d2022_03_06 from './2022-03-06.js';
import d2022_03_07 from './2022-03-07.js'; import d2022_03_07 from './2022-03-07.js';
import d2022_03_08 from './2022-03-08.js'; import d2022_03_08 from './2022-03-08.js';
import d2022_03_09 from './2022-03-09.js';
async function main(): Promise<void> { async function main(): Promise<void> {
const noRender = process.argv.includes('--no-render'); const noRender = process.argv.includes('--no-render');
const includeDefaults = process.argv.includes('--include-defaults'); const includeDefaults = process.argv.includes('--include-defaults');
const projects: Project[] = [d2022_03_06, d2022_03_07, d2022_03_08]; const projects: Project[] = [
d2022_03_06,
d2022_03_07,
d2022_03_08,
d2022_03_09,
];
for (const { for (const {
createInputImage, createInputImage,