Replace Generic('gegl:stereographic-projection') with StereographicProjection.
This commit is contained in:
		
							parent
							
								
									fa08d29675
								
							
						
					
					
						commit
						91ba4468c7
					
				| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in New Issue