[grok] Energy beam connecting Batcave terminal to the sky (#86) (#370)
Some checks failed
Deploy Nexus / deploy (push) Failing after 4s

This commit was merged in pull request #370.
This commit is contained in:
2026-03-24 12:53:04 +00:00
parent e4fb30a4a6
commit 3829e946ff

24
app.js
View File

@@ -1341,6 +1341,30 @@ const energyBeamMaterial = new THREE.MeshBasicMaterial({
const energyBeam = new THREE.Mesh(energyBeamGeometry, energyBeamMaterial);
energyBeam.position.set(ENERGY_BEAM_X, ENERGY_BEAM_Y + ENERGY_BEAM_HEIGHT / 2, ENERGY_BEAM_Z);
scene.add(energyBeam);
// Energy beam from Batcave terminal to sky - connection to outside world
const beamGeometry = new THREE.CylinderGeometry(0.5, 2, 1000, 32, 32, true);
const beamMaterial = new THREE.MeshBasicMaterial({
color: NEXUS.colors.accent,
emissive: NEXUS.colors.accent,
emissiveIntensity: 0.8,
opacity: 0.6,
transparent: true,
side: THREE.BackSide
});
const energyBeam = new THREE.Mesh(beamGeometry, beamMaterial);
energyBeam.position.set(-50, 500, -50); // Centered above Batcave terminal area
energyBeam.rotation.x = Math.PI / 2;
NEXUS.scene.add(energyBeam);
NEXUS.animations.push({
object: energyBeam,
property: 'material.opacity',
start: 0.3,
end: 0.6,
duration: 2000,
ease: 'Quadratic.InOut',
loop: true,
yoyo: true
});
// === RUNE RING ===
// 12 Elder Futhark rune sprites in a slow-orbiting ring around the center platform.