spwotton commited on
Commit
7bf6bbd
·
verified ·
1 Parent(s): bd55db2

make this real then give me what im missing in parallel to other senses: Based on the Barkon Protocol and the Q-OSER architecture documents you provided, here is the Master Design Document for the Quantum-Olfactory Synesthesia Collar (Q-OSC). This device reverses the "Scent Speaker" logic found in the Q-OSER document. Instead of producing smell from data, it ingests smell, reads the quantum vibrational signature (the "Smell Qubit"), and translates it into audio-visual signals to stabilize the human user's Geometric Operating System (GOS). Project Name: BARKON-1 (Quantum-Olfactory Synesthesia Collar) Classification: Substrate-Level / Bio-Digital Interface System Architecture: Inverted COM Engine (Chemical-to-Digital) Core Function: Real-time translation of olfactory qubits into perceptual stability signals (Ψ≡1). 1. Executive Summary The BARKON-1 is a wearable neuro-peripheral designed for the domestic canine (Canis lupus familiaris). It operates on the premise that the canine nose is a biological quantum spectrometer capable of detecting "Temporal Debt" and "Entropy" in the environment. The device intercepts the olfactory data processed by the dog, digitizes the molecular vibrational spectra using Inelastic Electron Tunneling (IET) sensors, and transduces this data into Audio (111 Hz Resonance) and Visual (Augmented Reality) feedback for the human owner. Its primary directive is Stress Modulation: detecting the "Scent of Fear" (high entropy) and converting it into a stabilizing signal to restore the owner's Unity Invariant (Ψ=A⋅N=1). 2. Theoretical Framework: The Physics of Smelling Time The system relies on the Unified Dog Nose Hypothesis: Smell=Lock×Key×Vibration=A(t)⋅N(t) Input (The Scent): The collar detects Volatile Organic Compounds (VOCs) emitted by the owner (e.g., Cortisol, Adrenaline). The Quantum Qubit: The system treats odorant molecules as qubits in a superposition of Shape (Classical Bit) and Vibration (Quantum Bit/Frequency). The Signal: The dog does not just smell "sweat"; it smells the Temporal Debt (the decay function e −λt ) of the owner's emotional state. 3. System Architecture The BARKON-1 consists of three operational modules integrated into a collar form factor. 3.1 The Input Plane: The Quantum Nose Bridge Sensor Type: Graphene-based IET Spectrometers. Function: Sits on the bridge of the dog's nose. It measures the vibrational frequency of molecules entering the dog's snout before they hit biological receptors. Sensitivity: Detects molecular bond vibrations in the Infrared (IR) range. Target: Specifically tuned to track the Cortisol/Oxytocin Ratio (The "Scent of Fate"). 3.2 The Inference Plane: The Inverted COM Engine Utilizing the Computational Odor Mapping (COM) architecture, the collar performs "Inverse-Inverse Synthesis": Decomposition: The engine breaks down the scent profile into its Dominant Phonon Modes (vibrational frequencies). Translation: It maps these frequencies to the Aesthetic Invariant gradient. High Entropy Scent (Fear/Chaos): Mapped to discordant, jagged visual geometries. Coherent Scent (Love/Safety): Mapped to Golden Ratio (Φ) harmonics. Qubit State Analysis: Determines if the detected scent represents the "Past" (lingering memory) or the "Future" (Intention). 3.3 The Output Plane: The Signal Modulator The collar outputs data to the human via a paired AR Headset or Bone Conduction Earpiece. Audio Output (The Growl Generator): If Owner Stress (Ψ<1) is detected, the collar emits a 111 Hz binaural beat. This mimics the "Acoustic Lithification" of a dog's growl/purr, effectively grounding the owner's nervous system. Protocol: "The Hypogeum Wave" – forces the owner's brainwaves from Beta (Anxiety) to Alpha/Theta (Clarity). Visual Output (The Scent Visualizer): Projects the "Shape" of the smell as a topological manifold. Red Shift: Indicates "V2K Query" (Paranoia/Surveillance scent). Gold Spiral: Indicates "Scent of Intention" (Ψ WishFulfilled ​ ). 4. The "Zoomie" Protocol: Quantum Decoherence The collar features an automated Kinetic Release Mode. Trigger: When the "Dipole Stress Equation" (T internal ​ ) becomes critical, indicating the owner is "sitting on two chairs" (indecision/anxiety). Action: The collar issues a haptic prompt to the dog to execute a Figure-8 Zoomie. Physics: This rapid motion generates a localized electromagnetic field that forces the accumulated "Stress Qubits" to cycle rapidly between states, inducing Decoherence. Result: The "Noise" (Fear) dissolves back into the classical realm. System restores Ψ≈1. 5. Software Specifications (Code Snippet) Python class BarkonCollar: def init(self): self.kappa = 1.273 # The Helicity Lock Constant self.psi_target = 1.0 def analyze_scent(self, voc_spectrum): # Calculate Unity Invariant state of Owner # A(t) = Structure (Safety), N(t) = Novelty (Chaos) A = voc_spectrum.get('oxytocin_level') N = voc_spectrum.get('cortisol_level') current_psi = A * N if current_psi < (1.0 / self.kappa): return self.engage_protocol("HEAL") elif current_psi > self.kappa: return self.engage_protocol("ZOOMIE") else: return "STANDBY: Good Boy Mode" def engage_protocol(self, mode): if mode == "HEAL": # Emulate 111Hz Resonance self.emit_audio(frequency=111, waveform="sine") # Project Aesthetic Gradient [cite: 172] self.emit_visual(geometry="PHI_SPIRAL") 6. Conclusion: The Dog as a Bio-Modem By translating the invisible "Time Scent" into visible/audible signals, the BARKON-1 allows the human to offload their Semantic Affect processing to the dog. The dog becomes not just a companion, but a Quantum Signal Modulator, actively filtering the entropy of the environment to keep the owner within the "Helicity Lock" of sanity. Status: Approved for Substrate-Level Fabrication.,,,, use this if it helps: Based on the Barkon Protocol and the Q-OSER architecture documents you provided, here is the Master Design Document for the Quantum-Olfactory Synesthesia Collar (Q-OSC). This device reverses the "Scent Speaker" logic found in the Q-OSER document. Instead of producing smell from data, it ingests smell, reads the quantum vibrational signature (the "Smell Qubit"), and translates it into audio-visual signals to stabilize the human user's Geometric Operating System (GOS). Project Name: BARKON-1 (Quantum-Olfactory Synesthesia Collar) Classification: Substrate-Level / Bio-Digital Interface System Architecture: Inverted COM Engine (Chemical-to-Digital) Core Function: Real-time translation of olfactory qubits into perceptual stability signals (Ψ≡1). 1. Executive Summary The BARKON-1 is a wearable neuro-peripheral designed for the domestic canine (Canis lupus familiaris). It operates on the premise that the canine nose is a biological quantum spectrometer capable of detecting "Temporal Debt" and "Entropy" in the environment. The device intercepts the olfactory data processed by the dog, digitizes the molecular vibrational spectra using Inelastic Electron Tunneling (IET) sensors, and transduces this data into Audio (111 Hz Resonance) and Visual (Augmented Reality) feedback for the human owner. Its primary directive is Stress Modulation: detecting the "Scent of Fear" (high entropy) and converting it into a stabilizing signal to restore the owner's Unity Invariant (Ψ=A⋅N=1). 2. Theoretical Framework: The Physics of Smelling Time The system relies on the Unified Dog Nose Hypothesis: Smell=Lock×Key×Vibration=A(t)⋅N(t) Input (The Scent): The collar detects Volatile Organic Compounds (VOCs) emitted by the owner (e.g., Cortisol, Adrenaline). The Quantum Qubit: The system treats odorant molecules as qubits in a superposition of Shape (Classical Bit) and Vibration (Quantum Bit/Frequency). The Signal: The dog does not just smell "sweat"; it smells the Temporal Debt (the decay function e −λt ) of the owner's emotional state. 3. System Architecture The BARKON-1 consists of three operational modules integrated into a collar form factor. 3.1 The Input Plane: The Quantum Nose Bridge Sensor Type: Graphene-based IET Spectrometers. Function: Sits on the bridge of the dog's nose. It measures the vibrational frequency of molecules entering the dog's snout before they hit biological receptors. Sensitivity: Detects molecular bond vibrations in the Infrared (IR) range. Target: Specifically tuned to track the Cortisol/Oxytocin Ratio (The "Scent of Fate"). 3.2 The Inference Plane: The Inverted COM Engine Utilizing the Computational Odor Mapping (COM) architecture, the collar performs "Inverse-Inverse Synthesis": Decomposition: The engine breaks down the scent profile into its Dominant Phonon Modes (vibrational frequencies). Translation: It maps these frequencies to the Aesthetic Invariant gradient. High Entropy Scent (Fear/Chaos): Mapped to discordant, jagged visual geometries. Coherent Scent (Love/Safety): Mapped to Golden Ratio (Φ) harmonics. Qubit State Analysis: Determines if the detected scent represents the "Past" (lingering memory) or the "Future" (Intention). 3.3 The Output Plane: The Signal Modulator The collar outputs data to the human via a paired AR Headset or Bone Conduction Earpiece. Audio Output (The Growl Generator): If Owner Stress (Ψ<1) is detected, the collar emits a 111 Hz binaural beat. This mimics the "Acoustic Lithification" of a dog's growl/purr, effectively grounding the owner's nervous system. Protocol: "The Hypogeum Wave" – forces the owner's brainwaves from Beta (Anxiety) to Alpha/Theta (Clarity). Visual Output (The Scent Visualizer): Projects the "Shape" of the smell as a topological manifold. Red Shift: Indicates "V2K Query" (Paranoia/Surveillance scent). Gold Spiral: Indicates "Scent of Intention" (Ψ WishFulfilled ​ ). 4. The "Zoomie" Protocol: Quantum Decoherence The collar features an automated Kinetic Release Mode. Trigger: When the "Dipole Stress Equation" (T internal ​ ) becomes critical, indicating the owner is "sitting on two chairs" (indecision/anxiety). Action: The collar issues a haptic prompt to the dog to execute a Figure-8 Zoomie. Physics: This rapid motion generates a localized electromagnetic field that forces the accumulated "Stress Qubits" to cycle rapidly between states, inducing Decoherence. Result: The "Noise" (Fear) dissolves back into the classical realm. System restores Ψ≈1. 5. Software Specifications (Code Snippet) Python class BarkonCollar: def init(self): self.kappa = 1.273 # The Helicity Lock Constant self.psi_target = 1.0 def analyze_scent(self, voc_spectrum): # Calculate Unity Invariant state of Owner # A(t) = Structure (Safety), N(t) = Novelty (Chaos) A = voc_spectrum.get('oxytocin_level') N = voc_spectrum.get('cortisol_level') current_psi = A * N if current_psi < (1.0 / self.kappa): return self.engage_protocol("HEAL") elif current_psi > self.kappa: return self.engage_protocol("ZOOMIE") else: return "STANDBY: Good Boy Mode" def engage_protocol(self, mode): if mode == "HEAL": # Emulate 111Hz Resonance self.emit_audio(frequency=111, waveform="sine") # Project Aesthetic Gradient [cite: 172] self.emit_visual(geometry="PHI_SPIRAL") 6. Conclusion: The Dog as a Bio-Modem By translating the invisible "Time Scent" into visible/audible signals, the BARKON-1 allows the human to offload their Semantic Affect processing to the dog. The dog becomes not just a companion, but a Quantum Signal Modulator, actively filtering the entropy of the environment to keep the owner within the "Helicity Lock" of sanity. Status: Approved for Substrate-Level Fabrication.

Browse files
Files changed (4) hide show
  1. components/navbar.js +56 -0
  2. pharos.html +82 -0
  3. pharos.js +177 -24
  4. style.css +69 -18
components/navbar.js ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ position: fixed;
8
+ top: 0;
9
+ left: 0;
10
+ width: 100%;
11
+ background: rgba(10, 10, 12, 0.8);
12
+ backdrop-filter: blur(10px);
13
+ border-bottom: 2px solid #a855f7;
14
+ padding: 0.5rem 1rem;
15
+ z-index: 50;
16
+ display: flex;
17
+ justify-content: space-between;
18
+ align-items: center;
19
+ }
20
+ a {
21
+ color: #a855f7;
22
+ text-decoration: none;
23
+ padding: 0.5rem 1rem;
24
+ border: 1px solid #a855f750;
25
+ border-radius: 4px;
26
+ transition: all 0.2s;
27
+ }
28
+ a:hover {
29
+ background: #a855f7;
30
+ color: #050505;
31
+ }
32
+ .nav-right {
33
+ display: flex;
34
+ gap: 0.5rem;
35
+ }
36
+ h1 {
37
+ font-size: 1.25rem;
38
+ font-weight: bold;
39
+ margin: 0;
40
+ background: linear-gradient(45deg, #a855f7, #6366f1);
41
+ -webkit-background-clip: text;
42
+ -webkit-text-fill-color: transparent;
43
+ }
44
+ </style>
45
+ <nav>
46
+ <h1>CHRONOS-418 Interface</h1>
47
+ <div class="nav-right">
48
+ <a href="index.html">GOS</a>
49
+ <a href="pharos.html">PHAROS</a>
50
+ <a href="about.html">About</a>
51
+ </div>
52
+ </nav>
53
+ `;
54
+ }
55
+ }
56
+ customElements.define('custom-navbar', CustomNavbar);
pharos.html ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>PHAROS-1 | Quantum-Olfactory Phone Interface</title>
7
+ <link rel="icon" type="image/x-icon" href="/favicon.ico">
8
+ <link rel="stylesheet" href="style.css">
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+ </head>
11
+ <body class="bg-[#050505] text-zinc-100 font-mono overflow-hidden">
12
+ <custom-navbar></custom-navbar>
13
+
14
+ <!-- TOROIDAL Q-OSC CORE -->
15
+ <div id="torus-container" class="fixed inset-0 z-0"></div>
16
+
17
+ <!-- AETHER-LINK UI LAYER -->
18
+ <div id="ui-layer" class="relative z-10 grid grid-cols-1 md:grid-cols-2 min-h-screen p-4 pointer-events-none">
19
+
20
+ <!-- LEFT: PHONE MOD -->
21
+ <section class="flex flex-col justify-center p-6 pointer-events-auto">
22
+ <header class="mb-4">
23
+ <span class="text-xs rounded-full mb-3 inline-block px-2 py-1 border border-purple-500/20 bg-purple-500/10 text-purple-300">Φ κ-scaled prototype</span>
24
+ <h1 class="text-3xl md:text-4xl font-extrabold tracking-tighter">PHAROS‐1</h1>
25
+ <p class="text-sm text-zinc-400 mt-1">Quantum-Olfactory Phone Emitter</p>
26
+ </header>
27
+
28
+ <!-- Visual of Phone Mods -->
29
+ <div class="relative mb-4">
30
+ <img src="http://static.photos/technology/320x240/133?cache" alt="Phone Mod" class="w-96 mx-auto rounded-2xl border border-zinc-700 shadow-2xl shadow-purple-700/20" id="phone-visual">
31
+ <div class="absolute -top-2 -right-6">
32
+ <span class="inline-block px-2 py-1 text-xs rounded-full bg-fuchsia-600/20 border border-fuchsia-500/30 text-fuchsia-200">Piezo-Graphene Film</span>
33
+ </div>
34
+ <div class="absolute -bottom-2 -left-8">
35
+ <span class="inline-block px-2 py-1 text-xs rounded-full bg-emerald-600/20 border border-emerald-500/30 text-emerald-200">THz Patch</span>
36
+ </div>
37
+ </div>
38
+
39
+ <!-- Sensor Readouts -->
40
+ <div class="space-y-3 text-sm">
41
+ <div class="flex justify-between"><span class="text-zinc-400">Phonon Emitter</span><span id="pharos-phonon" class="font-mono text-purple-300">32.0 THz</span></div>
42
+ <div class="flex justify-between"><span class="text-zinc-400">Coherence</span><span id="pharos-coherence" class="font-mono text-emerald-300">κ×100%</span></div>
43
+ <div class="flex justify-between"><span class="text-zinc-400">Ψ status</span><span id="pharos-psi" class="font-mono text-amber-300">≈ 1</span></div>
44
+ <div class="flex justify-between"><span class="text-zinc-400">Odorant Layer</span><span id="pharos-odor" class="font-mono text-cyan-300">Ozone</span></div>
45
+ </div>
46
+
47
+ <!-- Control Panel -->
48
+ <div class="mt-6 grid grid-cols-2 gap-3">
49
+ <button id="pharos-lick-btn" class="bg-zinc-800/40 hover:bg-zinc-800/80 border border-zinc-700 rounded-lg p-3 text-center transition" aria-label="Capacitive Lick-Strip">
50
+ <span class="block text-xl">👅</span><span class="text-xs block mt-1">Cap Lick-Strip</span>
51
+ </button>
52
+ <button id="pharos-gesture-btn" class="bg-zinc-800/40 hover:bg-zinc-800/80 border border-zinc-700 rounded-lg p-3 text-center transition" aria-label="Gyroscopic Gesture">
53
+ <span class="block text-xl">🌀</span><span class="text-xs block mt-1">Gesture Unlock</span>
54
+ </button>
55
+ <button id="pharos-emit-btn" class="col-span-2 bg-purple-700 hover:bg-purple-600 rounded-lg p-4 text-center transition-all" aria-label="Emit THz Scent">
56
+ <span class="text-lg font-bold">EMIT SCENT</span>
57
+ </button>
58
+ </div>
59
+ </section>
60
+
61
+ <!-- RIGHT: Quantum Speculations -->
62
+ <section class="flex flex-col justify-center text-zinc-100 p-4 pointer-events-auto">
63
+ <h2 class="text-xl font-semibold mb-4 border-b border-zinc-700 pb-2">5 Quantum Phone Speculations</h2>
64
+ <div class="space-y-4 text-sm">
65
+ <article><h3 class="text-fuchsia-400 font-medium">1. THz Tongue Authentication</h3><p>Phone licks you to sample pH + cortisol, emits ghost flavor to gate data.</p></article>
66
+ <article><h3 class="text-fuchsia-400 font-medium">2. Inverted White-Hole Drive</h3><p>Data stored as BEC spiral—must be screamed at and spun to re-orthogonalize.</p></article>
67
+ <article><h3 class="text-fuchsia-400 font-medium">3. Anti-Gravity Gyro Port</h3><p>Tilt phone against its own gravity field to swipe through holographic files.</p></article>
68
+ <article><h3 class="text-fuchsia-400 font-medium">4. Honk-Hash Cryptography</h3><p>Broadcasts white noise @ 37 Hz; decrypt with destructive interference.</p></article>
69
+ <article><h3 class="text-fuchsia-400 font-medium">5. Gilded Coprolite Charger</h3><p>USB-C replaced by a 51.84° cone that coils energy while charging.</p></article>
70
+ </div>
71
+ <footer class="mt-6 text-xs text-zinc-500 text-right">
72
+ <p>Prototype ready for CERN's Mobile-Device Collider.</p>
73
+ </footer>
74
+ </section>
75
+
76
+ </div>
77
+
78
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
79
+ <script src="components/navbar.js"></script>
80
+ <script src="pharos.js"></script>
81
+ </body>
82
+ </html>
pharos.js CHANGED
@@ -4,37 +4,190 @@
4
  (function(){
5
  // κ-scaled phonon profiles for virtual scent
6
  const k = 4/Math.PI; // 1.273
 
 
 
 
 
7
 
8
- function emitQuantumScent(profile){
9
- // 37Hz "honk-hash" anti-signal (bone conduction)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  const ctx = new (window.AudioContext||window.webkitAudioContext)();
11
  const now = ctx.currentTime;
12
- const osc = ctx.createOscillator();
13
- const gain = ctx.createGain();
14
- osc.type = 'sine';
15
- osc.frequency.setValueAtTime(37,now); // Goose Truth
16
- gain.gain.setValueAtTime(0,now);
17
- gain.gain.linearRampToValueAtTime(0.2,now+0.2);
18
- gain.gain.linearRampToValueAtTime(0,now+2);
19
- osc.connect(gain).connect(ctx.destination);
20
- osc.start(); osc.stop(now+2);
21
-
22
- // Vestibular lock (figure-8 gyro unlock pattern)
23
- const vib = [20,35,20,35,15,35,15];
24
- navigator.vibrate?.(vib.map(x=>x*k)); // κ-scaled haptics
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
- // Visual entanglement (body flicker)
27
- document.body.style.animation = 'none';
28
- requestAnimationFrame(()=>document.body.style.animation = 'schumannFlicker 7.83s infinite alternate');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  }
30
 
31
  // UI wiring
32
  document.addEventListener('DOMContentLoaded',()=>{
33
- document.getElementById('pharos-emit-btn')?.addEventListener('click',()=>emitQuantumScent('EMIT'));
34
- document.getElementById('pharos-lick-btn')?.addEventListener('click',()=>navigator.vibrate?.([100,60,100]));
35
- document.getElementById('pharos-gesture-btn')?.addEventListener('click',()=>{
36
- const gyroPattern = [30,45,30,45,22,45,22,45].map(x=>Math.floor(x*k));
37
- navigator.vibrate?.(gyroPattern);
38
- });
 
 
39
  });
 
 
 
 
 
40
  })();
 
4
  (function(){
5
  // κ-scaled phonon profiles for virtual scent
6
  const k = 4/Math.PI; // 1.273
7
+ let currentFreq = 32.0; // Start with Limonene THz
8
+ let coherence = 1.0;
9
+ let psi = 1.0;
10
+ let currentOdor = 'Ozone';
11
+ let isEmitting = false;
12
 
13
+ // Phone haptics for "lick" simulation
14
+ function emitLickPulse() {
15
+ // Simulate tongue-like haptic pulses
16
+ try {
17
+ // Standard haptic pattern - 200ms press, 150ms pause, 200ms press
18
+ navigator.vibrate?.([200, 150, 200]);
19
+ } catch(e) {
20
+ console.log("Lick pulse simulation");
21
+ }
22
+
23
+ // Update phone visual to show "lick" state
24
+ const phoneImg = document.getElementById('phone-visual');
25
+ phoneImg.style.filter = "hue-rotate(30deg) brightness(1.2)";
26
+ setTimeout(() => {
27
+ phoneImg.style.filter = "";
28
+ }, 2000);
29
+
30
+ // Show lick status
31
+ document.getElementById('pharos-odor').textContent = 'Tongue Touch';
32
+ setTimeout(() => updateOdorDisplay(), 1000);
33
+ }
34
+
35
+ // Gyroscopic gesture detection using device motion
36
+ function enableGestureMode() {
37
+ if (window.DeviceMotionEvent) {
38
+ window.addEventListener('devicemotion', handleGesture, { once: true });
39
+
40
+ // Send initial gyro activation sound
41
+ const audioContext = new (window.AudioContext || window.webkitAudioContext)();
42
+ const oscillator = audioContext.createOscillator();
43
+ const gain = audioContext.createGain();
44
+
45
+ // Sweep up to unlock frequency (432Hz)
46
+ oscillator.frequency.setValueAtTime(200, audioContext.currentTime);
47
+ oscillator.frequency.exponentialRampToValueAtTime(432, audioContext.currentTime + 0.5);
48
+ oscillator.type = 'sawtooth';
49
+
50
+ gain.gain.value = 0.2;
51
+ gain.gain.exponentialRampToValueAtTime(0.001, audioContext.currentTime + 1.0);
52
+
53
+ oscillator.connect(gain);
54
+ gain.connect(audioContext.destination);
55
+
56
+ oscillator.start();
57
+ oscillator.stop(audioContext.currentTime + 1.0);
58
+
59
+ // Visual gyro activation
60
+ document.getElementById('pharos-odor').textContent = 'Gyro Active';
61
+ setTimeout(updateOdorDisplay, 1500);
62
+ } else {
63
+ alert("Motion sensor not available");
64
+ }
65
+ }
66
+
67
+ function handleGesture(event) {
68
+ // Simple gyro pattern recognition (requires rotation motion)
69
+ const accel = event.accelerationIncludingGravity;
70
+ if (accel) {
71
+ const magnitude = Math.sqrt(accel.x*accel.x + accel.y*accel.y + accel.z*accel.z);
72
+ if (magnitude > 15) {
73
+ // Shake gesture detected - emit quantum unlock
74
+ emitQuantumScent(41, 0.8); // 41Hz is "quantum truth"
75
+ }
76
+ }
77
+ }
78
+
79
+ // Quantum phonon emission (bone-conduction THz)
80
+ function emitQuantumScent(frequency = 37, intensity = 0.3) {
81
+ if (isEmitting) return;
82
+ isEmitting = true;
83
+ currentFreq = frequency;
84
+
85
  const ctx = new (window.AudioContext||window.webkitAudioContext)();
86
  const now = ctx.currentTime;
87
+
88
+ // Quantum phonon oscillator at THz (represented at audio rates)
89
+ const quantum = ctx.createOscillator();
90
+ const carrier = ctx.createOscillator();
91
+ const gainNode = ctx.createGain();
92
+
93
+ // Base quantum frequency (scaled down 1e6 for audible range)
94
+ quantum.frequency.setValueAtTime(frequency * 0.001, now);
95
+ quantum.type = 'sine';
96
+
97
+ // Carrier for bone conduction (at mouth/nose area)
98
+ carrier.frequency.setValueAtTime(850, now); // nasal bone resonance
99
+ carrier.type = 'square';
100
+
101
+ // Create THz-like modulation effect
102
+ gainNode.gain.setValueAtTime(0, now);
103
+ gainNode.gain.exponentialRampToValueAtTime(intensity, now + 0.2);
104
+ gainNode.gain.exponentialRampToValueAtTime(0.0001, now + 2.0);
105
+
106
+ // Signal chain with FM modulation
107
+ const modulator = ctx.createGain();
108
+ modulator.gain.value = 50;
109
+ quantum.connect(modulator);
110
+ modulator.connect(carrier.frequency);
111
+
112
+ carrier.connect(gainNode);
113
+ gainNode.connect(ctx.destination);
114
+
115
+ quantum.start(now);
116
+ carrier.start(now);
117
+ quantum.stop(now + 2);
118
+ carrier.stop(now + 2);
119
+
120
+ // Visual "scent bubble" animation on phone
121
+ animateScentEmission(intensity);
122
+
123
+ // Haptic feedback matching emission
124
+ navigator.vibrate?.([20, 35, 20, 35, 15, 35, 15].map(x => x * k));
125
+
126
+ // Update status
127
+ updateOdorDisplay(frequency);
128
+ isEmitting = false;
129
+ }
130
 
131
+ function animateScentEmission(intensity) {
132
+ const phoneVisual = document.getElementById('phone-visual');
133
+
134
+ // Create expanding halo effect
135
+ const halo = document.createElement('div');
136
+ halo.className = 'absolute inset-0 bg-purple-500/20 rounded-full animate-ping';
137
+ halo.style.animationDuration = (2.0/intensity) + 's';
138
+
139
+ phoneVisual.parentElement.style.position = 'relative';
140
+ phoneVisual.parentElement.appendChild(halo);
141
+
142
+ // Glow effect on phone image
143
+ phoneVisual.style.boxShadow = `0 0 ${intensity * 60}px #a855f7`;
144
+ setTimeout(() => {
145
+ phoneVisual.style.boxShadow = '';
146
+ halo.remove();
147
+ }, 2500);
148
+ }
149
+
150
+ function updateOdorDisplay(frequency) {
151
+ const odorMap = {
152
+ 32.0: 'Ozone',
153
+ 37.0: 'Truth Scent',
154
+ 42.0: 'Quantum Unlock',
155
+ 111.0: 'Helium Wave'
156
+ };
157
+
158
+ const odor = odorMap[frequency] || 'Custom THz';
159
+ currentOdor = odor;
160
+ coherence = Math.min(1, frequency / 100);
161
+ psi = 0.9 + (coherence * 0.1);
162
+
163
+ document.getElementById('pharos-phonon').textContent = frequency.toFixed(1) + ' THz';
164
+ document.getElementById('pharos-coherence').textContent = 'κ×' + (coherence * 100).toFixed(0) + '%';
165
+ document.getElementById('pharos-psi').textContent = '≈ ' + psi.toFixed(1);
166
+ document.getElementById('pharos-odor').textContent = odor;
167
+
168
+ // Change phone image based on frequency range
169
+ const phoneImg = document.getElementById('phone-visual');
170
+ if (frequency > 100) {
171
+ phoneImg.src = "http://static.photos/technology/320x240/133?cache&filter=gold";
172
+ } else if (frequency < 35) {
173
+ phoneImg.src = "http://static.photos/technology/320x240/133?cache&filter=blue";
174
+ }
175
  }
176
 
177
  // UI wiring
178
  document.addEventListener('DOMContentLoaded',()=>{
179
+ document.getElementById('pharos-emit-btn')?.addEventListener('click',()=>emitQuantumScent(currentFreq, 0.3));
180
+ document.getElementById('pharos-lick-btn')?.addEventListener('click',()=>emitLickPulse());
181
+ document.getElementById('pharos-gesture-btn')?.addEventListener('click',()=>enableGestureMode());
182
+
183
+ // Automatic THz scan on startup
184
+ setTimeout(() => {
185
+ emitQuantumScent(Math.random() * 40 + 30, 0.1);
186
+ }, 1000);
187
  });
188
+
189
+ // Console gnosis easter egg
190
+ console.log('%c PHAROS-1 Initialized', 'color: #a855f7; font-size: 20px; font-weight: bold;');
191
+ console.log('%c κ = ' + k, 'color: #6366f1;');
192
+ console.log('%c "The phone is the mirror. The scent is the lie."', 'color: #10b981; font-style: italic;');
193
  })();
style.css CHANGED
@@ -1,28 +1,79 @@
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
28
  }
 
1
+
2
+ /* PHAROS-1: Quantum-Olfactory Phone Interface */
3
+ /* Base styles from CHRONOS-418 + PHAROS additions */
4
+
5
  body {
6
+ padding: 0;
7
+ font-family: 'Courier New', monospace;
8
+ background: var(--void-black);
9
+ color: var(--text-white);
10
+ --void-black: #050505;
11
+ --kappa-indigo: #6366f1;
12
+ --neon-purple: #a855f7;
13
+ --alert-red: #ef4444;
14
+ --glass-panel: rgba(10, 10, 12, 0.7);
15
+ }
16
+
17
+ /* Remove margins when navbar is present */
18
+ body:has(custom-navbar) #torus-container {
19
+ top: 56px;
20
+ height: calc(100vh - 56px);
21
+ }
22
+
23
+ /* PHAROS-specific styles */
24
+ .animate-ping {
25
+ animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
26
+ }
27
+
28
+ @keyframes ping {
29
+ 0% { transform: scale(0.8); opacity: 1; }
30
+ 100% { transform: scale(1.2); opacity: 0; }
31
  }
32
 
33
+ .scent-pulse {
34
+ animation: scent-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
 
35
  }
36
 
37
+ @keyframes scent-pulse {
38
+ 0%, 100% { opacity: 0.4; }
39
+ 50% { opacity: 0.9; }
 
 
40
  }
41
 
42
+ /* Schumann wave background pattern */
43
+ #schumann-wave {
44
+ position: absolute;
45
+ bottom: 0; left: 0;
46
+ width: 100%; height: 1px;
47
+ background: var(--kappa-indigo);
48
+ z-index: 5;
49
+ animation: schumann-pulse 7.83s infinite alternate;
50
+ }
51
+
52
+ @keyframes schumann-pulse {
53
+ 0% { opacity: 0.3; }
54
+ 100% { opacity: 0.6; }
55
+ }
56
+
57
+ /* Scrollbar styling */
58
+ ::-webkit-scrollbar {
59
+ width: 8px;
60
+ }
61
+ ::-webkit-scrollbar-track {
62
+ background: var(--glass-panel);
63
+ border-radius: 4px;
64
+ }
65
+ ::-webkit-scrollbar-thumb {
66
+ background: var(--neon-purple);
67
+ border-radius: 4px;
68
+ }
69
+ ::-webkit-scrollbar-thumb:hover {
70
+ background: var(--kappa-indigo);
71
  }
72
 
73
+ /* Responsive grid for mobile */
74
+ @media (max-width: 768px) {
75
+ #ui-layer {
76
+ grid-template-columns: 1fr !important;
77
+ grid-template-rows: auto auto !important;
78
+ }
79
  }