interlinked/source/2022-03-07.ts

71 lines
1.1 KiB
TypeScript
Raw Normal View History

import {
Cartoon,
Crop,
MedianBlur,
Mirrors,
Mosaic,
Plasma,
Waterpixels,
Waves,
} from './gegl/exports.js';
2022-03-07 18:49:54 +00:00
import Project from './project.js';
const [width, height] = [1920, 1080];
const project: Project = {
createInputImage: false,
2022-03-07 18:49:54 +00:00
name: '2022-03-07',
operations: [
new Plasma({
2022-03-07 18:49:54 +00:00
height,
seed: 2_000_111_903,
turbulence: 1,
width,
}),
new Mosaic({
2022-03-07 18:49:54 +00:00
colorVariation: 1,
tileHeight: 5,
tileNeatness: 1,
tileSize: 116.53,
tileSurface: true,
2022-03-07 18:49:54 +00:00
tileType: 'triangles',
}),
new Waves({
2022-03-07 18:49:54 +00:00
amplitude: 2.9,
clamp: true,
2022-03-07 18:49:54 +00:00
samplerType: 'cubic',
}),
new Waves({
2022-03-07 18:49:54 +00:00
amplitude: 17.3,
clamp: true,
2022-03-07 18:49:54 +00:00
samplerType: 'cubic',
}),
new Mirrors({
2022-03-07 18:49:54 +00:00
oX: 1,
oY: 0.353,
nSegs: 2,
}),
new Cartoon(),
2022-03-07 18:49:54 +00:00
new Crop({height, width}),
new Waterpixels({
2022-03-07 18:49:54 +00:00
fill: 'average',
size: 32,
smoothness: 1,
}),
new Mirrors({
2022-03-07 18:49:54 +00:00
oX: 0.01,
oY: 0.01,
nSegs: 5,
rAngle: 342,
}),
new MedianBlur(),
2022-03-07 18:49:54 +00:00
],
resetAlpha: false,
2022-03-07 18:49:54 +00:00
resolution: {
width,
height,
},
};
export default project;