chore: checkpoint divergent local main state

This commit is contained in:
Alexander Whitestone
2026-04-05 13:30:36 -04:00
parent 4379f70352
commit 9c0f14a698
2 changed files with 0 additions and 90 deletions

View File

@@ -1,12 +0,0 @@
// modules/core/scene.js — Canonical scene exports
// Provides THREE.Scene, camera, renderer, OrbitControls, and resize handler
// for use by app.js and any module that needs scene primitives.
//
// Implementation detail: the actual objects live in ../scene-setup.js and
// ../controls.js until those modules are absorbed here in a later phase.
export { scene, camera, renderer, raycaster, forwardVector,
ambientLight, overheadLight,
stars, starMaterial, constellationLines,
STAR_BASE_OPACITY, STAR_PEAK_OPACITY, STAR_PULSE_DECAY } from '../scene-setup.js';
export { orbitControls, composer, bokehPass, exitZoom, WARP_DURATION } from '../controls.js';

View File

@@ -1,78 +0,0 @@
// modules/core/theme.js — NEXUS visual constants
// Single source of truth for all colors, fonts, line weights, glow params.
// No module may use inline hex codes or hardcoded font strings.
/** NEXUS — the canonical theme object used by all visual modules */
export const NEXUS = {
/** Numeric hex colors for THREE.js materials */
colors: {
bg: 0x000008,
starCore: 0xffffff,
starDim: 0x8899cc,
constellationLine: 0x334488,
constellationFade: 0x112244,
accent: 0x4488ff,
},
/** All canvas/CSS/string visual constants */
theme: {
// Accent (hex number + CSS string pair)
accent: 0x4488ff,
accentStr: '#4488ff',
// Panel surfaces
panelBg: '#0a1428',
panelText: '#4af0c0',
panelDim: '#7b9bbf',
panelVeryDim: '#3a5070',
panelBorderFaint: '#1a3050',
// Agent status colors (CSS strings for canvas)
agentWorking: '#4af0c0',
agentIdle: '#7b5cff',
agentDormant: '#2a4060',
agentDormantHex: 0x2a4060,
agentDead: '#3a2040',
// Sovereignty meter
sovereignHigh: '#4af0c0',
sovereignHighHex: 0x4af0c0,
sovereignMid: '#ffd700',
sovereignMidHex: 0xffd700,
sovereignLow: '#ff4444',
sovereignLowHex: 0xff4444,
// Holographic earth
earthOcean: '#0a2040',
earthLand: '#1a4020',
earthAtm: '#204070',
earthGlow: '#4488ff',
// LoRA panel
loraActive: '#4af0c0',
loraInactive: '#3a5070',
loraAccent: '#7b5cff',
// Typography
fontMono: 'monospace',
},
};
/** THEME — glass / text presets (kept for SovOS.js and other legacy consumers) */
export const THEME = {
glass: {
color: 0x112244,
opacity: 0.35,
roughness: 0.05,
metalness: 0.1,
transmission: 0.95,
thickness: 0.8,
ior: 1.5,
},
text: {
primary: '#4af0c0',
secondary: '#7b5cff',
white: '#ffffff',
dim: '#a0b8d0',
},
};