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';
const [width, height] = [1920, 1080];
@ -19,7 +19,7 @@ const project: Project = {
period4: 200,
angle4: 0,
}),
new Generic('gegl:mirrors'),
new Mirrors(),
new Generic('gegl:softglow'),
new Newsprint(),
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';
const [width, height] = [1920, 1080];
@ -30,7 +30,7 @@ const project: Project = {
clamp: 'true',
samplerType: 'cubic',
}),
new Generic('gegl:mirrors', {
new Mirrors({
oX: 1,
oY: 0.353,
nSegs: 2,
@ -42,7 +42,7 @@ const project: Project = {
size: 32,
smoothness: 1,
}),
new Generic('gegl:mirrors', {
new Mirrors({
oX: 0.01,
oY: 0.01,
nSegs: 5,