Add 2022-03-07.
This commit is contained in:
		
							parent
							
								
									db6751c10a
								
							
						
					
					
						commit
						9a3df37966
					
				| 
						 | 
					@ -0,0 +1,59 @@
 | 
				
			||||||
 | 
					import {Crop, Generic} from './gegl/exports.js';
 | 
				
			||||||
 | 
					import Project from './project.js';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const [width, height] = [1920, 1080];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					const project: Project = {
 | 
				
			||||||
 | 
					  name: '2022-03-07',
 | 
				
			||||||
 | 
					  operations: [
 | 
				
			||||||
 | 
					    new Generic('gegl:plasma', {
 | 
				
			||||||
 | 
					      height,
 | 
				
			||||||
 | 
					      seed: 2_000_111_903,
 | 
				
			||||||
 | 
					      turbulence: 1,
 | 
				
			||||||
 | 
					      width,
 | 
				
			||||||
 | 
					    }),
 | 
				
			||||||
 | 
					    new Generic('gegl:mosaic', {
 | 
				
			||||||
 | 
					      colorVariation: 1,
 | 
				
			||||||
 | 
					      tileHeight: 5,
 | 
				
			||||||
 | 
					      tileNeatness: 1,
 | 
				
			||||||
 | 
					      tileSize: 116.53,
 | 
				
			||||||
 | 
					      tileSurface: 'true',
 | 
				
			||||||
 | 
					      tileType: 'triangles',
 | 
				
			||||||
 | 
					    }),
 | 
				
			||||||
 | 
					    new Generic('gegl:waves', {
 | 
				
			||||||
 | 
					      amplitude: 2.9,
 | 
				
			||||||
 | 
					      clamp: 'true',
 | 
				
			||||||
 | 
					      samplerType: 'cubic',
 | 
				
			||||||
 | 
					    }),
 | 
				
			||||||
 | 
					    new Generic('gegl:waves', {
 | 
				
			||||||
 | 
					      amplitude: 17.3,
 | 
				
			||||||
 | 
					      clamp: 'true',
 | 
				
			||||||
 | 
					      samplerType: 'cubic',
 | 
				
			||||||
 | 
					    }),
 | 
				
			||||||
 | 
					    new Generic('gegl:mirrors', {
 | 
				
			||||||
 | 
					      oX: 1,
 | 
				
			||||||
 | 
					      oY: 0.353,
 | 
				
			||||||
 | 
					      nSegs: 2,
 | 
				
			||||||
 | 
					    }),
 | 
				
			||||||
 | 
					    new Generic('gegl:cartoon'),
 | 
				
			||||||
 | 
					    new Crop({height, width}),
 | 
				
			||||||
 | 
					    new Generic('gegl:waterpixels', {
 | 
				
			||||||
 | 
					      fill: 'average',
 | 
				
			||||||
 | 
					      size: 32,
 | 
				
			||||||
 | 
					      smoothness: 1,
 | 
				
			||||||
 | 
					    }),
 | 
				
			||||||
 | 
					    new Generic('gegl:mirrors', {
 | 
				
			||||||
 | 
					      oX: 0.01,
 | 
				
			||||||
 | 
					      oY: 0.01,
 | 
				
			||||||
 | 
					      nSegs: 5,
 | 
				
			||||||
 | 
					      rAngle: 342,
 | 
				
			||||||
 | 
					    }),
 | 
				
			||||||
 | 
					    new Generic('gegl:median-blur'),
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
 | 
					  resolution: {
 | 
				
			||||||
 | 
					    width,
 | 
				
			||||||
 | 
					    height,
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export default project;
 | 
				
			||||||
| 
						 | 
					@ -8,9 +8,10 @@ import {Crop} from './gegl/exports.js';
 | 
				
			||||||
import Project from './project.js';
 | 
					import Project from './project.js';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import d2022_03_06 from './2022-03-06.js';
 | 
					import d2022_03_06 from './2022-03-06.js';
 | 
				
			||||||
 | 
					import d2022_03_07 from './2022-03-07.js';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
async function main(): Promise<void> {
 | 
					async function main(): Promise<void> {
 | 
				
			||||||
  const projects: Project[] = [d2022_03_06];
 | 
					  const projects: Project[] = [d2022_03_06, d2022_03_07];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  for (const {name, operations, resolution} of projects) {
 | 
					  for (const {name, operations, resolution} of projects) {
 | 
				
			||||||
    const dataStart = performance.now();
 | 
					    const dataStart = performance.now();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in New Issue