Replace Generic('gegl:focus-blur') with FocusBlur.

This commit is contained in:
Bauke 2022-03-08 19:00:57 +01:00
parent 93ad125a7f
commit 7c85ea0eea
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
2 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
import { import {
Generic, FocusBlur,
Mirrors, Mirrors,
Newsprint, Newsprint,
SimplexNoise, SimplexNoise,
@ -30,7 +30,7 @@ const project: Project = {
new Softglow(), new Softglow(),
new Newsprint(), new Newsprint(),
new StereographicProjection({tilt: 123}), new StereographicProjection({tilt: 123}),
new Generic('gegl:focus-blur', { new FocusBlur({
blurType: 'gaussian', blurType: 'gaussian',
blurRadius: 11.5, blurRadius: 11.5,
radius: 0.9, radius: 0.9,
@ -48,7 +48,7 @@ const project: Project = {
period4: 200, period4: 200,
angle4: 55, angle4: 55,
}), }),
new Generic('gegl:focus-blur', { new FocusBlur({
blurType: 'gaussian', blurType: 'gaussian',
blurRadius: 11.5, blurRadius: 11.5,
radius: 0.9, radius: 0.9,

View File

@ -1,6 +1,7 @@
import { import {
Crop, Crop,
Generic, Generic,
FocusBlur,
Newsprint, Newsprint,
StereographicProjection, StereographicProjection,
} from './gegl/exports.js'; } from './gegl/exports.js';
@ -22,7 +23,7 @@ const project: Project = {
colorModel: 'cmyk', colorModel: 'cmyk',
period: 4, period: 4,
}), }),
new Generic('gegl:focus-blur', { new FocusBlur({
blurRadius: 9.72, blurRadius: 9.72,
blurType: 'lens', blurType: 'lens',
focus: 0, focus: 0,