Add 2022-03-08.

This commit is contained in:
Bauke 2022-03-08 13:13:23 +01:00
parent a298982f18
commit 54e8b17f3b
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 37 additions and 1 deletions

35
source/2022-03-08.ts Normal file
View File

@ -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;

View File

@ -10,12 +10,13 @@ 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';
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]; const projects: Project[] = [d2022_03_06, d2022_03_07, d2022_03_08];
for (const {name, operations, resolution} of projects) { for (const {name, operations, resolution} of projects) {
const dataStart = performance.now(); const dataStart = performance.now();