Add 2022-03-07.

This commit is contained in:
Bauke 2022-03-07 19:49:54 +01:00
parent db6751c10a
commit 9a3df37966
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 61 additions and 1 deletions

59
source/2022-03-07.ts Normal file
View File

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

View File

@ -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<void> {
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();