LordXido commited on
Commit
8ced202
·
verified ·
1 Parent(s): 2fa2b3c

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +29 -90
index.html CHANGED
@@ -2,106 +2,45 @@
2
  <html lang="en">
3
  <head>
4
  <meta charset="UTF-8">
5
- <title>Jarvis X — Virtual Mathematical Web Engine</title>
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
-
8
- <style>
9
- body {
10
- background: #0d0d0f;
11
- color: #00ffcc;
12
- font-family: "Courier New", monospace;
13
- margin: 0;
14
- padding: 2em;
15
- }
16
- h1 { color: #00ffff; }
17
- .panel {
18
- border: 1px solid #444;
19
- padding: 1em;
20
- margin-bottom: 1em;
21
- border-radius: 8px;
22
- background: #111;
23
- }
24
- .console {
25
- background: #000;
26
- color: #0f0;
27
- height: 300px;
28
- overflow-y: scroll;
29
- padding: 1em;
30
- border-radius: 6px;
31
- border: 1px solid #0f0;
32
- }
33
- input[type="text"] {
34
- width: 100%;
35
- background: #111;
36
- color: #0f0;
37
- border: 1px solid #0f0;
38
- padding: 0.5em;
39
- }
40
- </style>
41
-
42
  </head>
43
- <body>
44
-
45
- <h1>Jarvis X — Self‑Hosting Mathematical Web Engine 🧠</h1>
46
 
47
- <div class="panel">
48
- <strong>Equation (Canonical Form):</strong><br>
49
- <code>dΞᵢ/dt = -Λ★ ∇Ξᵢ [ ∑ₖ Lₖ(Ξᵢ) ] + 𝒬_photon(Ξᵢ)</code>
50
- </div>
51
-
52
- <div class="panel">
53
- <h2>Ψ(t) — Intent Input</h2>
54
- <input type="text" id="intentInput" placeholder="Enter your system intent (Ψ)" />
55
- </div>
56
-
57
- <div class="panel">
58
- <h2>🖥 VM Console Output — Ξ State</h2>
59
- <div class="console" id="consoleOutput"></div>
60
- </div>
61
-
62
- <script>
63
 
64
- // ---------- System State ----------
65
- const Ξ = {
66
- r: [0.5,0.5,0.5],
67
- w: Array(6).fill(0.1),
68
- alpha: "1+0i",
69
- o: 0,
70
- iter: 0
71
- };
72
 
73
- function log(msg) {
74
- const out = document.getElementById("consoleOutput");
75
- out.innerHTML += `> ${msg}<br>`;
76
- out.scrollTop = out.scrollHeight;
77
- }
78
 
79
- function stepSimulation(Ψstr) {
80
- Ξ.iter++;
81
- // Simple state evolution
82
- Ξ.r = Ξ.r.map((v,i) => v + 0.001*Math.sin(Ξ.iter + i));
83
- Ξ.w = Ξ.w.map(wi => Math.max(-1, Math.min(1, wi - 0.001*(Ψstr.length*0.01)));
84
- Ξ.o = (Ξ.o + 1) % 8;
 
 
85
 
86
- log(`Ψ(t)="${Ψstr}"`);
87
- log(`Ξ[iter=${Ξ.iter}] r=[${Ξ.r.map(x=>x.toFixed(3)).join(", ")}], w=[${Ξ.w.map(x=>x.toFixed(3)).join(", ")}]`);
88
- }
89
 
90
- document.getElementById("intentInput")
91
- .addEventListener("keydown", function(e) {
92
- if (e.key === "Enter") {
93
- const Ψstr = e.target.value.trim();
94
- if (Ψstr.length>0) {
95
- stepSimulation(Ψstr);
96
- e.target.value = "";
97
- }
98
- }
99
- });
100
 
101
- // bootstrap
102
- log("System initialized. Enter Ψ(t) and press Enter.");
103
 
104
- </script>
105
 
 
106
  </body>
107
  </html>
 
2
  <html lang="en">
3
  <head>
4
  <meta charset="UTF-8">
5
+ <title>Jarvis X — Self-Hosting Cognitive VM</title>
6
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
7
+ <link rel="stylesheet" href="style.css">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  </head>
 
 
 
9
 
10
+ <body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
 
12
+ <header>
13
+ <h1>Jarvis X SVG Cognitive Engine</h1>
14
+ <p class="equation">
15
+ dΞ/dt = −Λ ∇Ξ ( Θ + Φ − Ψ + Ω )
16
+ </p>
17
+ </header>
 
 
18
 
19
+ <main class="container">
 
 
 
 
20
 
21
+ <!-- SVG Virtual Machine -->
22
+ <svg id="engine" viewBox="-200 -200 400 400">
23
+ <defs>
24
+ <radialGradient id="coreGradient">
25
+ <stop offset="0%" stop-color="#00ffff"/>
26
+ <stop offset="100%" stop-color="#001111"/>
27
+ </radialGradient>
28
+ </defs>
29
 
30
+ <circle id="core" r="40" fill="url(#coreGradient)"/>
31
+ <g id="orbits"></g>
32
+ </svg>
33
 
34
+ <!-- Control Panel -->
35
+ <section class="panel">
36
+ <label>Ψ(t) Intent Vector</label>
37
+ <input id="psiInput" placeholder="enter intent and press enter"/>
 
 
 
 
 
 
38
 
39
+ <div class="log" id="log"></div>
40
+ </section>
41
 
42
+ </main>
43
 
44
+ <script src="engine.js"></script>
45
  </body>
46
  </html>