const brainImg = "https://raw.githubusercontent.com/Komalpreet2809/Soma-Assets/master/Brain_nobg.png"; import './CognitiveBrainScene.css'; /** * PHASE TO REGION MAPPING */ const REGION_MAP = { perception: 'sensory', sensory: 'sensory', attention: 'thalamus', routing: 'thalamus', prediction: 'prefrontal', working_memory: 'prefrontal', recall: 'hippocampus', association: 'hippocampus', memory: 'hippocampus', emotion: 'amygdala', reasoning: 'prefrontal', reflection: 'prefrontal', language: 'prefrontal', inhibition: 'hippocampus', // Moved to Temporal for smoother memory filtering flow graph: 'hippocampus', listening: 'sensory', responding: 'prefrontal' }; function CognitiveBrainImageScene({ state = 'idle' }) { const activeRegion = REGION_MAP[state] || null; const isState = (s) => state === s; return (