From 9c0f14a69848c7f66b560123f0982d2464beb7d3 Mon Sep 17 00:00:00 2001 From: Alexander Whitestone Date: Sun, 5 Apr 2026 13:30:36 -0400 Subject: [PATCH] chore: checkpoint divergent local main state --- modules/core/scene.js | 12 ------- modules/core/theme.js | 78 ------------------------------------------- 2 files changed, 90 deletions(-) delete mode 100644 modules/core/scene.js delete mode 100644 modules/core/theme.js diff --git a/modules/core/scene.js b/modules/core/scene.js deleted file mode 100644 index 7e70d93..0000000 --- a/modules/core/scene.js +++ /dev/null @@ -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'; diff --git a/modules/core/theme.js b/modules/core/theme.js deleted file mode 100644 index 3dcdd0b..0000000 --- a/modules/core/theme.js +++ /dev/null @@ -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', - }, -};