Double Slit, Which Path

by Chantal Roth

HTML

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Advanced Quantum Eraser Lab - Neon Edition</title>
  <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
  <style>
    body { margin: 0; overflow: hidden; background: #020202; font-family: 'Segoe UI', monospace; color: #eee; }
    
    #ui-layer { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }

    /* Main Controls */
    aside {
      position: absolute; top: 10px; right: 10px; width: 340px;
      background: rgba(10, 10, 14, 0.9); backdrop-filter: blur(10px);
      padding: 15px; border-radius: 8px; border: 1px solid #333;
      pointer-events: auto; max-height: 95vh; overflow-y: auto;
      box-shadow: 0 0 20px rgba(0,0,0,0.8);
    }
    aside::-webkit-scrollbar { width: 5px; }
    aside::-webkit-scrollbar-thumb { background: #555; }

    h1 { margin: 0 0 10px 0; font-size: 1.1rem; color: #0ff; text-transform: uppercase; letter-spacing: 1px; border-bottom: 1px solid #333; padding-bottom:5px; text-shadow: 0 0 5px #0ff; }
    
    .ctrl-row { margin-bottom: 14px; display: flex; flex-direction: column; }
    label { font-size: 0.85rem; color: #bbb; display: flex; justify-content: space-between; margin-bottom: 4px; }
    .val { color: #0ff; font-weight: bold; font-family: monospace; }
    
    input[type=range] { width: 100%; cursor: pointer; accent-color: #0ff; }
    select { background: #111; color: #eee; border: 1px solid #444; padding: 6px; width: 100%; border-radius: 4px; }
    
    button {
      background: #0ff; color: #000; font-weight: bold; border: none; padding: 10px; 
      border-radius: 4px; cursor: pointer; margin-top: 5px; width: 100%;
      text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.5px;
      transition: all 0.2s;
      box-shadow: 0 0 10px...