LordXido commited on
Commit
2fa2b3c
·
verified ·
1 Parent(s): 6613f4c

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +107 -19
index.html CHANGED
@@ -1,19 +1,107 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
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>