Sync Consciousness
[意识同步中...]
×
MORPHO LAB
边缘演化观测站 v3.0
形态系统 (Morphology)
代谢系统 (Metabolism)
核心基因 (Genetics)
🧬 提交变异申请
📸 捕获语义快照
🏛️ 遗产陈列室与谱系图
📷 上传照片驱动进化
ORIGIN: EMBRYO
ARCHETYPE: MEDUSA
ARCHETYPE: ARTHROPOD
ARCHETYPE: OCTOPUS
☣️ TRIGGER ACID
💀 FORCE TERMINATE
LEGACY ARCHIVE
// 数字化石展览馆与谱系网络
×
Phylogeny Tree / 进化序列谱系图
[ MORPHO DEV TOOLS ]
☣️ 触发大酸化 (Acidification)
💀 一键暴毙 (Force Terminate)
⚡ 切换性能锁帧 (30FPS)
function toggleEvolutionPod() { document.getElementById('evolution-pod').classList.toggle('minimized'); } // Tab 键切换 UI 面板 window.addEventListener('keydown', (e) => { if (e.key === 'Tab') { e.preventDefault(); const pod = document.getElementById('evolution-pod'); const panel = document.getElementById('mode-panel'); pod.classList.toggle('visible'); panel.classList.toggle('visible'); } }); function syncConsciousness() { const btn = document.querySelector('.sync-btn'); btn.disabled = true; btn.style.opacity = '0'; document.getElementById('ripple').classList.add('ripple-active'); setTimeout(() => { if (window.initGameAudio) window.initGameAudio(); const overlay = document.getElementById('login-overlay'); overlay.style.opacity = '0'; setTimeout(() => { overlay.style.visibility = 'hidden'; if (window.onSyncComplete) window.onSyncComplete(); setTimeout(() => { document.getElementById('evolution-pod').classList.add('visible'); document.getElementById('sensory-log').classList.add('visible'); document.getElementById('sensory-log').innerText = "[ 意识连接已建立。开始物种起源解降。 ]"; }, 1500); }, 1500); }, 1000); } // inline 的 submitMutation 已移除,统一切换至 main.js 中的 window.submitMutation 避免作用域覆盖 function handlePhotoUpload(input) { const file = input.files[0]; if (!file) return; window.updateSensoryLog("[ 正在解析现实快照。提取生物识别特征... ]", "#8800ff"); const reader = new FileReader(); reader.onload = (e) => { const canvas = document.getElementById('photo-preview'); const ctx = canvas.getContext('2d'); const img = new Image(); img.onload = () => { canvas.style.display = 'block'; ctx.drawImage(img, 0, 0, canvas.width, canvas.height); submitMutation(); }; img.src = e.target.result; }; reader.readAsDataURL(file); } function takePhotograph() { window.updateSensoryLog("[ 正在捕获语义快照。存档至记忆宫殿... ]", "#00f2ff"); const overlay = document.createElement('div'); overlay.style.cssText = "position:fixed;top:0;left:0;width:100vw;height:100vh;background:#fff;z-index:10002;pointer-events:none;opacity:0.8;"; document.body.appendChild(overlay); setTimeout(() => { overlay.style.transition = "opacity 0.5s"; overlay.style.opacity = '0'; setTimeout(() => document.body.removeChild(overlay), 500); }, 50); } // 统一日志接口 window.updateSensoryLog = (text, color = null) => { const log = document.getElementById('sensory-log'); log.innerText = text; if (color) log.style.color = color; log.classList.remove('visible'); void log.offsetWidth; // trigger reflow log.classList.add('visible'); }; // 绑定旧版 log 元素至新系统 setInterval(() => { const oldLog = document.getElementById('ai-log'); if (oldLog && oldLog.innerText.trim() !== "" && !oldLog.dataset.processed) { window.updateSensoryLog(oldLog.innerText); oldLog.dataset.processed = "true"; } }, 500);