File size: 4,347 Bytes
22aef0e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Consciousness as an Electromagnetic Field Generator</title>
  <style>
    body {
      margin: 0;
      overflow: hidden;
      background-color: #000;
      color: white;
      font-family: 'Arial', sans-serif;
    }
    
    canvas {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
    }
    
    .controls {
      position: absolute;
      bottom: 20px;
      left: 20px;
      z-index: 2;
      display: flex;
      gap: 10px;
      background: rgba(0, 0, 0, 0.7);
      padding: 10px;
      border-radius: 10px;
    }
    
    button {
      background: #2a2a2a;
      color: white;
      border: 1px solid #555;
      padding: 8px 15px;
      border-radius: 5px;
      cursor: pointer;
      transition: background 0.3s;
    }
    
    button:hover {
      background: #444;
    }
    
    .info {
      position: absolute;
      top: 20px;
      left: 20px;
      z-index: 2;
      max-width: 300px;
      background: rgba(0, 0, 0, 0.7);
      padding: 15px;
      border-radius: 10px;
    }
    
    h1 {
      font-size: 1.2em;
      margin-top: 0;
    }
    
    .control-panel {
      position: absolute;
      right: 20px;
      top: 20px;
      z-index: 2;
      background: rgba(0, 0, 0, 0.7);
      padding: 15px;
      border-radius: 10px;
      width: 250px;
    }
    
    .slider-container {
      margin-bottom: 15px;
    }
    
    .slider-container label {
      display: block;
      margin-bottom: 5px;
    }
    
    .slider-container input {
      width: 100%;
    }
    
    .brainwave-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 15px;
    }
    
    .brainwave-buttons button {
      padding: 5px 10px;
      font-size: 0.8em;
    }
    
    .harmonics-section button {
      margin-right: 8px;
      margin-bottom: 8px;
    }
    
    .ai-response {
      margin-top: 15px;
      padding: 10px;
      border-radius: 5px;
      background: rgba(34, 113, 255, 0.2);
      min-height: 60px;
      font-style: italic;
    }
  </style>
</head>
<body>
  <canvas id="canvas"></canvas>
  
  <div class="info">
    <h1>Consciousness as an Electromagnetic Field Generator</h1>
    <p>This visualization represents the hypothesis that consciousness generates electromagnetic fields that interact with reality.</p>
    <p>The central sphere represents the brain, with waves radiating outward to influence the surrounding particles of reality.</p>
  </div>
  
  <div class="control-panel">
    <h2>Brain Field Controls</h2>
    
    <div class="brainwave-buttons">
      <button id="deltaBrain">Delta (0.5-4Hz)</button>
      <button id="thetaBrain">Theta (4-8Hz)</button>
      <button id="alphaBrain">Alpha (8-14Hz)</button>
      <button id="betaBrain">Beta (14-30Hz)</button>
      <button id="gammaBrain">Gamma (30-100Hz)</button>
    </div>
    
    <div class="slider-container">
      <label for="frequencySlider">Wave Frequency: <span id="frequencyValue">1.0</span></label>
      <input type="range" id="frequencySlider" min="0.1" max="5" step="0.1" value="1">
    </div>
    
    <div class="slider-container">
      <label for="amplitudeSlider">Wave Amplitude: <span id="amplitudeValue">1.0</span></label>
      <input type="range" id="amplitudeSlider" min="0.1" max="2" step="0.1" value="1">
    </div>
    
    <div class="slider-container">
      <label for="coherenceSlider">Field Coherence: <span id="coherenceValue">1.0</span></label>
      <input type="range" id="coherenceSlider" min="0.1" max="2" step="0.1" value="1">
    </div>
    
    <h3>Harmonic Resonance</h3>
    <div class="harmonics-section">
      <button id="fibonacciButton">Fibonacci</button>
      <button id="goldenRatioButton">Golden Ratio</button>
      <button id="primeButton">Prime Numbers</button>
    </div>
    
    <h3>AI Response</h3>
    <div class="ai-response" id="aiResponse">
      Observing consciousness field...
    </div>
  </div>
  
  <div class="controls">
    <button id="togglePlay">Pause</button>
    <button id="toggleParticles">Toggle Reality Particles</button>
    <button id="toggleConnections">Toggle Field Connections</button>
  </div>
  
  <script src="script.js"></script>
</body>
</html>