Replace Generic('gegl:mirrors') with Mirrors.

This commit is contained in:
Bauke 2022-03-07 22:04:46 +01:00
parent 5c31352e4e
commit 6e1c684ba4
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
import {Generic, Newsprint, SimplexNoise} from './gegl/exports.js'; import {Generic, Mirrors, Newsprint, SimplexNoise} from './gegl/exports.js';
import Project from './project.js'; import Project from './project.js';
const [width, height] = [1920, 1080]; const [width, height] = [1920, 1080];
@ -19,7 +19,7 @@ const project: Project = {
period4: 200, period4: 200,
angle4: 0, angle4: 0,
}), }),
new Generic('gegl:mirrors'), new Mirrors(),
new Generic('gegl:softglow'), new Generic('gegl:softglow'),
new Newsprint(), new Newsprint(),
new Generic('gegl:stereographic-projection', {tilt: 123}), new Generic('gegl:stereographic-projection', {tilt: 123}),

View File

@ -1,4 +1,4 @@
import {Crop, Generic} from './gegl/exports.js'; import {Crop, Generic, Mirrors} from './gegl/exports.js';
import Project from './project.js'; import Project from './project.js';
const [width, height] = [1920, 1080]; const [width, height] = [1920, 1080];
@ -30,7 +30,7 @@ const project: Project = {
clamp: 'true', clamp: 'true',
samplerType: 'cubic', samplerType: 'cubic',
}), }),
new Generic('gegl:mirrors', { new Mirrors({
oX: 1, oX: 1,
oY: 0.353, oY: 0.353,
nSegs: 2, nSegs: 2,
@ -42,7 +42,7 @@ const project: Project = {
size: 32, size: 32,
smoothness: 1, smoothness: 1,
}), }),
new Generic('gegl:mirrors', { new Mirrors({
oX: 0.01, oX: 0.01,
oY: 0.01, oY: 0.01,
nSegs: 5, nSegs: 5,