Templates-Meta Art

This commit is contained in:
2026-06-02 20:32:41 -04:00
parent 219eb6632c
commit 6438d2c4d2
111 changed files with 7076 additions and 472 deletions

View File

@@ -13,7 +13,7 @@ export const DEFAULT_COMPOSITION = {
film: { opacity: 0.6, density: 0.5, seed: 8 },
aging: { opacity: 0.5, scratches: 5, dust: 0.45, foxing: 0.5, seed: 5 },
grain: { opacity: 0.42, intensity: 0.42, seed: 19 },
glow: { strength: 0.55 }, // lit-page glow (lighter warm centre)
glow: { strength: 0.55, followSun: true }, // lit-page glow; centre tracks the disk
vignette: { strength: 0.4 }, // soft darkening toward the edges
},
fieldSea: {
@@ -34,9 +34,10 @@ export const DEFAULT_COMPOSITION = {
enabled: true, layerOpacity: 1, transform: { x: 0.28, y: -0.1, rotation: 10, scale: 0.78 },
palette: 'magentarise', saturation: 1.05, traceHue: 0, transparentBase: true,
primaries: 18, sweepers: 5, cosmics: 6, eloss: 0.34, bfield: 1.0, deltaRate: 0.6,
showBoundary: true, boundaryR: 0.45, boundaryY: 0.35, boundaryOpacity: 0.4, instrument: 0.35,
},
fiduciaries: {
enabled: true, layerOpacity: 1, label: 'No 001', pencil: '#39312a', width: 1.0, arrow: true, corners: false, caption: '',
enabled: true, layerOpacity: 1, label: 'auto', pencil: '#39312a', width: 1.0, arrow: true, corners: false, caption: '',
},
};
@@ -55,6 +56,7 @@ export const GROUPS_SCHEMA = [
R('grain.opacity', 'Grain opacity', 0, 1, 0.01),
R('grain.intensity', 'Grain intensity', 0, 1, 0.01),
R('glow.strength', 'Page glow', 0, 1, 0.01),
{ path: 'glow.followSun', label: 'Glow follows sun', type: 'toggle' },
R('vignette.strength', 'Vignette', 0, 1, 0.01),
],
},
@@ -112,6 +114,11 @@ export const GROUPS_SCHEMA = [
R('eloss', 'Energy loss', 0, 1.5, 0.01),
R('bfield', 'B-field', 0.2, 3, 0.01),
R('deltaRate', 'δ-ray rate', 0, 1, 0.01),
{ path: 'showBoundary', label: 'Chamber arc', type: 'toggle' },
R('boundaryR', 'Arc radius', 0.1, 1.0, 0.01),
R('boundaryY', 'Arc position Y', -0.3, 0.7, 0.01),
R('boundaryOpacity', 'Arc opacity', 0, 1, 0.01),
R('instrument', 'Structural geometry', 0, 1, 0.01),
],
},
{
@@ -129,8 +136,8 @@ export const GROUPS_SCHEMA = [
// the common transform block, generated for groups with transform:true
export const COMMON_CONTROLS = [
R('layerOpacity', 'Opacity', 0, 1, 0.01),
R('transform.x', 'Centre X', -1, 1, 0.01),
R('transform.y', 'Centre Y', -1, 1, 0.01),
R('transform.x', 'Centre X', -1.6, 1.6, 0.01), // beyond ±1 → bleed off-canvas
R('transform.y', 'Centre Y', -1.6, 1.6, 0.01),
R('transform.rotation', 'Rotation°', -180, 180, 1),
R('transform.scale', 'Scale', 0.1, 2.5, 0.01),
R('transform.scale', 'Scale', 0.1, 3, 0.01), // small ↔ overfill / eclipse
];