interlinked/source/2022-03-07.ts

60 lines
1.1 KiB
TypeScript

import {Crop, Generic, Mirrors} 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 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 Mirrors({
oX: 0.01,
oY: 0.01,
nSegs: 5,
rAngle: 342,
}),
new Generic('gegl:median-blur'),
],
resolution: {
width,
height,
},
};
export default project;