Element Liberation

This commit is contained in:
2026-06-10 18:23:47 +01:00
parent 6438d2c4d2
commit e7fb2e9a68
125 changed files with 9990 additions and 19 deletions

View File

@@ -14,17 +14,18 @@ export const DEFAULT_COMPOSITION = {
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, followSun: true }, // lit-page glow; centre tracks the disk
vignette: { strength: 0.4 }, // soft darkening toward the edges
vignette: { strength: 0.4, mode: 'radial', cx: 0.5, cy: 0.48, radius: 0.75, angle: 90, start: 0.5 },
},
fieldSea: {
enabled: true, layerOpacity: 1, transform: { x: 0, y: 0, rotation: 0, scale: 1 }, seed: 'VACUUM-5113',
color: { hueBack: 0.54, hueFront: 0.47, sat: 0.6 },
color: { hueBack: 0.54, hueFront: 0.47, sat: 0.6, light: 0.36 }, // light > ~0.6 → waves lighter than ground
layers: 3, chaos: 0.3, blips: 0.7, mound: 0.3, horizonY: 0.36, lines: 46,
},
fieldGrid: {
enabled: true, layerOpacity: 1, pos: 'over', style: 'floor', transform: { x: 0, y: 0, rotation: 0, scale: 1 },
color: { hue: 0.5, hue2: 0.55, sat: 0.32, lightNear: 0.34, lightFar: 0.62 }, opacity: 0.44,
pitch: 0.45, yaw: 0.42, persp: 1.1, dist: 2.8, nx: 16, nz: 24, originY: 0.34, ripple: { amp: 0, freqI: 0.5, freqK: 0.35, phase: 0 },
resonance: { amp: 0, q: 14, axis: 'ties', hue: 0.06, sat: 0.7, light: 0.45 },
},
disk: {
enabled: true, layerOpacity: 1, transform: { x: 0, y: -0.26, rotation: 0, scale: 0.78 },
@@ -58,6 +59,11 @@ export const GROUPS_SCHEMA = [
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),
{ path: 'vignette.mode', label: 'Vignette mode', type: 'select', options: ['radial', 'linear'] },
R('vignette.cx', 'Vignette X', 0, 1, 0.01),
R('vignette.cy', 'Vignette Y', 0, 1, 0.01),
R('vignette.radius', 'Vignette radius', 0.3, 1.4, 0.01),
R('vignette.angle', 'Vignette angle°', 0, 360, 1),
],
},
{
@@ -65,6 +71,7 @@ export const GROUPS_SCHEMA = [
R('color.hueBack', 'Hue · far', 0, 1, 0.005),
R('color.hueFront', 'Hue · near', 0, 1, 0.005),
R('color.sat', 'Saturation', 0, 1, 0.01),
R('color.light', 'Wave luminosity', 0, 1, 0.01),
R('layers', 'Plate layers', 1, 3, 1),
R('chaos', 'Chaos', 0, 1, 0.01),
R('blips', 'Blips', 0, 2, 0.05),
@@ -89,6 +96,9 @@ export const GROUPS_SCHEMA = [
R('color.hue', 'Hue', 0, 1, 0.005),
R('color.sat', 'Saturation', 0, 1, 0.01),
R('ripple.amp', 'Floor ripple', 0, 2, 0.02),
R('resonance.amp', 'Resonance (high-Q)', 0, 1, 0.01),
R('resonance.q', 'Resonance Q', 2, 40, 1),
R('resonance.hue', 'Resonance hue', 0, 1, 0.005),
],
},
{