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

View File

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