Replace Generic('gegl:stereographic-projection') with StereographicProjection.

This commit is contained in:
Bauke 2022-03-08 13:37:49 +01:00
parent fa08d29675
commit 91ba4468c7
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 9 additions and 3 deletions

View File

@ -4,6 +4,7 @@ import {
Newsprint,
SimplexNoise,
Softglow,
StereographicProjection,
} from './gegl/exports.js';
import Project from './project.js';
@ -28,7 +29,7 @@ const project: Project = {
new Mirrors(),
new Softglow(),
new Newsprint(),
new Generic('gegl:stereographic-projection', {tilt: 123}),
new StereographicProjection({tilt: 123}),
new Generic('gegl:focus-blur', {
blurType: 'gaussian',
blurRadius: 11.5,

View File

@ -1,4 +1,9 @@
import {Crop, Generic, Newsprint} from './gegl/exports.js';
import {
Crop,
Generic,
Newsprint,
StereographicProjection,
} from './gegl/exports.js';
import Project from './project.js';
const [width, height] = [1920, 1080];
@ -12,7 +17,7 @@ const project: Project = {
}),
new Crop({height, width}),
new Generic('gegl:tile-seamless'),
new Generic('gegl:stereographic-projection'),
new StereographicProjection(),
new Newsprint({
colorModel: 'cmyk',
period: 4,