interlinked/source/2022-03-06.ts

67 lines
1.3 KiB
TypeScript
Raw Normal View History

import {
FocusBlur,
Mirrors,
Newsprint,
SimplexNoise,
Softglow,
StereographicProjection,
} from './gegl/exports.js';
2022-03-07 16:33:04 +00:00
import Project from './project.js';
2022-03-07 15:36:07 +00:00
const [width, height] = [1920, 1080];
const project: Project = {
createInputImage: false,
2022-03-07 15:36:07 +00:00
name: '2022-03-06',
operations: [
new SimplexNoise({scale: 4, seed: 2_071_140_406}),
2022-03-07 16:34:00 +00:00
new Newsprint({
2022-03-07 15:36:07 +00:00
colorModel: 'rgb',
pattern2: 'line',
2022-03-07 16:34:00 +00:00
period2: 200,
angle2: 15,
2022-03-07 15:36:07 +00:00
pattern3: 'line',
2022-03-07 16:34:00 +00:00
period3: 200,
angle3: 45,
2022-03-07 15:36:07 +00:00
pattern4: 'line',
2022-03-07 16:34:00 +00:00
period4: 200,
angle4: 0,
2022-03-07 15:36:07 +00:00
}),
new Mirrors(),
new Softglow(),
2022-03-07 16:34:00 +00:00
new Newsprint(),
new StereographicProjection({tilt: 123}),
new FocusBlur({
2022-03-07 15:36:07 +00:00
blurType: 'gaussian',
blurRadius: 11.5,
radius: 0.9,
midpoint: 0.6,
}),
2022-03-07 16:34:00 +00:00
new Newsprint({
2022-03-07 15:36:07 +00:00
colorModel: 'rgb',
pattern2: 'diamond',
2022-03-07 16:34:00 +00:00
period2: 200,
angle2: 0,
2022-03-07 15:36:07 +00:00
pattern3: 'diamond',
2022-03-07 16:34:00 +00:00
period3: 200,
angle3: 35,
2022-03-07 15:36:07 +00:00
pattern4: 'diamond',
2022-03-07 16:34:00 +00:00
period4: 200,
angle4: 55,
2022-03-07 15:36:07 +00:00
}),
new FocusBlur({
2022-03-07 15:36:07 +00:00
blurType: 'gaussian',
blurRadius: 11.5,
radius: 0.9,
midpoint: 0.6,
}),
],
resetAlpha: false,
2022-03-07 15:36:07 +00:00
resolution: {
width,
height,
},
};
export default project;