Add 2022-03-08.
This commit is contained in:
		
							parent
							
								
									a298982f18
								
							
						
					
					
						commit
						54e8b17f3b
					
				| 
						 | 
				
			
			@ -0,0 +1,35 @@
 | 
			
		|||
import {Crop, Generic, Newsprint} from './gegl/exports.js';
 | 
			
		||||
import Project from './project.js';
 | 
			
		||||
 | 
			
		||||
const [width, height] = [1920, 1080];
 | 
			
		||||
 | 
			
		||||
const project: Project = {
 | 
			
		||||
  name: '2022-03-08',
 | 
			
		||||
  operations: [
 | 
			
		||||
    new Generic('gegl:diffraction-patterns', {
 | 
			
		||||
      height,
 | 
			
		||||
      width,
 | 
			
		||||
    }),
 | 
			
		||||
    new Crop({height, width}),
 | 
			
		||||
    new Generic('gegl:tile-seamless'),
 | 
			
		||||
    new Generic('gegl:stereographic-projection'),
 | 
			
		||||
    new Newsprint({
 | 
			
		||||
      colorModel: 'cmyk',
 | 
			
		||||
      period: 4,
 | 
			
		||||
    }),
 | 
			
		||||
    new Generic('gegl:focus-blur', {
 | 
			
		||||
      blurRadius: 9.72,
 | 
			
		||||
      blurType: 'lens',
 | 
			
		||||
      focus: 0,
 | 
			
		||||
      highlightFactor: 0.924,
 | 
			
		||||
      radius: 1.173,
 | 
			
		||||
      shape: 'circle',
 | 
			
		||||
    }),
 | 
			
		||||
  ],
 | 
			
		||||
  resolution: {
 | 
			
		||||
    width,
 | 
			
		||||
    height,
 | 
			
		||||
  },
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
export default project;
 | 
			
		||||
| 
						 | 
				
			
			@ -10,12 +10,13 @@ import Project from './project.js';
 | 
			
		|||
 | 
			
		||||
import d2022_03_06 from './2022-03-06.js';
 | 
			
		||||
import d2022_03_07 from './2022-03-07.js';
 | 
			
		||||
import d2022_03_08 from './2022-03-08.js';
 | 
			
		||||
 | 
			
		||||
async function main(): Promise<void> {
 | 
			
		||||
  const noRender = process.argv.includes('--no-render');
 | 
			
		||||
  const includeDefaults = process.argv.includes('--include-defaults');
 | 
			
		||||
 | 
			
		||||
  const projects: Project[] = [d2022_03_06, d2022_03_07];
 | 
			
		||||
  const projects: Project[] = [d2022_03_06, d2022_03_07, d2022_03_08];
 | 
			
		||||
 | 
			
		||||
  for (const {name, operations, resolution} of projects) {
 | 
			
		||||
    const dataStart = performance.now();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in New Issue