Add 2022-03-11.

This commit is contained in:
Bauke 2022-03-11 12:09:38 +01:00
parent 44b1dcc331
commit 5e13c0fa76
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 64 additions and 0 deletions

62
source/2022-03-11.ts Normal file
View File

@ -0,0 +1,62 @@
import {
Cartoon,
Crop,
Generic,
Newsprint,
Plasma,
Waterpixels,
} from './gegl/exports.js';
import Project from './project.js';
const [width, height] = [3840, 2160];
const project: Project = {
createInputImage: true,
name: '2022-03-11',
operations: [
new Plasma({
seed: 168_139_081,
turbulence: 1.5,
height,
width,
}),
new Cartoon({
maskRadius: 40,
pctBlack: 0.2,
}),
new Waterpixels({
size: 64,
}),
new Cartoon({
maskRadius: 40,
pctBlack: 0.2,
}),
new Newsprint({
colorModel: 'rgb',
pattern2: 'circle',
pattern3: 'cross',
pattern4: 'circle',
period2: 15,
period3: 150,
period4: 30,
turbulence: 0.9,
}),
new Generic('gegl:bloom', {
radius: 7.48,
strength: 115.29,
threshold: 65.88,
}),
new Generic('gegl:noise-pick', {
repeat: 5,
seed: 0,
}),
new Crop({height, width}),
],
resetAlpha: false,
resolution: {
width,
height,
},
};
export default project;

View File

@ -13,6 +13,7 @@ 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'; import d2022_03_09 from './2022-03-09.js';
import d2022_03_10 from './2022-03-10.js'; import d2022_03_10 from './2022-03-10.js';
import d2022_03_11 from './2022-03-11.js';
async function main(): Promise<void> { async function main(): Promise<void> {
const cli = meow( const cli = meow(
@ -49,6 +50,7 @@ async function main(): Promise<void> {
d2022_03_08, d2022_03_08,
d2022_03_09, d2022_03_09,
d2022_03_10, d2022_03_10,
d2022_03_11,
].filter((project) => project.name.startsWith(cli.flags.filter)); ].filter((project) => project.name.startsWith(cli.flags.filter));
for (const { for (const {