Repository navigation
Expand file tree
/
Copy pathbrainData.js
More file actions
389 lines (384 loc) · 12.2 KB
/
Copy pathbrainData.js
File metadata and controls
389 lines (384 loc) · 12.2 KB
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
// Brain Skill Tree Data Structure
// Represents brain regions, their functions, and interconnections
const brainSkillTree = {
// Main brain regions as skill nodes
nodes: [
{
id: 'frontal',
name: 'Frontal Lobe',
category: 'cerebral_cortex',
level: 1,
description: 'Executive functions, decision making, and motor control',
color: '#FF6B6B',
position: { x: 200, y: 100 },
skills: [
'Executive Functions',
'Decision Making',
'Problem Solving',
'Motor Control',
'Speech Production',
'Personality Expression'
],
subRegions: [
{
id: 'prefrontal',
name: 'Prefrontal Cortex',
description: 'Executive functions and personality',
skills: ['Planning', 'Working Memory', 'Impulse Control', 'Abstract Thinking']
},
{
id: 'motor_cortex',
name: 'Primary Motor Cortex',
description: 'Voluntary movement control',
skills: ['Movement Execution', 'Fine Motor Control']
},
{
id: 'brocas',
name: "Broca's Area",
description: 'Speech production',
skills: ['Speech Production', 'Language Expression']
}
],
prerequisites: [],
unlocks: ['parietal', 'temporal', 'limbic']
},
{
id: 'parietal',
name: 'Parietal Lobe',
category: 'cerebral_cortex',
level: 1,
description: 'Sensory processing and spatial awareness',
color: '#4ECDC4',
position: { x: 400, y: 100 },
skills: [
'Sensory Processing',
'Spatial Awareness',
'Mathematical Reasoning',
'Body Position Awareness',
'Visual-Spatial Processing'
],
subRegions: [
{
id: 'somatosensory',
name: 'Primary Somatosensory Cortex',
description: 'Touch and sensory processing',
skills: ['Touch Processing', 'Temperature Sense', 'Pain Processing']
},
{
id: 'superior_parietal',
name: 'Superior Parietal Lobule',
description: 'Spatial awareness and navigation',
skills: ['Spatial Navigation', '3D Understanding', 'Hand-Eye Coordination']
}
],
prerequisites: ['frontal'],
unlocks: ['occipital', 'temporal']
},
{
id: 'temporal',
name: 'Temporal Lobe',
category: 'cerebral_cortex',
level: 1,
description: 'Auditory processing and memory formation',
color: '#95E1D3',
position: { x: 300, y: 250 },
skills: [
'Auditory Processing',
'Memory Formation',
'Language Comprehension',
'Facial Recognition',
'Emotion Processing'
],
subRegions: [
{
id: 'auditory_cortex',
name: 'Primary Auditory Cortex',
description: 'Sound processing',
skills: ['Sound Recognition', 'Pitch Processing', 'Sound Localization']
},
{
id: 'wernickes',
name: "Wernicke's Area",
description: 'Language comprehension',
skills: ['Language Understanding', 'Reading Comprehension']
},
{
id: 'hippocampus',
name: 'Hippocampus',
description: 'Memory formation and consolidation',
skills: ['Long-term Memory', 'Spatial Memory', 'Memory Consolidation']
}
],
prerequisites: ['frontal'],
unlocks: ['limbic', 'occipital']
},
{
id: 'occipital',
name: 'Occipital Lobe',
category: 'cerebral_cortex',
level: 2,
description: 'Visual processing and recognition',
color: '#F38181',
position: { x: 500, y: 200 },
skills: [
'Visual Processing',
'Color Recognition',
'Motion Detection',
'Depth Perception',
'Visual Memory'
],
subRegions: [
{
id: 'visual_cortex',
name: 'Primary Visual Cortex (V1)',
description: 'Basic visual processing',
skills: ['Edge Detection', 'Contrast Processing', 'Basic Shapes']
},
{
id: 'visual_association',
name: 'Visual Association Areas',
description: 'Complex visual processing',
skills: ['Object Recognition', 'Face Recognition', 'Scene Analysis']
}
],
prerequisites: ['parietal', 'temporal'],
unlocks: ['cerebellum']
},
{
id: 'cerebellum',
name: 'Cerebellum',
category: 'hindbrain',
level: 3,
description: 'Motor coordination and balance',
color: '#AA96DA',
position: { x: 450, y: 350 },
skills: [
'Motor Coordination',
'Balance',
'Fine Motor Control',
'Motor Learning',
'Timing and Rhythm'
],
subRegions: [
{
id: 'cerebellar_cortex',
name: 'Cerebellar Cortex',
description: 'Movement coordination',
skills: ['Smooth Movements', 'Posture Control', 'Gait Coordination']
}
],
prerequisites: ['occipital', 'brainstem'],
unlocks: []
},
{
id: 'brainstem',
name: 'Brainstem',
category: 'hindbrain',
level: 2,
description: 'Basic life functions and reflexes',
color: '#FCBAD3',
position: { x: 300, y: 400 },
skills: [
'Breathing Control',
'Heart Rate Regulation',
'Sleep-Wake Cycles',
'Alertness',
'Reflex Actions'
],
subRegions: [
{
id: 'midbrain',
name: 'Midbrain',
description: 'Vision, hearing, motor control',
skills: ['Eye Movement', 'Auditory Relay', 'Motor Relay']
},
{
id: 'pons',
name: 'Pons',
description: 'Sleep and respiration',
skills: ['Sleep Regulation', 'Breathing Rhythm', 'Facial Expressions']
},
{
id: 'medulla',
name: 'Medulla Oblongata',
description: 'Vital functions',
skills: ['Heart Rate', 'Blood Pressure', 'Swallowing', 'Coughing']
}
],
prerequisites: ['limbic'],
unlocks: ['cerebellum']
},
{
id: 'limbic',
name: 'Limbic System',
category: 'deep_brain',
level: 2,
description: 'Emotion processing and memory',
color: '#FFFAAA',
position: { x: 200, y: 300 },
skills: [
'Emotion Processing',
'Memory Formation',
'Motivation',
'Reward Processing',
'Olfaction'
],
subRegions: [
{
id: 'amygdala',
name: 'Amygdala',
description: 'Emotional processing and fear',
skills: ['Fear Response', 'Emotional Memory', 'Threat Detection']
},
{
id: 'hypothalamus',
name: 'Hypothalamus',
description: 'Hormone regulation',
skills: ['Hunger', 'Thirst', 'Temperature Regulation', 'Sleep Drive']
},
{
id: 'thalamus',
name: 'Thalamus',
description: 'Sensory relay station',
skills: ['Sensory Relay', 'Attention Gating', 'Consciousness']
}
],
prerequisites: ['frontal', 'temporal'],
unlocks: ['brainstem']
},
{
id: 'basal_ganglia',
name: 'Basal Ganglia',
category: 'deep_brain',
level: 2,
description: 'Motor control and habit formation',
color: '#C7CEEA',
position: { x: 100, y: 200 },
skills: [
'Movement Initiation',
'Habit Formation',
'Reward Learning',
'Procedural Memory',
'Action Selection'
],
subRegions: [
{
id: 'striatum',
name: 'Striatum',
description: 'Movement and reward',
skills: ['Movement Planning', 'Reward Prediction', 'Habit Learning']
},
{
id: 'substantia_nigra',
name: 'Substantia Nigra',
description: 'Dopamine production',
skills: ['Dopamine Release', 'Movement Facilitation', 'Motivation']
}
],
prerequisites: ['frontal'],
unlocks: ['limbic']
},
{
id: 'corpus_callosum',
name: 'Corpus Callosum',
category: 'white_matter',
level: 3,
description: 'Hemispheric communication',
color: '#B4F8C8',
position: { x: 300, y: 150 },
skills: [
'Left-Right Communication',
'Bilateral Coordination',
'Information Integration',
'Hemispheric Balance'
],
subRegions: [],
prerequisites: ['frontal', 'parietal', 'temporal', 'occipital'],
unlocks: []
}
],
// Connections between brain regions
connections: [
{ from: 'frontal', to: 'parietal', strength: 'strong', type: 'bidirectional' },
{ from: 'frontal', to: 'temporal', strength: 'strong', type: 'bidirectional' },
{ from: 'frontal', to: 'limbic', strength: 'strong', type: 'bidirectional' },
{ from: 'frontal', to: 'basal_ganglia', strength: 'strong', type: 'bidirectional' },
{ from: 'parietal', to: 'occipital', strength: 'strong', type: 'bidirectional' },
{ from: 'parietal', to: 'temporal', strength: 'medium', type: 'bidirectional' },
{ from: 'temporal', to: 'limbic', strength: 'strong', type: 'bidirectional' },
{ from: 'temporal', to: 'occipital', strength: 'medium', type: 'bidirectional' },
{ from: 'occipital', to: 'cerebellum', strength: 'medium', type: 'bidirectional' },
{ from: 'limbic', to: 'brainstem', strength: 'strong', type: 'bidirectional' },
{ from: 'brainstem', to: 'cerebellum', strength: 'strong', type: 'bidirectional' },
{ from: 'basal_ganglia', to: 'limbic', strength: 'medium', type: 'bidirectional' },
{ from: 'frontal', to: 'corpus_callosum', strength: 'strong', type: 'bidirectional' },
{ from: 'parietal', to: 'corpus_callosum', strength: 'strong', type: 'bidirectional' },
{ from: 'temporal', to: 'corpus_callosum', strength: 'strong', type: 'bidirectional' },
{ from: 'occipital', to: 'corpus_callosum', strength: 'strong', type: 'bidirectional' }
],
// Neural networks (groups of regions working together)
networks: [
{
id: 'default_mode',
name: 'Default Mode Network',
description: 'Active during rest and introspection',
regions: ['frontal', 'parietal', 'temporal'],
functions: ['Self-reflection', 'Memory recall', 'Future planning', 'Mind-wandering']
},
{
id: 'executive_control',
name: 'Executive Control Network',
description: 'Active during complex cognitive tasks',
regions: ['frontal', 'parietal'],
functions: ['Problem-solving', 'Decision-making', 'Working memory', 'Attention control']
},
{
id: 'salience',
name: 'Salience Network',
description: 'Detects and filters important stimuli',
regions: ['frontal', 'limbic'],
functions: ['Attention switching', 'Emotion processing', 'Threat detection']
},
{
id: 'motor',
name: 'Motor Network',
description: 'Movement planning and execution',
regions: ['frontal', 'basal_ganglia', 'cerebellum'],
functions: ['Movement planning', 'Movement execution', 'Motor learning']
},
{
id: 'visual',
name: 'Visual Processing Network',
description: 'Visual perception and recognition',
regions: ['occipital', 'parietal', 'temporal'],
functions: ['Object recognition', 'Spatial vision', 'Motion detection']
}
],
// Categories for organizing brain regions
categories: {
cerebral_cortex: {
name: 'Cerebral Cortex',
description: 'Outer layer of the brain, responsible for higher-order functions',
color: '#FF6B6B'
},
deep_brain: {
name: 'Deep Brain Structures',
description: 'Subcortical structures involved in emotion, memory, and motivation',
color: '#FFD93D'
},
hindbrain: {
name: 'Hindbrain',
description: 'Lower brain structures controlling basic functions and coordination',
color: '#AA96DA'
},
white_matter: {
name: 'White Matter',
description: 'Neural pathways connecting brain regions',
color: '#B4F8C8'
}
}
};
// Export for use in main application
if (typeof module !== 'undefined' && module.exports) {
module.exports = brainSkillTree;
}