interlinked/source/2022-03-06.ts

58 lines
1.2 KiB
TypeScript
Raw Normal View History

2022-03-07 16:34:00 +00:00
import {Generic, Newsprint, SimplexNoise} 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 = {
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 Generic('gegl:mirrors'),
new Generic('gegl:softglow'),
2022-03-07 16:34:00 +00:00
new Newsprint(),
2022-03-07 15:36:07 +00:00
new Generic('gegl:stereographic-projection', {tilt: 123}),
new Generic('gegl:focus-blur', {
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 Generic('gegl:focus-blur', {
blurType: 'gaussian',
blurRadius: 11.5,
radius: 0.9,
midpoint: 0.6,
}),
],
resolution: {
width,
height,
},
};
export default project;