Replace Generic('gegl:stereographic-projection') with StereographicProjection.
This commit is contained in:
parent
fa08d29675
commit
91ba4468c7
|
@ -4,6 +4,7 @@ import {
|
||||||
Newsprint,
|
Newsprint,
|
||||||
SimplexNoise,
|
SimplexNoise,
|
||||||
Softglow,
|
Softglow,
|
||||||
|
StereographicProjection,
|
||||||
} from './gegl/exports.js';
|
} from './gegl/exports.js';
|
||||||
import Project from './project.js';
|
import Project from './project.js';
|
||||||
|
|
||||||
|
@ -28,7 +29,7 @@ const project: Project = {
|
||||||
new Mirrors(),
|
new Mirrors(),
|
||||||
new Softglow(),
|
new Softglow(),
|
||||||
new Newsprint(),
|
new Newsprint(),
|
||||||
new Generic('gegl:stereographic-projection', {tilt: 123}),
|
new StereographicProjection({tilt: 123}),
|
||||||
new Generic('gegl:focus-blur', {
|
new Generic('gegl:focus-blur', {
|
||||||
blurType: 'gaussian',
|
blurType: 'gaussian',
|
||||||
blurRadius: 11.5,
|
blurRadius: 11.5,
|
||||||
|
|
|
@ -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';
|
import Project from './project.js';
|
||||||
|
|
||||||
const [width, height] = [1920, 1080];
|
const [width, height] = [1920, 1080];
|
||||||
|
@ -12,7 +17,7 @@ const project: Project = {
|
||||||
}),
|
}),
|
||||||
new Crop({height, width}),
|
new Crop({height, width}),
|
||||||
new Generic('gegl:tile-seamless'),
|
new Generic('gegl:tile-seamless'),
|
||||||
new Generic('gegl:stereographic-projection'),
|
new StereographicProjection(),
|
||||||
new Newsprint({
|
new Newsprint({
|
||||||
colorModel: 'cmyk',
|
colorModel: 'cmyk',
|
||||||
period: 4,
|
period: 4,
|
||||||
|
|
Loading…
Reference in New Issue