Replace more uses of Generic.

This commit is contained in:
Bauke 2022-03-11 22:14:20 +01:00
parent 12ce92208f
commit d5f87ffad0
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
3 changed files with 12 additions and 15 deletions

View File

@ -1,10 +1,12 @@
import {
Crop,
FocusBlur,
Generic,
Maze,
MedianBlur,
Mirrors,
Newsprint,
Oilify,
TileGlass,
TileSeamless,
Waterpixels,
Waves,
@ -17,8 +19,8 @@ const project: Project = {
createInputImage: true,
name: '2022-03-09',
operations: [
new Generic('gegl:maze'),
new Generic('gegl:tile-glass'),
new Maze(),
new TileGlass(),
new Waterpixels(),
new Newsprint({
angle2: -55.4,
@ -31,7 +33,7 @@ const project: Project = {
clamp: true,
}),
new Crop({height, width}),
new Generic('gegl:oilify'),
new Oilify(),
new TileSeamless(),
new MedianBlur({
percentile: 2.35,

View File

@ -1,10 +1,4 @@
import {
CellNoise,
Crop,
Generic,
Newsprint,
Waves,
} from '../../gegl/exports.js';
import {Bloom, CellNoise, Crop, Newsprint, Waves} from '../../gegl/exports.js';
import Project from '../../project.js';
const [width, height] = [3840, 2160];
@ -38,7 +32,7 @@ const project: Project = {
y: -0.75,
}),
new Crop({height, width}),
new Generic('gegl:bloom', {
new Bloom({
radius: 20,
softness: 57,
strength: 90,

View File

@ -1,8 +1,9 @@
import {
Bloom,
Cartoon,
Crop,
Generic,
Newsprint,
NoisePick,
Plasma,
Waterpixels,
} from '../../gegl/exports.js';
@ -41,12 +42,12 @@ const project: Project = {
period4: 30,
turbulence: 0.9,
}),
new Generic('gegl:bloom', {
new Bloom({
radius: 7.48,
strength: 115.29,
threshold: 65.88,
}),
new Generic('gegl:noise-pick', {
new NoisePick({
repeat: 5,
seed: 0,
}),