File size: 13,151 Bytes
83f407e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Simulation Lab | Synaptic Odyssey</title>
    <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <style>
        @import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
        body {
            font-family: 'Space Grotesk', sans-serif;
            overflow-x: hidden;
        }
        .gradient-text {
            background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        .research-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
        .neuron-path {
            stroke-dasharray: 1000;
            stroke-dashoffset: 1000;
            animation: dash 5s linear forwards;
        }
        @keyframes dash {
            to {
                stroke-dashoffset: 0;
            }
        }
    </style>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
    <!-- Navigation -->
    <nav class="border-b border-gray-800 bg-gray-900/80 backdrop-blur-sm sticky top-0 z-50">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex items-center justify-between h-16">
                <div class="flex items-center space-x-2">
                    <i data-feather="cpu" class="text-blue-500"></i>
                    <span class="font-bold text-xl gradient-text">Synaptic Odyssey</span>
                </div>
                <div class="hidden md:block">
                    <div class="ml-10 flex items-baseline space-x-4">
                        <a href="index.html" class="text-gray-300 hover:bg-gray-800 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Home</a>
                        <a href="dashboard.html" class="text-gray-300 hover:bg-gray-800 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Dashboard</a>
                        <a href="research.html" class="text-gray-300 hover:bg-gray-800 hover:text-white px-3 py-2 rounded-md text-sm font-medium">Research</a>
                        <a href="simulation.html" class="bg-gray-800 text-white px-3 py-2 rounded-md text-sm font-medium">Simulation</a>
                    </div>
                </div>
                <div class="flex items-center space-x-4">
                    <button class="bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
                        <i data-feather="play" class="w-4 h-4 mr-2"></i>
                        New Simulation
                    </button>
                </div>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8">
        <!-- Simulation Header -->
        <div class="mb-8">
            <h1 class="text-3xl font-bold mb-2">Simulation Lab</h1>
            <p class="text-gray-400">Run experiments with synthetic cognitive agents and analyze emergent behaviors</p>
        </div>

        <!-- Simulation Controls -->
        <div class="bg-gray-800 rounded-lg p-6 mb-8">
            <div class="flex flex-wrap items-center justify-between gap-4">
                <div>
                    <h3 class="text-lg font-semibold">Cognitive Architecture Simulation</h3>
                    <p class="text-gray-400 text-sm">Neural-Symbolic Hybrid Model v2.1</p>
                </div>
                <div class="flex flex-wrap gap-3">
                    <button class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
                        <i data-feather="play" class="w-4 h-4 mr-2"></i>
                        Run
                    </button>
                    <button class="bg-yellow-600 hover:bg-yellow-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
                        <i data-feather="pause" class="w-4 h-4 mr-2"></i>
                        Pause
                    </button>
                    <button class="bg-red-600 hover:bg-red-700 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
                        <i data-feather="square" class="w-4 h-4 mr-2"></i>
                        Stop
                    </button>
                    <button class="bg-gray-700 hover:bg-gray-600 text-white px-4 py-2 rounded-md text-sm font-medium flex items-center">
                        <i data-feather="settings" class="w-4 h-4 mr-2"></i>
                        Configure
                    </button>
                </div>
            </div>
        </div>

        <!-- Simulation Visualization -->
        <div class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-8">
            <div class="lg:col-span-2 bg-gray-800 rounded-lg p-6">
                <h3 class="text-lg font-semibold mb-4">Neural Network Activity</h3>
                <div class="bg-gray-900 rounded-lg p-4 h-96 flex items-center justify-center">
                    <div class="text-center">
                        <div class="relative w-64 h-64 mx-auto mb-6">
                            <div class="absolute inset-0 rounded-full border-2 border-blue-500 animate-ping opacity-20"></div>
                            <div class="absolute inset-4 rounded-full border-2 border-purple-500 animate-ping opacity-20 animation-delay-1000"></div>
                            <div class="absolute inset-8 rounded-full border-2 border-green-500 animate-ping opacity-20 animation-delay-2000"></div>
                            <div class="absolute inset-0 flex items-center justify-center">
                                <div class="w-16 h-16 rounded-full bg-gradient-to-r from-blue-500 to-purple-500 flex items-center justify-center">
                                    <i data-feather="cpu" class="w-8 h-8 text-white"></i>
                                </div>
                            </div>
                        </div>
                        <p class="text-gray-500">Real-time neural activity visualization</p>
                        <p class="text-sm text-gray-600 mt-2">Showing activation patterns in synthetic cognitive architecture</p>
                    </div>
                </div>
            </div>
            <div class="bg-gray-800 rounded-lg p-6">
                <h3 class="text-lg font-semibold mb-4">Simulation Metrics</h3>
                <div class="space-y-4">
                    <div>
                        <div class="flex justify-between mb-1">
                            <span class="text-sm text-gray-400">Processing Power</span>
                            <span class="text-sm text-gray-400">78%</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-blue-600 h-2 rounded-full" style="width: 78%"></div>
                        </div>
                    </div>
                    <div>
                        <div class="flex justify-between mb-1">
                            <span class="text-sm text-gray-400">Memory Usage</span>
                            <span class="text-sm text-gray-400">45%</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-purple-600 h-2 rounded-full" style="width: 45%"></div>
                        </div>
                    </div>
                    <div>
                        <div class="flex justify-between mb-1">
                            <span class="text-sm text-gray-400">Network Activity</span>
                            <span class="text-sm text-gray-400">92%</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-green-600 h-2 rounded-full" style="width: 92%"></div>
                        </div>
                    </div>
                    <div>
                        <div class="flex justify-between mb-1">
                            <span class="text-sm text-gray-400">Learning Rate</span>
                            <span class="text-sm text-gray-400">0.001</span>
                        </div>
                        <div class="w-full bg-gray-700 rounded-full h-2">
                            <div class="bg-yellow-600 h-2 rounded-full" style="width: 60%"></div>
                        </div>
                    </div>
                </div>
                
                <div class="mt-6 pt-6 border-t border-gray-700">
                    <h4 class="font-medium mb-3">Agent Behaviors</h4>
                    <div class="space-y-3">
                        <div class="flex items-center">
                            <div class="w-3 h-3 rounded-full bg-green-500 mr-3"></div>
                            <span class="text-sm">Problem Solving</span>
                            <span class="text-sm text-gray-400 ml-auto">87%</span>
                        </div>
                        <div class="flex items-center">
                            <div class="w-3 h-3 rounded-full bg-blue-500 mr-3"></div>
                            <span class="text-sm">Pattern Recognition</span>
                            <span class="text-sm text-gray-400 ml-auto">94%</span>
                        </div>
                        <div class="flex items-center">
                            <div class="w-3 h-3 rounded-full bg-purple-500 mr-3"></div>
                            <span class="text-sm">Creative Synthesis</span>
                            <span class="text-sm text-gray-400 ml-auto">72%</span>
                        </div>
                        <div class="flex items-center">
                            <div class="w-3 h-3 rounded-full bg-yellow-500 mr-3"></div>
                            <span class="text-sm">Meta-Cognition</span>
                            <span class="text-sm text-gray-400 ml-auto">65%</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <!-- Simulation Logs -->
        <div class="bg-gray-800 rounded-lg p-6">
            <div class="flex justify-between items-center mb-6">
                <h3 class="text-lg font-semibold">Simulation Logs</h3>
                <div class="flex space-x-2">
                    <button class="text-gray-400 hover:text-gray-300 text-sm">Export</button>
                    <button class="text-gray-400 hover:text-gray-300 text-sm">Clear</button>
                </div>
            </div>
            <div class="bg-gray-900 rounded-lg p-4 h-64 overflow-y-auto">
                <div class="space-y-3 text-sm">
                    <div class="flex">
                        <span class="text-gray-500 w-24">12:01:45</span>
                        <span class="text-green-500">[INFO]</span>
                        <span class="text-gray-300 ml-2">Initializing neural network with 1024 nodes</span>
                    </div>
                    <div class="flex">
                        <span class="text-gray-500 w-24">12:01:46</span>
                        <span class="text-green-500">[INFO]</span>
                        <span class="text-gray-300 ml-2">Loading cognitive architecture v2.1</span>
                    </div>
                    <div class="flex">
                        <span class="text-gray-500 w-24">12:02:12</span>
                        <span class="text-blue-500">[PROGRESS]</span>
                        <span class="text-gray-300 ml-2">Training iteration 1247/5000 completed</span>
                    </div>
                    <div class="flex">
                        <span class="text-gray-500 w-24">12:02:30</span>
                        <span class="text-yellow-500">[WARNING]</span>
                        <span class="text-gray-300 ml-2">Unusual activation pattern detected in layer 7</span>
                    </div>
                    <div class="flex">
                        <span class="text-gray-500 w-24">12:03:05</span>
                        <span class="text-green-500">[INFO]</span>
                        <span class="text-gray-300 ml-2">Emergent behavior detected: Novel problem-solving approach</span>
                    </div>
                    <div class="flex">
                        <span class="text-gray-500 w-24">12:03:18</span>
                        <span class="text-purple-500">[ANALYSIS]</span>
                        <span class="text-gray-300 ml-2">Cognitive agent demonstrating meta-learning capabilities</span>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        feather.replace();
    </script>
</body>
</html>