/* ============================================================================================== DTIM-ZEC COSMOLOGICAL URKNALL FRAMEWORK v2.0 (DAMTP ACADEMIC STANDARD) Theoretical Framework : Discrete Topological Information Matrix (DTIM) Constraint Condition : Zero-Net-Energy Constraint (ZEC) -> Tr(rho_0 * H_hat) == 0.000000 eV Academic Target : DAMTP (Department of Applied Mathematics & Theoretical Physics) Version : 2.0.3 (Processing 4.5.6 Strict AST Formatting Fix) Author : Jan Buehring License : MIT License / CC0 1.0 Universal CHRONOLOGICAL PHASES: [0] t < 0 : Primordiales Vakuum & Hilbert-Raum [1] t = 0 : Genesis & Quanten-Polarisation (+E / -E) [2] t = 10^-36s : Topologische Inflation & 120° Gitter-Kristallisation [3] t = 10^-6s : Quark-Gluon-Kondensation & Hadronen-Vortizes [4] t = 3 Min : Primordiale Nukleosynthese & Paarvernichtung (e+ + e- -> 2 Gamma) [5] t = 380k J. : Rekombination & Hüllen-Capture (CMB-Entkopplung) [6] t = 13.8Gy : Galaktische Strukturbildung & Gitter-Zugdruck (MOND) [7] t -> Inf : I_max Singularitäts-Sättigung & Topologische Reorganisation ============================================================================================== */ import java.util.ArrayList; // ---------------------------------------------------------------------------------------------- // GLOBAL STATE CONTAINERS // ---------------------------------------------------------------------------------------------- ArrayList latticePoints; ArrayList activeVortices; ArrayList energyFluctuations; CosmicMatrixSolver matrixSolver; // Control Flags boolean isSimulationPaused = false; boolean isExpertModeActive = false; boolean showExpertWarningModal = false; boolean showTheoryInfoModal = false; boolean autoCameraActive = true; // Physical Metric & Slider Parameters float spaceMetricDensity = 0.012f; float clockFrequency = 0.015f; float matrixCouplingCrit = 0.45f; // Dynamic Metrics float timeSec = 0.0f; float maxFieldAmplitude = 0.0f; float topologicalEntropy = 0.0f; float zoomFactor = 1.0f; float targetZoom = 1.0f; float cameraX, cameraY; float targetCamX, targetCamY; // Storyboard Phases int currentPhase = 0; CosmicPhase[] cosmicPhases = new CosmicPhase[8]; PFont uiFont; // ============================================================================================== // INITIALIZATION // ============================================================================================== public void setup() { size(850, 700); uiFont = createFont("SansSerif", 12); textFont(uiFont); latticePoints = new ArrayList(); activeVortices = new ArrayList(); energyFluctuations = new ArrayList(); matrixSolver = new CosmicMatrixSolver(); cameraX = width / 2.0f; cameraY = 220.0f; targetCamX = cameraX; targetCamY = cameraY; initCosmicPhases(); initLatticeGrid(); } public void draw() { background(6, 8, 14); if (!isSimulationPaused) { timeSec += clockFrequency; } updateCameraAutopilot(); pushMatrix(); translate(width / 2.0f, 220.0f); scale(zoomFactor); translate(-cameraX, -cameraY); renderDtimSpaceTimeField(); updateAndDrawEntities(); popMatrix(); if (isExpertModeActive) { matrixSolver.computeAndDrawClosedModel(); } drawWebHudInterface(); drawTopNavigation(); if (showTheoryInfoModal) { drawTheoryInfoModalDialog(); } else if (showExpertWarningModal) { drawExpertWarningModalDialog(); } } // ============================================================================================== // INPUT HANDLERS // ============================================================================================== public void mousePressed() { if (showTheoryInfoModal) { float modalW = 740.0f; float modalH = 570.0f; float modalX = (width - modalW) / 2.0f; float modalY = (height - modalH) / 2.0f; if (mouseX > modalX + modalW / 2.0f - 90 && mouseX < modalX + modalW / 2.0f + 90 && mouseY > modalY + modalH - 50 && mouseY < modalY + modalH - 12) { showTheoryInfoModal = false; } return; } if (showExpertWarningModal) { float modalW = 580.0f; float modalH = 310.0f; float modalX = (width - modalW) / 2.0f; float modalY = (height - modalH) / 2.0f; if (mouseX > modalX + 80 && mouseX < modalX + 260 && mouseY > modalY + 240 && mouseY < modalY + 285) { isExpertModeActive = true; showExpertWarningModal = false; return; } if (mouseX > modalX + 320 && mouseX < modalX + 500 && mouseY > modalY + 240 && mouseY < modalY + 285) { isExpertModeActive = false; showExpertWarningModal = false; return; } return; } if (mouseY >= 0 && mouseY <= 55) { if (mouseX > 15 && mouseX < 195) { showTheoryInfoModal = !showTheoryInfoModal; return; } if (mouseX > width - 185 && mouseX < width - 15) { isExpertModeActive = !isExpertModeActive; if (isExpertModeActive && !showExpertWarningModal) { showExpertWarningModal = true; isExpertModeActive = false; } return; } } if (mouseY > 470) { if (mouseX > 540 && mouseX < 675 && mouseY > 625 && mouseY < 670) { currentPhase = (currentPhase + 1) % 8; energyFluctuations.add(new EnergyFluctuation(width / 2.0f, 220.0f)); return; } if (mouseX > 690 && mouseX < 825 && mouseY > 625 && mouseY < 670) { autoCameraActive = !autoCameraActive; if (!autoCameraActive) { zoomFactor = 1.2f; cameraX = width / 2.0f; cameraY = 220.0f; } return; } handleSlidersInput(); } } public void mouseDragged() { if (mouseY > 470) { handleSlidersInput(); } else { if (!autoCameraActive && !showTheoryInfoModal && !showExpertWarningModal) { cameraX -= (mouseX - pmouseX) / zoomFactor; cameraY -= (mouseY - pmouseY) / zoomFactor; } } } void handleSlidersInput() { if (mouseX > 540 && mouseX < 820) { if (mouseY > 485 && mouseY < 515) { spaceMetricDensity = map(mouseX, 540, 820, 0.003f, 0.028f); } if (mouseY > 530 && mouseY < 560) { clockFrequency = map(mouseX, 540, 820, 0.0f, 0.035f); } if (mouseY > 575 && mouseY < 605) { matrixCouplingCrit = map(mouseX, 540, 820, 0.15f, 0.75f); } } } // ============================================================================================== // TOP NAVIGATION // ============================================================================================== void drawTopNavigation() { fill(10, 14, 22, 220); stroke(35, 50, 75); strokeWeight(1); rect(0, 0, width, 55); if (showTheoryInfoModal) { fill(0, 220, 255); } else { fill(20, 32, 48); } stroke(0, 220, 255); strokeWeight(1.5f); rect(15, 10, 180, 35, 8); if (showTheoryInfoModal) { fill(10, 15, 20); } else { fill(0, 220, 255); } textAlign(CENTER, CENTER); textSize(11); text("📖 THEORIE & MODELLE", 105, 27); fill(200); textSize(11); textAlign(CENTER, CENTER); text("DTIM-ZEC COSMOLOGICAL ENGINE v2.0", width / 2.0f, 27); if (isExpertModeActive) { fill(255, 180, 0); } else { fill(20, 32, 48); } stroke(255, 180, 0); strokeWeight(1.5f); rect(width - 185, 10, 170, 35, 8); if (isExpertModeActive) { fill(10, 15, 20); } else { fill(255, 180, 0); } textAlign(CENTER, CENTER); textSize(11); text("⚡ EXPERTENMODUS " + (isExpertModeActive ? "[DAMTP]" : "[AUS]"), width - 100, 27); textAlign(LEFT, TOP); } // ============================================================================================== // FIELD INTEGRATOR // ============================================================================================== void updateCameraAutopilot() { if (autoCameraActive) { if (currentPhase == 0) { targetZoom = 1.0f; targetCamX = width/2.0f + sin(timeSec)*15.0f; targetCamY = 220.0f; } else if (currentPhase == 1) { targetZoom = 1.4f; targetCamX = width/2.0f + sin(timeSec*2.0f)*25.0f; targetCamY = 220.0f; } else if (currentPhase == 2) { targetZoom = 0.9f; targetCamX = width/2.0f; targetCamY = 220.0f; } else if (currentPhase == 3) { targetZoom = 2.1f; targetCamX = width/2.0f + sin(timeSec*1.5f)*20.0f; targetCamY = 220.0f; } else if (currentPhase == 4) { targetZoom = 1.6f; targetCamX = width/2.0f + sin(timeSec*2.5f)*30.0f; targetCamY = 220.0f; } else if (currentPhase == 5) { targetZoom = 1.1f; targetCamX = width/2.0f; targetCamY = 220.0f; } else if (currentPhase == 6) { targetZoom = 0.85f; targetCamX = width/2.0f + cos(timeSec*0.5f)*40.0f; targetCamY = 220.0f; } else if (currentPhase == 7) { targetZoom = 1.8f; targetCamX = width/2.0f + random(-3.0f, 3.0f); targetCamY = 220.0f + random(-3.0f, 3.0f); } zoomFactor = lerp(zoomFactor, targetZoom, 0.04f); cameraX = lerp(cameraX, targetCamX, 0.05f); cameraY = lerp(cameraY, targetCamY, 0.05f); } } void renderDtimSpaceTimeField() { maxFieldAmplitude = 0.0f; float entropySum = 0.0f; for (int i = 0; i < latticePoints.size(); i++) { HexLatticePoint pt = latticePoints.get(i); float xMod = pt.x * spaceMetricDensity; float yMod = pt.y * spaceMetricDensity; float w1 = sin(xMod + timeSec); float w2 = sin((xMod * 0.5f + yMod * 0.866f) - timeSec * 1.1f); float w3 = sin((xMod * 0.5f - yMod * 0.866f) + timeSec * 0.6f); float fieldVal = (w1 + w2 + w3) / 3.0f; if (abs(fieldVal) > maxFieldAmplitude) { maxFieldAmplitude = abs(fieldVal); } entropySum += pow(fieldVal, 2.0f); if (currentPhase == 0) { float c = map(fieldVal, -1.0f, 1.0f, 0.0f, 60.0f); fill(c * 0.1f, c * 0.2f, c, 25.0f); noStroke(); rect(pt.x, pt.y, 25.0f, 25.0f); } else if (currentPhase == 1) { if (fieldVal > matrixCouplingCrit) { stroke(255, 220, 100, 80); strokeWeight(1.2f); line(pt.x, pt.y, pt.x + random(-18.0f, 18.0f), pt.y + random(-18.0f, 18.0f)); } } else if (currentPhase >= 2) { if (fieldVal > (matrixCouplingCrit - 0.25f)) { if (isExpertModeActive) { stroke(0, 180, 255, 45); } else { stroke(0, 180, 255, 25); } strokeWeight(1.0f); noFill(); beginShape(); for (int k = 0; k < 6; k++) { float angle = PI / 3.0f * k; vertex(pt.x + cos(angle) * 18.0f, pt.y + sin(angle) * 18.0f); } endShape(CLOSE); } } if (currentPhase == 7 && random(1.0f) > 0.94f) { fill(0, 255, 200, 200); noStroke(); ellipse(pt.x + random(10.0f), pt.y + random(10.0f), 3.0f, 3.0f); } } topologicalEntropy = (entropySum / 1400.0f) * spaceMetricDensity * 100.0f; } void updateAndDrawEntities() { float centerX = width / 2.0f; float centerY = 220.0f; if (currentPhase == 0) { fill(0, 150, 255, 120); stroke(255, 80); strokeWeight(1.0f); ellipse(centerX, centerY, 30, 30); } else if (currentPhase == 1) { fill(255, 200, 0); noStroke(); ellipse(centerX - 15, centerY, 8, 8); fill(0, 200, 255); ellipse(centerX + 15, centerY, 8, 8); } else if (currentPhase == 2) { stroke(0, 255, 180, 200); strokeWeight(2.0f); noFill(); ellipse(centerX, centerY, 48, 46); } else if (currentPhase == 3) { stroke(0, 200, 255, 140); strokeWeight(1.5f); noFill(); ellipse(centerX, centerY, 54, 54); fill(255, 60, 60); noStroke(); ellipse(centerX + sin(timeSec * 6.0f) * 14.0f, centerY + cos(timeSec * 6.0f) * 14.0f, 10, 10); ellipse(centerX + sin(timeSec * 6.0f + TWO_PI/3.0f) * 14.0f, centerY + cos(timeSec * 6.0f + TWO_PI/3.0f) * 14.0f, 10, 10); fill(60, 120, 255); ellipse(centerX + sin(timeSec * 6.0f + 2.0f*TWO_PI/3.0f) * 14.0f, centerY + cos(timeSec * 6.0f + 2.0f*TWO_PI/3.0f) * 14.0f, 10, 10); } else if (currentPhase == 4) { stroke(255, 255, 0); strokeWeight(2.0f); line(centerX - 40, centerY, centerX + 40, centerY); fill(255, 100, 100); noStroke(); ellipse(centerX, centerY, 16, 16); } else if (currentPhase == 5) { stroke(0, 180, 255, 150); strokeWeight(1.2f); noFill(); ellipse(centerX, centerY, 90, 90); fill(220, 50, 50); noStroke(); ellipse(centerX, centerY, 20, 20); fill(40, 140, 255); ellipse(centerX + cos(timeSec*3.0f)*45.0f, centerY + sin(timeSec*3.0f)*45.0f, 8, 8); } else if (currentPhase == 6) { stroke(0, 255, 180, 100); strokeWeight(1.5f); noFill(); for (int r = 20; r < 100; r += 20) { ellipse(centerX, centerY, r * 2, r * 0.8f); } } else if (currentPhase == 7) { noFill(); stroke(0, 255, 200, 220); strokeWeight(2.0f); ellipse(centerX, centerY, 30 + sin(timeSec*8.0f)*10.0f, 30 + sin(timeSec*8.0f)*10.0f); } for (int i = energyFluctuations.size() - 1; i >= 0; i--) { EnergyFluctuation ef = energyFluctuations.get(i); if (!isSimulationPaused) { ef.update(); } ef.display(); if (ef.isDead) { energyFluctuations.remove(i); } } } // ============================================================================================== // WEB HUD & INTERFACE RENDERER // ============================================================================================== void drawWebHudInterface() { fill(14, 18, 26); noStroke(); rect(0, 470, width, 230); stroke(35, 50, 70); strokeWeight(1); line(0, 470, width, 470); fill(0, 255, 200); textSize(14); textAlign(LEFT, TOP); text(cosmicPhases[currentPhase].title, 25, 485); fill(230); textSize(11); text(cosmicPhases[currentPhase].factText, 25, 510, 480, 55); fill(130, 160, 190); textSize(10); text(cosmicPhases[currentPhase].damtpRef, 25, 568, 480, 50); drawSlider(540, 500, "RAUM-METRIK DENSITY", map(spaceMetricDensity, 0.003f, 0.028f, 0.0f, 1.0f)); drawSlider(540, 545, "TAKT-RATE U_clock (Zeit)", map(clockFrequency, 0.0f, 0.035f, 0.0f, 1.0f)); drawSlider(540, 590, "I_crit MATRIX-SCHWELLE", map(matrixCouplingCrit, 0.15f, 0.75f, 0.0f, 1.0f)); fill(90, 110, 130); textSize(10); text("LIVE DTIM METRIKEN:", 25, 625); fill(220); textSize(11); text("Etappe: " + (currentPhase + 1) + " / 8 | Entropie S_k: " + nf(topologicalEntropy, 2, 2), 25, 642); text("Kamera: " + (autoCameraActive ? "AUTOPILOT" : "MANUELL"), 240, 642); fill(0, 200, 130); rect(540, 625, 135, 45, 6); fill(255); textAlign(CENTER, CENTER); textSize(11); text("NÄCHSTE ETAPPE ▶", 607, 647); if (autoCameraActive) { fill(35, 65, 120); } else { fill(180, 40, 40); } rect(690, 625, 135, 45, 6); fill(255); text(autoCameraActive ? "🛰️ FREI FLIEGEN" : "🎬 AUTOPILOT", 757, 647); textAlign(LEFT, TOP); } void drawSlider(float x, float y, String label, float percent) { fill(120, 140, 160); textSize(10); text(label, x, y - 14); stroke(35, 45, 60); strokeWeight(5); line(x, y, x + 280, y); stroke(0, 255, 200); strokeWeight(9); point(x + percent * 280, y); strokeWeight(1); } // ============================================================================================== // MODAL DIALOGS // ============================================================================================== void drawTheoryInfoModalDialog() { fill(0, 0, 0, 220); rect(0, 0, width, height); float modalW = 740.0f; float modalH = 570.0f; float modalX = (width - modalW) / 2.0f; float modalY = (height - modalH) / 2.0f; fill(16, 22, 34); stroke(0, 220, 255); strokeWeight(2); rect(modalX, modalY, modalW, modalH, 12); fill(0, 220, 255); textSize(15); textAlign(CENTER, TOP); text("📖 DTIM-ZEC THEORIE & KOSMOLOGISCHE EVOLUTION", modalX + modalW / 2.0f, modalY + 18); fill(220); textSize(10); textAlign(LEFT, TOP); float textY = modalY + 50; fill(255, 180, 0); textSize(11); text("1. DIE DTIM-ZEC THEORIE (DISCRETE TOPOLOGICAL INFORMATION MATRIX):", modalX + 25, textY); textY += 18; fill(200); text("• Graphentopologie Gamma = (V,E): Raumzeit ist kein Kontinuum, sondern ein diskretes 120°-Hexagonalgitter.\n• Zero-Net-Energy Constraint (ZEC): Tr(rho_0 H_hat) = 0.000000 eV. Die Gesamtenergie des Kosmos ist exakt Null.\n• Feldgleichung: L_Gamma Psi_ij - Lambda_0 gamma_ij = (8piG / c^4) * I_ij mit Graph Laplacian L_Gamma = D - A.\n• Singularitäts-Auflösung: Bei I_max = c^5 / (G*hbar) erfolgt ein topologischer Phasenübergang.", modalX + 25, textY); textY += 65; fill(0, 255, 180); textSize(11); text("2. UNTERSCHIEDE ZU ETABLIERTEN PHYSIKALISCHEN MODELLEN:", modalX + 25, textY); textY += 18; fill(200); text("a) Allgemeine Relativitätstheorie (ART / Einstein):\n • ART: Kontinuierliche 4D-Raumzeit mit differentieller Krümmung; bildet unendliche Singularitäten (r=0).\n • DTIM: Diskrete Hintergrundunabhängigkeit; maximale Informationsdichte I_max verhindert Singularitäten.\n\nb) Standardmodell der Elementarteilchenphysik (SM):\n • SM: Punktförmige Teilchen / Quantenfelder in fester Raumzeit; Dunkle Materie wird neu postuliert.\n • DTIM: Hadronen/Quarks sind topologische Sub-Knoten (Wirbel). Gravitation entsteht aus Gitterzugdruck.\n\nc) Kosmologische Urknall-Inflation (FLRW-Metrik):\n • Standard: Erfordert hypothetisches Inflatonfeld für exponentielle Raumausdehnung.\n • DTIM: Inflation ergibt sich als informatische Entropieminimierung S_k des primordialen Vakuums.", modalX + 25, textY); fill(0, 180, 120); rect(modalX + modalW / 2.0f - 90, modalY + modalH - 50, 180, 38, 8); fill(10, 20, 15); textSize(12); textAlign(CENTER, CENTER); text("SCHLIESSEN [X]", modalX + modalW / 2.0f, modalY + modalH - 31); } void drawExpertWarningModalDialog() { fill(0, 0, 0, 210); rect(0, 0, width, height); float modalW = 580.0f; float modalH = 310.0f; float modalX = (width - modalW) / 2.0f; float modalY = (height - modalH) / 2.0f; fill(20, 26, 38); stroke(255, 180, 0); strokeWeight(2); rect(modalX, modalY, modalW, modalH, 12); fill(255, 180, 0); textSize(15); textAlign(CENTER, TOP); text("[!] HINWEIS: DAMTP EXPERTENMODUS - URKNALL METRIK", modalX + modalW / 2.0f, modalY + 20); fill(220); textSize(11); textAlign(LEFT, TOP); text("Der Expertenmodus aktiviert die geschlossene cosmological Matrix-Auswertung:\n\n• Discrete Graph Laplacian L_Gamma = D - A über das 120°-Raumzeit-Netz\n• Hubble-Expansionsparameter H(t) & Informationstensor I_ij\n• Invariante ZEC-Erhaltung: Tr(rho_0 * H_hat) = 0.000000 eV zu jedem Zeitpunkt\n\n💡 TIPP (FREIE RAUMZEIT-NAVIGATION):\nKlicke auf 'FREI FLIEGEN', um mit gedrückter Maustaste frei durch das expandierende\nUniversum zu navigieren und Feldspannungen an beliebigen Koordinaten zu messen.", modalX + 30, modalY + 55); fill(0, 180, 120); rect(modalX + 80, modalY + 240, 180, 45, 8); fill(10, 20, 15); textSize(13); textAlign(CENTER, CENTER); text("AKTIVIEREN", modalX + 170, modalY + 262); fill(100, 40, 40); rect(modalX + 320, modalY + 240, 180, 45, 8); fill(255); textSize(13); textAlign(CENTER, CENTER); text("ABBRECHEN", modalX + 410, modalY + 262); } // ============================================================================================== // EXPERT MODE: CLOSED COSMOLOGICAL MATRIX SOLVER // ============================================================================================== class CosmicMatrixSolver { float[][] laplacianMatrix = new float[6][6]; void computeAndDrawClosedModel() { for (int i = 0; i < 6; i++) { float deg = 0.0f; for (int j = 0; j < 6; j++) { if (i != j) { float w = 1.0f / (1.0f + abs(i - j) * 0.8f); laplacianMatrix[i][j] = -w; deg += w; } } laplacianMatrix[i][i] = deg; } float panelX = 20.0f; float panelY = 350.0f; float panelW = width - 40.0f; float panelH = 115.0f; fill(12, 16, 24, 210); stroke(0, 220, 255, 180); strokeWeight(1.2f); rect(panelX, panelY, panelW, panelH, 8); fill(0, 220, 255); textSize(11); textAlign(LEFT, TOP); text("CLOSED COSMOLOGICAL MODEL: GRAPH LAPLACIAN L_Gamma = D - A", panelX + 12, panelY + 8); fill(200); textSize(9); text("Hubble Exp-Parameter H(t) = " + nf(clockFrequency * 67.4f, 2, 2) + " km/s/Mpc", panelX + 12, panelY + 26); text("Field EQ: L_Gamma * Psi_ij - Lambda_0 * gamma_ij = (8piG/c^4) * I_ij", panelX + 12, panelY + 40); text("Taktungs-Frequenz U_clock: " + nf(clockFrequency, 1, 3) + " Hz", panelX + 12, panelY + 54); fill(0, 255, 180); text("Singularitäts-Auflösung (I_max Limit): INVARIANT OK", panelX + 12, panelY + 70); stroke(40, 60, 80); fill(8, 12, 18); rect(panelX + 320, panelY + 8, 260, 98, 4); fill(0, 255, 180); textSize(9); text("Laplacian Metric Submatrix [L_ij] (6x6):", panelX + 325, panelY + 12); fill(200); for (int r = 0; r < 6; r++) { String rowStr = ""; for (int c = 0; c < 6; c++) { float val = laplacianMatrix[r][c]; rowStr += (val >= 0 ? " " : "") + nf(val, 1, 1) + " "; } text(rowStr, panelX + 325, panelY + 25 + r * 12); } fill(8, 12, 18); rect(panelX + 590, panelY + 8, panelW - 600, 98, 4); fill(255, 180, 0); textSize(9); text("ZEC Cosmological Verification:", panelX + 595, panelY + 12); fill(0, 255, 180); text("Tr(rho_0 * H_hat) = 0.000000 eV", panelX + 595, panelY + 28); fill(200); text("Vacuum Expectation: EXACT ZERO", panelX + 595, panelY + 44); text("Spatial Metric: 120° Waben-L_Gamma", panelX + 595, panelY + 60); fill(0, 220, 255); text("Etappe: " + (currentPhase + 1) + " / 8 Aktiv", panelX + 595, panelY + 76); } } // ============================================================================================== // SUPPORTING CLASSES // ============================================================================================== class CosmicPhase { String title, factText, damtpRef; CosmicPhase(String title, String factText, String damtpRef) { this.title = title; this.factText = factText; this.damtpRef = damtpRef; } } class HexLatticePoint { float x, y; HexLatticePoint(float x, float y) { this.x = x; this.y = y; } } class EnergyFluctuation { float x, y, vx, vy; int life = 180; boolean isDead = false; EnergyFluctuation(float x, float y) { this.x = x; this.y = y; float angle = random(TWO_PI); float speed = random(1.0f, 3.5f); this.vx = cos(angle) * speed; this.vy = sin(angle) * speed; } void update() { x += vx; y += vy; life -= 3; if (life <= 0) { isDead = true; } } void display() { stroke(255, 200, 0, life); strokeWeight(1.5f); noFill(); ellipse(x, y, 6.0f, 6.0f); } } class CosmicVortex { float x, y, radius, charge; CosmicVortex(float x, float y, float charge) { this.x = x; this.y = y; this.charge = charge; this.radius = 20.0f; } void display() { stroke(0, 220, 255, 180); strokeWeight(1.5f); noFill(); ellipse(x, y, radius * 2.0f, radius * 2.0f); } } // ============================================================================================== // INIT METHODS // ============================================================================================== void initLatticeGrid() { latticePoints.clear(); int step = 28; for (int x = -150; x < width + 150; x += step) { for (int y = -100; y < 550; y += step) { latticePoints.add(new HexLatticePoint((float)x, (float)y)); } } } void initCosmicPhases() { cosmicPhases[0] = new CosmicPhase( "1. PRIMORDIALES VAKUUM (t < 0 | Tr(rho_0 H_hat) = 0.0 eV)", "Prä-Raumzeitlicher Zustand: Reine informationelle Beziehungsmatrix im unendlich-dimensionalen Hilbert-Raum H_V. Es gibt noch kein Raumkontinuum.", "DAMTP Ref: 'The global Hamiltonian H_hat acts on the vacuum state such that Tr(rho_0 H_hat) = 0.' (§1.2)" ); cosmicPhases[1] = new CosmicPhase( "2. GENESIS & QUANTEN-POLARISATION (t = 0 | Planck-Ära)", "Erste lokale Matrix-Störung: Eine +E Feldanregung erzeugt instantan einen verschränkten -E Gegenzustand. Die Vakuum-Trivialität bleibt erhalten.", "DAMTP Ref: 'Localized excitations (+E) are rigorously balanced by instantaneous anti-negative counter-states (-E).' (§1.2)" ); cosmicPhases[2] = new CosmicPhase( "3. TOPOLOGISCHE INFLATION & 120°-KRISTALLISATION (t = 10^-36 s)", "Minimierung der Informationsentropie: Das diskrete Netzwerk ordnet sich in eine lückenlose 120°-Wabenstruktur (Triatons) an. Raum entsteht relational.", "DAMTP Ref: 'Geodesic metric distance D_ij emerges from shortest-path edge integration across Gamma.' (§2.1)" ); cosmicPhases[3] = new CosmicPhase( "4. QUARK-GLUON-KONDENSATION & HADRONEN (t = 10^-6 s)", "Lokale Sättigung (I > I_crit): Drei topologische Sub-Knoten koppeln über SU(3)-Farbladungswinkel (120°) zu stabilen Protonen (u,u,d) und Neutronen (u,d,d).", "DAMTP Ref: 'Sub-node triatons form bound hadronic vortices stabilized by asymptotic lattice tension.' (§2.3)" ); cosmicPhases[4] = new CosmicPhase( "5. NUKLEOSYNTHESE & PAARVERNICHTUNG (t = 3 Min)", "Protonen und Neutronen verschmelzen zu leichten Kernen (He-4). Positronen und Elektronen vernichten sich zu Back-to-Back Gamma-Photonen (e+ + e- -> 2 Gamma).", "DAMTP Ref: 'Positron annihilation channel releases correlated photon pairs, updating counter-state densities.' (§1.2)" ); cosmicPhases[5] = new CosmicPhase( "6. REKOMBINATION & HÜLLEN-CAPTURE (t = 380.000 Jahre)", "Entkopplung der kosmischen Hintergrundstrahlung (CMB): Atomkerne fangen Elektronen fest in Orbit-Schalen ein. Die Raumzeit wird transparent.", "DAMTP Ref: 'Subsystem self-observation experiences wave-function collapse via environment decoupling.' (§1.3)" ); cosmicPhases[6] = new CosmicPhase( "7. GALAKTISCHE STRUKTURBILDUNG & MOND (t = 13.8 Mrd. Jahre)", "Fällt I_ij unter I_crit, wechselt L_Gamma von 3D-Volumen- zu 2D-Flächenskalierung. Dies erzeugt flache Rotationskurven ohne Dunkle Materie.", "DAMTP Ref: 'g(r) = g_Newton + g_stress = GM/r^2 + sqrt(G*M*a_0)/r analytically resolves galactic rotation.' (§2.3)" ); cosmicPhases[7] = new CosmicPhase( "8. I_MAX SINGULARITÄTS-SÄTTIGUNG & REORGANISATION (t -> Inf)", "Absolutes Informationsdichte-Limit I_max = c^5/(G*hbar): Verhindert Gravitationssingularitäten (r->0) und erzwingt eine topologische Umverteilung.", "DAMTP Ref: 'At I_max saturation, the Graph Laplacian encounters a computational inversion, resolving infinities.' (§3.2)" ); }