helixmind 0.2.22 → 0.2.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/brain/template.js +15 -15
- package/package.json +1 -1
|
@@ -426,12 +426,12 @@ canvas { display: block; }
|
|
|
426
426
|
<div id="controls">
|
|
427
427
|
<div class="control-group">
|
|
428
428
|
<label>Levels</label>
|
|
429
|
-
<span class="toggle-btn active" data-level="
|
|
430
|
-
<span class="toggle-btn active" data-level="
|
|
431
|
-
<span class="toggle-btn active" data-level="3">L3 Ref</span>
|
|
432
|
-
<span class="toggle-btn active" data-level="
|
|
433
|
-
<span class="toggle-btn active" data-level="5">
|
|
434
|
-
<span class="toggle-btn active" data-level="6" style="border-color:rgba(255,170,0,0.
|
|
429
|
+
<span class="toggle-btn active" data-level="5" style="border-color:rgba(108,117,125,0.5);color:#6c757d"><span style="display:inline-block;width:6px;height:6px;border-radius:50%;background:#6c757d;margin-right:4px;vertical-align:middle;box-shadow:0 0 4px #6c757d"></span>L5 Deep</span>
|
|
430
|
+
<span class="toggle-btn active" data-level="4" style="border-color:rgba(138,43,226,0.5);color:#8a2be2"><span style="display:inline-block;width:6px;height:6px;border-radius:50%;background:#8a2be2;margin-right:4px;vertical-align:middle;box-shadow:0 0 4px #8a2be2"></span>L4 Archive</span>
|
|
431
|
+
<span class="toggle-btn active" data-level="3" style="border-color:rgba(65,105,225,0.5);color:#4169e1"><span style="display:inline-block;width:6px;height:6px;border-radius:50%;background:#4169e1;margin-right:4px;vertical-align:middle;box-shadow:0 0 4px #4169e1"></span>L3 Ref</span>
|
|
432
|
+
<span class="toggle-btn active" data-level="2" style="border-color:rgba(0,255,136,0.5);color:#00ff88"><span style="display:inline-block;width:6px;height:6px;border-radius:50%;background:#00ff88;margin-right:4px;vertical-align:middle;box-shadow:0 0 4px #00ff88"></span>L2 Active</span>
|
|
433
|
+
<span class="toggle-btn active" data-level="1" style="border-color:rgba(0,255,255,0.5);color:#00ffff"><span style="display:inline-block;width:6px;height:6px;border-radius:50%;background:#00ffff;margin-right:4px;vertical-align:middle;box-shadow:0 0 4px #00ffff"></span>L1 Focus</span>
|
|
434
|
+
<span class="toggle-btn active" data-level="6" style="border-color:rgba(255,170,0,0.5);color:#ffaa00"><span style="display:inline-block;width:6px;height:6px;border-radius:50%;background:#ffaa00;margin-right:4px;vertical-align:middle;box-shadow:0 0 4px #ffaa00"></span>L6 Web</span>
|
|
435
435
|
</div>
|
|
436
436
|
<div class="control-group">
|
|
437
437
|
<label>Relations</label>
|
|
@@ -588,15 +588,15 @@ const EDGE_COLORS = {
|
|
|
588
588
|
belongs_to: '#ff6600', part_of: '#ff6600', supersedes: '#ff4444',
|
|
589
589
|
default: '#334466',
|
|
590
590
|
};
|
|
591
|
-
//
|
|
592
|
-
//
|
|
591
|
+
// Inverted funnel: L5 (wisdom) small at TOP, L6 (web) large at BOTTOM
|
|
592
|
+
// Each layer gets progressively wider as we go down — like the OG brain
|
|
593
593
|
const SPATIAL = {
|
|
594
|
-
5: { iR:
|
|
595
|
-
4: { iR:
|
|
596
|
-
3: { iR:
|
|
597
|
-
2: { iR:
|
|
598
|
-
1: { iR:
|
|
599
|
-
6: { iR:
|
|
594
|
+
5: { iR: 10, oR: 60, yBase: 550, yS: 35, size: 52, pulse: 0.3 },
|
|
595
|
+
4: { iR: 20, oR: 120, yBase: 380, yS: 40, size: 42, pulse: 0.5 },
|
|
596
|
+
3: { iR: 40, oR: 200, yBase: 210, yS: 50, size: 36, pulse: 0.8 },
|
|
597
|
+
2: { iR: 60, oR: 300, yBase: 30, yS: 55, size: 28, pulse: 1.2 },
|
|
598
|
+
1: { iR: 80, oR: 420, yBase: -170, yS: 65, size: 22, pulse: 2.0 },
|
|
599
|
+
6: { iR: 100, oR: 550, yBase: -400, yS: 75, size: 30, pulse: 0.6 },
|
|
600
600
|
};
|
|
601
601
|
const MAX_RENDERED_EDGES = 8000; // cap for performance + clarity
|
|
602
602
|
|
|
@@ -614,7 +614,7 @@ scene.background = new THREE.Color('#030308');
|
|
|
614
614
|
scene.fog = new THREE.FogExp2('#030308', 0.00025);
|
|
615
615
|
|
|
616
616
|
const camera = new THREE.PerspectiveCamera(50, window.innerWidth / window.innerHeight, 1, 12000);
|
|
617
|
-
camera.position.set(
|
|
617
|
+
camera.position.set(500, 500, 800);
|
|
618
618
|
|
|
619
619
|
const controls = new OrbitControls(camera, renderer.domElement);
|
|
620
620
|
controls.target.set(0, 0, 0);
|