Replace Generic('gegl:mirrors') with Mirrors.
This commit is contained in:
		
							parent
							
								
									5c31352e4e
								
							
						
					
					
						commit
						6e1c684ba4
					
				| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
import {Generic, Newsprint, SimplexNoise} from './gegl/exports.js';
 | 
					import {Generic, Mirrors, Newsprint, SimplexNoise} from './gegl/exports.js';
 | 
				
			||||||
import Project from './project.js';
 | 
					import Project from './project.js';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const [width, height] = [1920, 1080];
 | 
					const [width, height] = [1920, 1080];
 | 
				
			||||||
| 
						 | 
					@ -19,7 +19,7 @@ const project: Project = {
 | 
				
			||||||
      period4: 200,
 | 
					      period4: 200,
 | 
				
			||||||
      angle4: 0,
 | 
					      angle4: 0,
 | 
				
			||||||
    }),
 | 
					    }),
 | 
				
			||||||
    new Generic('gegl:mirrors'),
 | 
					    new Mirrors(),
 | 
				
			||||||
    new Generic('gegl:softglow'),
 | 
					    new Generic('gegl:softglow'),
 | 
				
			||||||
    new Newsprint(),
 | 
					    new Newsprint(),
 | 
				
			||||||
    new Generic('gegl:stereographic-projection', {tilt: 123}),
 | 
					    new Generic('gegl:stereographic-projection', {tilt: 123}),
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,4 +1,4 @@
 | 
				
			||||||
import {Crop, Generic} from './gegl/exports.js';
 | 
					import {Crop, Generic, Mirrors} from './gegl/exports.js';
 | 
				
			||||||
import Project from './project.js';
 | 
					import Project from './project.js';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const [width, height] = [1920, 1080];
 | 
					const [width, height] = [1920, 1080];
 | 
				
			||||||
| 
						 | 
					@ -30,7 +30,7 @@ const project: Project = {
 | 
				
			||||||
      clamp: 'true',
 | 
					      clamp: 'true',
 | 
				
			||||||
      samplerType: 'cubic',
 | 
					      samplerType: 'cubic',
 | 
				
			||||||
    }),
 | 
					    }),
 | 
				
			||||||
    new Generic('gegl:mirrors', {
 | 
					    new Mirrors({
 | 
				
			||||||
      oX: 1,
 | 
					      oX: 1,
 | 
				
			||||||
      oY: 0.353,
 | 
					      oY: 0.353,
 | 
				
			||||||
      nSegs: 2,
 | 
					      nSegs: 2,
 | 
				
			||||||
| 
						 | 
					@ -42,7 +42,7 @@ const project: Project = {
 | 
				
			||||||
      size: 32,
 | 
					      size: 32,
 | 
				
			||||||
      smoothness: 1,
 | 
					      smoothness: 1,
 | 
				
			||||||
    }),
 | 
					    }),
 | 
				
			||||||
    new Generic('gegl:mirrors', {
 | 
					    new Mirrors({
 | 
				
			||||||
      oX: 0.01,
 | 
					      oX: 0.01,
 | 
				
			||||||
      oY: 0.01,
 | 
					      oY: 0.01,
 | 
				
			||||||
      nSegs: 5,
 | 
					      nSegs: 5,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue