Spaces:
Running
Running
Update organization profile card and remove static simulator
Browse files- README.md +19 -26
- index.html +0 -1751
README.md
CHANGED
|
@@ -1,39 +1,32 @@
|
|
| 1 |
---
|
| 2 |
title: ProKope AI
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
models:
|
|
|
|
|
|
|
|
|
|
| 9 |
- ProKope-AI/ProKope-421M
|
| 10 |
---
|
| 11 |
|
| 12 |
-
# ProKope AI
|
| 13 |
|
| 14 |
-
|
| 15 |
-
**Framework Architect:** **Wesley Foreman**
|
| 16 |
-
**Official Organization Hub:** [https://huggingface.co/ProKope-AI](https://huggingface.co/ProKope-AI)
|
| 17 |
-
**Flagship Model:** [ProKope-421M](https://huggingface.co/ProKope-AI/ProKope-421M)
|
| 18 |
-
**License:** `CC-BY-NC-4.0` | Commercial Enterprise Licensing via Alan Canto
|
| 19 |
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
### 🎮 Live Interactive Demonstrators & Simulators
|
| 23 |
-
|
| 24 |
-
- **Official Interactive Space:** 👉 **[Launch ProKope-AI Space (60 FPS Highway Simulator & Decision Engine)](https://huggingface.co/spaces/ProKope-AI/README)**
|
| 25 |
-
- **Direct Standalone WebApp:** [https://prokope-ai-readme.static.hf.space/index.html](https://prokope-ai-readme.static.hf.space/index.html)
|
| 26 |
-
|
| 27 |
-
Experience real-time closed-loop edge robotics evasion vectors (<22ms) and multi-primitive System 1 probabilistic decision heads without autoregressive cloud token latency.
|
| 28 |
-
|
| 29 |
-
---
|
| 30 |
|
| 31 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
|
| 33 |
-
|
| 34 |
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
* **Official Organization:** [https://huggingface.co/ProKope-AI](https://huggingface.co/ProKope-AI)
|
| 39 |
-
* **Creator Profile:** [@AlanCantoFTW](https://huggingface.co/AlanCantoFTW)
|
|
|
|
| 1 |
---
|
| 2 |
title: ProKope AI
|
| 3 |
+
emoji: 🔹
|
| 4 |
+
colorFrom: gray
|
| 5 |
+
colorTo: blue
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
models:
|
| 9 |
+
- ProKope-AI/ProKope-VL-7B
|
| 10 |
+
- ProKope-AI/ProKope-7B
|
| 11 |
+
- ProKope-AI/ProKope-421M-8K
|
| 12 |
- ProKope-AI/ProKope-421M
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# ProKope AI
|
| 16 |
|
| 17 |
+
Applied AI research lab developing language, vision-language, and structured decision models.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
+
### Models
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
| Model | Modality / Task | Parameters | Context Length | Access |
|
| 22 |
+
| :--- | :--- | :---: | :---: | :--- |
|
| 23 |
+
| [**ProKope-VL-7B**](https://huggingface.co/ProKope-AI/ProKope-VL-7B) | Vision-Language & GUI Grounding (`image-text-to-text`) | 7.6B (+0.67B ViT) | 128K | Gated (`manual`) |
|
| 24 |
+
| [**ProKope-7B**](https://huggingface.co/ProKope-AI/ProKope-7B) | Text Reasoning & Instruction Following (`text-generation`) | 7.6B | 128K (512K YaRN) | Gated (`manual`) |
|
| 25 |
+
| [**ProKope-421M-8K**](https://huggingface.co/ProKope-AI/ProKope-421M-8K) | Structured Typed Decision Classification (`text-classification`) | 421M | 8K | Gated (`manual`) |
|
| 26 |
+
| [**ProKope-421M**](https://huggingface.co/ProKope-AI/ProKope-421M) | Structured Typed Decision Classification (`text-classification`) | 421M | 1K | Gated (`manual`) |
|
| 27 |
|
| 28 |
+
### Contact
|
| 29 |
|
| 30 |
+
- **Lead Architect**: Alan Canto ([@AlanCantoFTW](https://huggingface.co/AlanCantoFTW))
|
| 31 |
+
- **Systems & Infrastructure**: Wesley Foreman
|
| 32 |
+
- **Inquiries & Licensing**: [prokope.model@gmail.com](mailto:prokope.model@gmail.com)
|
|
|
|
|
|
index.html
DELETED
|
@@ -1,1751 +0,0 @@
|
|
| 1 |
-
<!DOCTYPE html>
|
| 2 |
-
<html lang="en">
|
| 3 |
-
<head>
|
| 4 |
-
<meta charset="UTF-8">
|
| 5 |
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
-
<title>ProKope AI — Sovereign System 1 Decision Intelligence</title>
|
| 7 |
-
<meta name="description" content="ProKope AI delivers high-speed, non-autoregressive System 1 decision models engineered by Alan Canto. Sub-25ms latency, 0 output tokens, 71.40% benchmark accuracy.">
|
| 8 |
-
<link rel="preconnect" href="https://fonts.googleapis.com">
|
| 9 |
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
| 10 |
-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
| 11 |
-
<style>
|
| 12 |
-
:root {
|
| 13 |
-
--bg-dark: #07090e;
|
| 14 |
-
--bg-card: rgba(13, 18, 28, 0.75);
|
| 15 |
-
--bg-card-hover: rgba(18, 25, 40, 0.85);
|
| 16 |
-
--border: rgba(255, 255, 255, 0.08);
|
| 17 |
-
--border-accent: rgba(0, 229, 255, 0.25);
|
| 18 |
-
--cyan: #00e5ff;
|
| 19 |
-
--cyan-glow: rgba(0, 229, 255, 0.35);
|
| 20 |
-
--blue: #2979ff;
|
| 21 |
-
--purple: #7c4dff;
|
| 22 |
-
--text-main: #f0f4f8;
|
| 23 |
-
--text-muted: #8a99ad;
|
| 24 |
-
--success: #00e676;
|
| 25 |
-
}
|
| 26 |
-
|
| 27 |
-
* {
|
| 28 |
-
box-sizing: border-box;
|
| 29 |
-
margin: 0;
|
| 30 |
-
padding: 0;
|
| 31 |
-
}
|
| 32 |
-
|
| 33 |
-
body {
|
| 34 |
-
background-color: var(--bg-dark);
|
| 35 |
-
background-image:
|
| 36 |
-
radial-gradient(circle at 15% 15%, rgba(41, 121, 255, 0.12) 0%, transparent 40%),
|
| 37 |
-
radial-gradient(circle at 85% 25%, rgba(0, 229, 255, 0.10) 0%, transparent 45%),
|
| 38 |
-
radial-gradient(circle at 50% 85%, rgba(124, 77, 255, 0.08) 0%, transparent 50%);
|
| 39 |
-
color: var(--text-main);
|
| 40 |
-
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
|
| 41 |
-
line-height: 1.6;
|
| 42 |
-
min-height: 100vh;
|
| 43 |
-
overflow-x: hidden;
|
| 44 |
-
}
|
| 45 |
-
|
| 46 |
-
.container {
|
| 47 |
-
max-width: 1200px;
|
| 48 |
-
margin: 0 auto;
|
| 49 |
-
padding: 0 24px;
|
| 50 |
-
}
|
| 51 |
-
|
| 52 |
-
/* HEADER */
|
| 53 |
-
header {
|
| 54 |
-
padding: 28px 0;
|
| 55 |
-
border-bottom: 1px solid var(--border);
|
| 56 |
-
backdrop-filter: blur(12px);
|
| 57 |
-
position: sticky;
|
| 58 |
-
top: 0;
|
| 59 |
-
z-index: 100;
|
| 60 |
-
background: rgba(7, 9, 14, 0.8);
|
| 61 |
-
}
|
| 62 |
-
|
| 63 |
-
.nav-inner {
|
| 64 |
-
display: flex;
|
| 65 |
-
justify-content: space-between;
|
| 66 |
-
align-items: center;
|
| 67 |
-
}
|
| 68 |
-
|
| 69 |
-
.brand {
|
| 70 |
-
display: flex;
|
| 71 |
-
align-items: center;
|
| 72 |
-
gap: 16px;
|
| 73 |
-
text-decoration: none;
|
| 74 |
-
color: inherit;
|
| 75 |
-
}
|
| 76 |
-
|
| 77 |
-
.brand-logo {
|
| 78 |
-
width: 44px;
|
| 79 |
-
height: 44px;
|
| 80 |
-
border-radius: 12px;
|
| 81 |
-
border: 1px solid var(--border-accent);
|
| 82 |
-
box-shadow: 0 0 16px var(--cyan-glow);
|
| 83 |
-
object-fit: cover;
|
| 84 |
-
}
|
| 85 |
-
|
| 86 |
-
.brand-text h1 {
|
| 87 |
-
font-family: 'Outfit', sans-serif;
|
| 88 |
-
font-size: 22px;
|
| 89 |
-
font-weight: 700;
|
| 90 |
-
letter-spacing: -0.5px;
|
| 91 |
-
background: linear-gradient(135deg, #ffffff 40%, var(--cyan) 100%);
|
| 92 |
-
-webkit-background-clip: text;
|
| 93 |
-
-webkit-text-fill-color: transparent;
|
| 94 |
-
}
|
| 95 |
-
|
| 96 |
-
.brand-text p {
|
| 97 |
-
font-size: 11px;
|
| 98 |
-
color: var(--text-muted);
|
| 99 |
-
text-transform: uppercase;
|
| 100 |
-
letter-spacing: 1.2px;
|
| 101 |
-
font-weight: 600;
|
| 102 |
-
}
|
| 103 |
-
|
| 104 |
-
.nav-links {
|
| 105 |
-
display: flex;
|
| 106 |
-
align-items: center;
|
| 107 |
-
gap: 20px;
|
| 108 |
-
}
|
| 109 |
-
|
| 110 |
-
.nav-btn {
|
| 111 |
-
padding: 10px 18px;
|
| 112 |
-
border-radius: 8px;
|
| 113 |
-
font-size: 13px;
|
| 114 |
-
font-weight: 600;
|
| 115 |
-
text-decoration: none;
|
| 116 |
-
transition: all 0.2s ease;
|
| 117 |
-
display: inline-flex;
|
| 118 |
-
align-items: center;
|
| 119 |
-
gap: 8px;
|
| 120 |
-
}
|
| 121 |
-
|
| 122 |
-
.btn-secondary {
|
| 123 |
-
background: rgba(255, 255, 255, 0.05);
|
| 124 |
-
border: 1px solid var(--border);
|
| 125 |
-
color: var(--text-main);
|
| 126 |
-
}
|
| 127 |
-
.btn-secondary:hover {
|
| 128 |
-
background: rgba(255, 255, 255, 0.1);
|
| 129 |
-
border-color: rgba(255, 255, 255, 0.2);
|
| 130 |
-
}
|
| 131 |
-
|
| 132 |
-
.btn-primary {
|
| 133 |
-
background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
|
| 134 |
-
color: #000;
|
| 135 |
-
font-weight: 700;
|
| 136 |
-
box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
|
| 137 |
-
}
|
| 138 |
-
.btn-primary:hover {
|
| 139 |
-
transform: translateY(-2px);
|
| 140 |
-
box-shadow: 0 0 28px rgba(0, 229, 255, 0.5);
|
| 141 |
-
}
|
| 142 |
-
|
| 143 |
-
/* HERO */
|
| 144 |
-
.hero {
|
| 145 |
-
padding: 80px 0 60px;
|
| 146 |
-
text-align: center;
|
| 147 |
-
}
|
| 148 |
-
|
| 149 |
-
.badge {
|
| 150 |
-
display: inline-flex;
|
| 151 |
-
align-items: center;
|
| 152 |
-
gap: 8px;
|
| 153 |
-
padding: 6px 14px;
|
| 154 |
-
border-radius: 999px;
|
| 155 |
-
background: rgba(0, 229, 255, 0.08);
|
| 156 |
-
border: 1px solid var(--border-accent);
|
| 157 |
-
color: var(--cyan);
|
| 158 |
-
font-size: 12px;
|
| 159 |
-
font-weight: 600;
|
| 160 |
-
margin-bottom: 24px;
|
| 161 |
-
text-transform: uppercase;
|
| 162 |
-
letter-spacing: 1px;
|
| 163 |
-
}
|
| 164 |
-
|
| 165 |
-
.badge-dot {
|
| 166 |
-
width: 6px;
|
| 167 |
-
height: 6px;
|
| 168 |
-
border-radius: 50%;
|
| 169 |
-
background: var(--cyan);
|
| 170 |
-
box-shadow: 0 0 8px var(--cyan);
|
| 171 |
-
}
|
| 172 |
-
|
| 173 |
-
.hero h2 {
|
| 174 |
-
font-family: 'Outfit', sans-serif;
|
| 175 |
-
font-size: 56px;
|
| 176 |
-
line-height: 1.15;
|
| 177 |
-
font-weight: 800;
|
| 178 |
-
letter-spacing: -1.5px;
|
| 179 |
-
max-width: 900px;
|
| 180 |
-
margin: 0 auto 20px;
|
| 181 |
-
}
|
| 182 |
-
|
| 183 |
-
.hero-gradient {
|
| 184 |
-
background: linear-gradient(135deg, #ffffff 30%, var(--cyan) 75%, var(--blue) 100%);
|
| 185 |
-
-webkit-background-clip: text;
|
| 186 |
-
-webkit-text-fill-color: transparent;
|
| 187 |
-
}
|
| 188 |
-
|
| 189 |
-
.hero-sub {
|
| 190 |
-
font-size: 18px;
|
| 191 |
-
color: var(--text-muted);
|
| 192 |
-
max-width: 720px;
|
| 193 |
-
margin: 0 auto 36px;
|
| 194 |
-
font-weight: 400;
|
| 195 |
-
}
|
| 196 |
-
|
| 197 |
-
.creator-attestation {
|
| 198 |
-
display: inline-flex;
|
| 199 |
-
align-items: center;
|
| 200 |
-
gap: 12px;
|
| 201 |
-
padding: 8px 18px;
|
| 202 |
-
background: rgba(255, 255, 255, 0.03);
|
| 203 |
-
border: 1px solid var(--border);
|
| 204 |
-
border-radius: 10px;
|
| 205 |
-
font-size: 13px;
|
| 206 |
-
color: #b0bec5;
|
| 207 |
-
margin-bottom: 48px;
|
| 208 |
-
}
|
| 209 |
-
|
| 210 |
-
.creator-attestation strong {
|
| 211 |
-
color: #fff;
|
| 212 |
-
}
|
| 213 |
-
|
| 214 |
-
/* STATS GRID */
|
| 215 |
-
.stats-grid {
|
| 216 |
-
display: grid;
|
| 217 |
-
grid-template-columns: repeat(4, 1fr);
|
| 218 |
-
gap: 16px;
|
| 219 |
-
margin-bottom: 80px;
|
| 220 |
-
}
|
| 221 |
-
|
| 222 |
-
.stat-card {
|
| 223 |
-
background: var(--bg-card);
|
| 224 |
-
border: 1px solid var(--border);
|
| 225 |
-
border-radius: 16px;
|
| 226 |
-
padding: 24px 20px;
|
| 227 |
-
text-align: center;
|
| 228 |
-
backdrop-filter: blur(16px);
|
| 229 |
-
transition: all 0.3s ease;
|
| 230 |
-
}
|
| 231 |
-
.stat-card:hover {
|
| 232 |
-
border-color: var(--border-accent);
|
| 233 |
-
transform: translateY(-4px);
|
| 234 |
-
background: var(--bg-card-hover);
|
| 235 |
-
}
|
| 236 |
-
|
| 237 |
-
.stat-num {
|
| 238 |
-
font-family: 'Outfit', sans-serif;
|
| 239 |
-
font-size: 38px;
|
| 240 |
-
font-weight: 800;
|
| 241 |
-
color: #fff;
|
| 242 |
-
letter-spacing: -1px;
|
| 243 |
-
margin-bottom: 4px;
|
| 244 |
-
}
|
| 245 |
-
.stat-cyan { color: var(--cyan); }
|
| 246 |
-
.stat-green { color: var(--success); }
|
| 247 |
-
|
| 248 |
-
.stat-label {
|
| 249 |
-
font-size: 12px;
|
| 250 |
-
color: var(--text-muted);
|
| 251 |
-
text-transform: uppercase;
|
| 252 |
-
font-weight: 600;
|
| 253 |
-
letter-spacing: 0.8px;
|
| 254 |
-
}
|
| 255 |
-
|
| 256 |
-
/* SECTION HEADERS */
|
| 257 |
-
.section-header {
|
| 258 |
-
text-align: center;
|
| 259 |
-
margin-bottom: 48px;
|
| 260 |
-
}
|
| 261 |
-
.section-header h3 {
|
| 262 |
-
font-family: 'Outfit', sans-serif;
|
| 263 |
-
font-size: 34px;
|
| 264 |
-
font-weight: 700;
|
| 265 |
-
letter-spacing: -0.8px;
|
| 266 |
-
margin-bottom: 12px;
|
| 267 |
-
}
|
| 268 |
-
.section-header p {
|
| 269 |
-
color: var(--text-muted);
|
| 270 |
-
font-size: 15px;
|
| 271 |
-
max-width: 600px;
|
| 272 |
-
margin: 0 auto;
|
| 273 |
-
}
|
| 274 |
-
|
| 275 |
-
/* INTERACTIVE SIMULATOR */
|
| 276 |
-
.simulator-card {
|
| 277 |
-
background: var(--bg-card);
|
| 278 |
-
border: 1px solid var(--border-accent);
|
| 279 |
-
border-radius: 20px;
|
| 280 |
-
padding: 36px;
|
| 281 |
-
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.08);
|
| 282 |
-
margin-bottom: 80px;
|
| 283 |
-
}
|
| 284 |
-
|
| 285 |
-
.sim-top {
|
| 286 |
-
display: flex;
|
| 287 |
-
justify-content: space-between;
|
| 288 |
-
align-items: center;
|
| 289 |
-
margin-bottom: 24px;
|
| 290 |
-
flex-wrap: wrap;
|
| 291 |
-
gap: 16px;
|
| 292 |
-
}
|
| 293 |
-
|
| 294 |
-
.sim-title {
|
| 295 |
-
font-family: 'Outfit', sans-serif;
|
| 296 |
-
font-size: 20px;
|
| 297 |
-
font-weight: 700;
|
| 298 |
-
display: flex;
|
| 299 |
-
align-items: center;
|
| 300 |
-
gap: 10px;
|
| 301 |
-
}
|
| 302 |
-
|
| 303 |
-
.sim-controls {
|
| 304 |
-
display: flex;
|
| 305 |
-
gap: 10px;
|
| 306 |
-
}
|
| 307 |
-
|
| 308 |
-
.scenario-btn {
|
| 309 |
-
padding: 8px 14px;
|
| 310 |
-
background: rgba(255, 255, 255, 0.04);
|
| 311 |
-
border: 1px solid var(--border);
|
| 312 |
-
border-radius: 8px;
|
| 313 |
-
color: var(--text-muted);
|
| 314 |
-
font-size: 12px;
|
| 315 |
-
font-weight: 600;
|
| 316 |
-
cursor: pointer;
|
| 317 |
-
transition: all 0.2s;
|
| 318 |
-
}
|
| 319 |
-
.scenario-btn.active, .scenario-btn:hover {
|
| 320 |
-
background: rgba(0, 229, 255, 0.12);
|
| 321 |
-
border-color: var(--cyan);
|
| 322 |
-
color: #fff;
|
| 323 |
-
}
|
| 324 |
-
|
| 325 |
-
.sim-input-box {
|
| 326 |
-
width: 100%;
|
| 327 |
-
background: rgba(0, 0, 0, 0.45);
|
| 328 |
-
border: 1px solid var(--border);
|
| 329 |
-
border-radius: 12px;
|
| 330 |
-
padding: 16px;
|
| 331 |
-
font-family: monospace;
|
| 332 |
-
font-size: 13px;
|
| 333 |
-
color: #e2e8f0;
|
| 334 |
-
margin-bottom: 24px;
|
| 335 |
-
min-height: 85px;
|
| 336 |
-
line-height: 1.5;
|
| 337 |
-
resize: vertical;
|
| 338 |
-
outline: none;
|
| 339 |
-
transition: all 0.2s;
|
| 340 |
-
}
|
| 341 |
-
.sim-input-box:focus {
|
| 342 |
-
border-color: var(--cyan);
|
| 343 |
-
box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
|
| 344 |
-
}
|
| 345 |
-
|
| 346 |
-
.sim-run-bar {
|
| 347 |
-
display: flex;
|
| 348 |
-
justify-content: space-between;
|
| 349 |
-
align-items: center;
|
| 350 |
-
margin-bottom: 28px;
|
| 351 |
-
padding-bottom: 24px;
|
| 352 |
-
border-bottom: 1px solid var(--border);
|
| 353 |
-
}
|
| 354 |
-
|
| 355 |
-
.run-btn {
|
| 356 |
-
padding: 12px 24px;
|
| 357 |
-
background: linear-gradient(135deg, var(--blue), var(--cyan));
|
| 358 |
-
border: none;
|
| 359 |
-
border-radius: 10px;
|
| 360 |
-
color: #000;
|
| 361 |
-
font-family: 'Outfit', sans-serif;
|
| 362 |
-
font-size: 14px;
|
| 363 |
-
font-weight: 700;
|
| 364 |
-
cursor: pointer;
|
| 365 |
-
transition: all 0.2s;
|
| 366 |
-
display: inline-flex;
|
| 367 |
-
align-items: center;
|
| 368 |
-
gap: 8px;
|
| 369 |
-
}
|
| 370 |
-
.run-btn:hover {
|
| 371 |
-
transform: scale(1.02);
|
| 372 |
-
box-shadow: 0 0 24px var(--cyan-glow);
|
| 373 |
-
}
|
| 374 |
-
|
| 375 |
-
.sim-meta-tags {
|
| 376 |
-
display: flex;
|
| 377 |
-
gap: 16px;
|
| 378 |
-
font-size: 12px;
|
| 379 |
-
color: var(--text-muted);
|
| 380 |
-
}
|
| 381 |
-
.meta-tag {
|
| 382 |
-
background: rgba(255, 255, 255, 0.03);
|
| 383 |
-
padding: 6px 12px;
|
| 384 |
-
border-radius: 6px;
|
| 385 |
-
border: 1px solid var(--border);
|
| 386 |
-
}
|
| 387 |
-
.meta-tag strong {
|
| 388 |
-
color: #fff;
|
| 389 |
-
}
|
| 390 |
-
|
| 391 |
-
/* OUTPUT GRID */
|
| 392 |
-
.sim-output-grid {
|
| 393 |
-
display: grid;
|
| 394 |
-
grid-template-columns: repeat(3, 1fr);
|
| 395 |
-
gap: 18px;
|
| 396 |
-
}
|
| 397 |
-
|
| 398 |
-
.primitive-box {
|
| 399 |
-
background: rgba(0, 0, 0, 0.35);
|
| 400 |
-
border: 1px solid var(--border);
|
| 401 |
-
border-radius: 12px;
|
| 402 |
-
padding: 20px;
|
| 403 |
-
position: relative;
|
| 404 |
-
overflow: hidden;
|
| 405 |
-
}
|
| 406 |
-
.primitive-box::before {
|
| 407 |
-
content: '';
|
| 408 |
-
position: absolute;
|
| 409 |
-
top: 0;
|
| 410 |
-
left: 0;
|
| 411 |
-
right: 0;
|
| 412 |
-
height: 2px;
|
| 413 |
-
background: linear-gradient(90deg, var(--blue), var(--cyan));
|
| 414 |
-
}
|
| 415 |
-
|
| 416 |
-
.prim-head {
|
| 417 |
-
display: flex;
|
| 418 |
-
justify-content: space-between;
|
| 419 |
-
align-items: center;
|
| 420 |
-
margin-bottom: 12px;
|
| 421 |
-
}
|
| 422 |
-
.prim-name {
|
| 423 |
-
font-size: 11px;
|
| 424 |
-
text-transform: uppercase;
|
| 425 |
-
letter-spacing: 1px;
|
| 426 |
-
font-weight: 700;
|
| 427 |
-
color: var(--cyan);
|
| 428 |
-
}
|
| 429 |
-
.prim-badge {
|
| 430 |
-
font-size: 10px;
|
| 431 |
-
background: rgba(0, 229, 255, 0.1);
|
| 432 |
-
padding: 2px 8px;
|
| 433 |
-
border-radius: 4px;
|
| 434 |
-
color: #fff;
|
| 435 |
-
}
|
| 436 |
-
|
| 437 |
-
.prim-val {
|
| 438 |
-
font-family: 'Outfit', sans-serif;
|
| 439 |
-
font-size: 18px;
|
| 440 |
-
font-weight: 700;
|
| 441 |
-
color: #fff;
|
| 442 |
-
margin-bottom: 10px;
|
| 443 |
-
}
|
| 444 |
-
|
| 445 |
-
.prob-bar-container {
|
| 446 |
-
background: rgba(255, 255, 255, 0.06);
|
| 447 |
-
height: 6px;
|
| 448 |
-
border-radius: 3px;
|
| 449 |
-
overflow: hidden;
|
| 450 |
-
margin-bottom: 6px;
|
| 451 |
-
}
|
| 452 |
-
.prob-bar {
|
| 453 |
-
height: 100%;
|
| 454 |
-
background: linear-gradient(90deg, var(--blue), var(--cyan));
|
| 455 |
-
border-radius: 3px;
|
| 456 |
-
transition: width 0.4s ease;
|
| 457 |
-
}
|
| 458 |
-
.prim-desc {
|
| 459 |
-
font-size: 11px;
|
| 460 |
-
color: var(--text-muted);
|
| 461 |
-
}
|
| 462 |
-
|
| 463 |
-
/* AUTONOMOUS AGENT SIMULATOR */
|
| 464 |
-
.agent-sim-card {
|
| 465 |
-
background: var(--bg-card);
|
| 466 |
-
border: 1px solid var(--border-accent);
|
| 467 |
-
border-radius: 20px;
|
| 468 |
-
padding: 32px;
|
| 469 |
-
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.08);
|
| 470 |
-
margin-bottom: 80px;
|
| 471 |
-
}
|
| 472 |
-
.canvas-container {
|
| 473 |
-
position: relative;
|
| 474 |
-
width: 100%;
|
| 475 |
-
background: #06090f;
|
| 476 |
-
border: 1px solid rgba(0, 229, 255, 0.25);
|
| 477 |
-
border-radius: 14px;
|
| 478 |
-
overflow: hidden;
|
| 479 |
-
margin: 20px 0;
|
| 480 |
-
box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.85);
|
| 481 |
-
}
|
| 482 |
-
#simCanvas {
|
| 483 |
-
width: 100%;
|
| 484 |
-
height: auto;
|
| 485 |
-
display: block;
|
| 486 |
-
cursor: crosshair;
|
| 487 |
-
}
|
| 488 |
-
.sim-mode-toggle {
|
| 489 |
-
display: inline-flex;
|
| 490 |
-
background: rgba(0, 0, 0, 0.55);
|
| 491 |
-
border: 1px solid var(--border);
|
| 492 |
-
border-radius: 10px;
|
| 493 |
-
padding: 4px;
|
| 494 |
-
gap: 6px;
|
| 495 |
-
}
|
| 496 |
-
.mode-btn {
|
| 497 |
-
padding: 8px 16px;
|
| 498 |
-
border-radius: 7px;
|
| 499 |
-
border: none;
|
| 500 |
-
font-size: 13px;
|
| 501 |
-
font-weight: 600;
|
| 502 |
-
cursor: pointer;
|
| 503 |
-
color: var(--text-muted);
|
| 504 |
-
background: transparent;
|
| 505 |
-
transition: all 0.2s;
|
| 506 |
-
}
|
| 507 |
-
.mode-btn.active-prokope {
|
| 508 |
-
background: linear-gradient(135deg, var(--blue), var(--cyan));
|
| 509 |
-
color: #000;
|
| 510 |
-
font-weight: 700;
|
| 511 |
-
box-shadow: 0 0 15px var(--cyan-glow);
|
| 512 |
-
}
|
| 513 |
-
.mode-btn.active-cloud {
|
| 514 |
-
background: linear-gradient(135deg, #d50000, #ff5252);
|
| 515 |
-
color: #fff;
|
| 516 |
-
font-weight: 700;
|
| 517 |
-
box-shadow: 0 0 15px rgba(255, 23, 68, 0.4);
|
| 518 |
-
}
|
| 519 |
-
.agent-hud {
|
| 520 |
-
display: grid;
|
| 521 |
-
grid-template-columns: repeat(4, 1fr);
|
| 522 |
-
gap: 14px;
|
| 523 |
-
background: rgba(0, 0, 0, 0.35);
|
| 524 |
-
border: 1px solid var(--border);
|
| 525 |
-
border-radius: 12px;
|
| 526 |
-
padding: 16px 20px;
|
| 527 |
-
}
|
| 528 |
-
.hud-stat-title {
|
| 529 |
-
font-size: 11px;
|
| 530 |
-
text-transform: uppercase;
|
| 531 |
-
letter-spacing: 0.8px;
|
| 532 |
-
color: var(--text-muted);
|
| 533 |
-
margin-bottom: 4px;
|
| 534 |
-
}
|
| 535 |
-
.hud-stat-val {
|
| 536 |
-
font-family: 'Outfit', sans-serif;
|
| 537 |
-
font-size: 17px;
|
| 538 |
-
font-weight: 700;
|
| 539 |
-
color: #fff;
|
| 540 |
-
}
|
| 541 |
-
@media (max-width: 768px) {
|
| 542 |
-
.agent-hud { grid-template-columns: repeat(2, 1fr); }
|
| 543 |
-
}
|
| 544 |
-
|
| 545 |
-
/* LEADERBOARD TABLE */
|
| 546 |
-
.table-container {
|
| 547 |
-
background: var(--bg-card);
|
| 548 |
-
border: 1px solid var(--border);
|
| 549 |
-
border-radius: 20px;
|
| 550 |
-
overflow-x: auto;
|
| 551 |
-
-webkit-overflow-scrolling: touch;
|
| 552 |
-
margin-bottom: 80px;
|
| 553 |
-
}
|
| 554 |
-
|
| 555 |
-
table {
|
| 556 |
-
width: 100%;
|
| 557 |
-
border-collapse: collapse;
|
| 558 |
-
text-align: left;
|
| 559 |
-
font-size: 14px;
|
| 560 |
-
min-width: 620px;
|
| 561 |
-
}
|
| 562 |
-
|
| 563 |
-
th {
|
| 564 |
-
background: rgba(0, 0, 0, 0.4);
|
| 565 |
-
padding: 16px 20px;
|
| 566 |
-
color: var(--text-muted);
|
| 567 |
-
font-weight: 600;
|
| 568 |
-
text-transform: uppercase;
|
| 569 |
-
font-size: 11px;
|
| 570 |
-
letter-spacing: 0.8px;
|
| 571 |
-
border-bottom: 1px solid var(--border);
|
| 572 |
-
white-space: nowrap;
|
| 573 |
-
}
|
| 574 |
-
|
| 575 |
-
td {
|
| 576 |
-
padding: 18px 20px;
|
| 577 |
-
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
|
| 578 |
-
white-space: nowrap;
|
| 579 |
-
}
|
| 580 |
-
|
| 581 |
-
tr:hover td {
|
| 582 |
-
background: rgba(255, 255, 255, 0.02);
|
| 583 |
-
}
|
| 584 |
-
|
| 585 |
-
tr.highlight td {
|
| 586 |
-
background: rgba(0, 229, 255, 0.04);
|
| 587 |
-
border-top: 1px solid rgba(0, 229, 255, 0.2);
|
| 588 |
-
border-bottom: 1px solid rgba(0, 229, 255, 0.2);
|
| 589 |
-
}
|
| 590 |
-
|
| 591 |
-
.model-cell {
|
| 592 |
-
display: flex;
|
| 593 |
-
align-items: center;
|
| 594 |
-
gap: 10px;
|
| 595 |
-
font-weight: 600;
|
| 596 |
-
color: #fff;
|
| 597 |
-
}
|
| 598 |
-
.model-gold {
|
| 599 |
-
color: #ffd700;
|
| 600 |
-
}
|
| 601 |
-
|
| 602 |
-
.table-swipe-hint {
|
| 603 |
-
display: none;
|
| 604 |
-
align-items: center;
|
| 605 |
-
gap: 6px;
|
| 606 |
-
font-size: 11px;
|
| 607 |
-
color: var(--cyan);
|
| 608 |
-
margin-bottom: 10px;
|
| 609 |
-
justify-content: flex-end;
|
| 610 |
-
}
|
| 611 |
-
|
| 612 |
-
/* DIRECT SPACE LAUNCH BANNER */
|
| 613 |
-
.space-launch-banner {
|
| 614 |
-
background: linear-gradient(135deg, rgba(13, 24, 45, 0.95), rgba(6, 15, 30, 0.95));
|
| 615 |
-
border: 1px solid var(--border-accent);
|
| 616 |
-
border-radius: 14px;
|
| 617 |
-
padding: 16px 24px;
|
| 618 |
-
margin-top: 24px;
|
| 619 |
-
margin-bottom: 24px;
|
| 620 |
-
display: flex;
|
| 621 |
-
justify-content: space-between;
|
| 622 |
-
align-items: center;
|
| 623 |
-
gap: 16px;
|
| 624 |
-
flex-wrap: wrap;
|
| 625 |
-
box-shadow: 0 4px 20px rgba(0, 229, 255, 0.12);
|
| 626 |
-
}
|
| 627 |
-
|
| 628 |
-
/* FOOTER */
|
| 629 |
-
footer {
|
| 630 |
-
border-top: 1px solid var(--border);
|
| 631 |
-
padding: 48px 0;
|
| 632 |
-
text-align: center;
|
| 633 |
-
color: var(--text-muted);
|
| 634 |
-
font-size: 13px;
|
| 635 |
-
}
|
| 636 |
-
footer a {
|
| 637 |
-
color: var(--cyan);
|
| 638 |
-
text-decoration: none;
|
| 639 |
-
}
|
| 640 |
-
|
| 641 |
-
/* COMPREHENSIVE RESPONSIVE DESIGN & MOBILE LAYOUT */
|
| 642 |
-
@media (max-width: 900px) {
|
| 643 |
-
.hero h2 { font-size: 40px; letter-spacing: -1px; }
|
| 644 |
-
.stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
|
| 645 |
-
.sim-output-grid { grid-template-columns: 1fr; gap: 14px; }
|
| 646 |
-
.simulator-card, .agent-sim-card { padding: 26px 20px; }
|
| 647 |
-
}
|
| 648 |
-
|
| 649 |
-
@media (max-width: 768px) {
|
| 650 |
-
.container { padding: 0 16px; }
|
| 651 |
-
|
| 652 |
-
header { padding: 16px 0; }
|
| 653 |
-
.nav-inner {
|
| 654 |
-
flex-direction: column;
|
| 655 |
-
gap: 14px;
|
| 656 |
-
align-items: center;
|
| 657 |
-
text-align: center;
|
| 658 |
-
}
|
| 659 |
-
.brand { justify-content: center; }
|
| 660 |
-
.nav-links {
|
| 661 |
-
width: 100%;
|
| 662 |
-
justify-content: center;
|
| 663 |
-
flex-wrap: wrap;
|
| 664 |
-
gap: 8px;
|
| 665 |
-
}
|
| 666 |
-
.nav-btn {
|
| 667 |
-
padding: 8px 14px;
|
| 668 |
-
font-size: 12px;
|
| 669 |
-
}
|
| 670 |
-
|
| 671 |
-
.space-launch-banner {
|
| 672 |
-
flex-direction: column;
|
| 673 |
-
align-items: stretch;
|
| 674 |
-
text-align: center;
|
| 675 |
-
padding: 16px;
|
| 676 |
-
}
|
| 677 |
-
.space-launch-banner > div {
|
| 678 |
-
flex-direction: column;
|
| 679 |
-
text-align: center;
|
| 680 |
-
}
|
| 681 |
-
.space-launch-banner .run-btn {
|
| 682 |
-
width: 100%;
|
| 683 |
-
justify-content: center;
|
| 684 |
-
}
|
| 685 |
-
|
| 686 |
-
.hero { padding: 48px 0 32px; }
|
| 687 |
-
.hero h2 { font-size: 32px; line-height: 1.2; }
|
| 688 |
-
.hero-sub { font-size: 15px; margin-bottom: 24px; }
|
| 689 |
-
.creator-attestation {
|
| 690 |
-
flex-direction: column;
|
| 691 |
-
gap: 4px;
|
| 692 |
-
font-size: 12px;
|
| 693 |
-
padding: 10px 14px;
|
| 694 |
-
text-align: center;
|
| 695 |
-
margin-bottom: 32px;
|
| 696 |
-
}
|
| 697 |
-
|
| 698 |
-
.stats-grid {
|
| 699 |
-
grid-template-columns: repeat(2, 1fr);
|
| 700 |
-
gap: 10px;
|
| 701 |
-
margin-bottom: 48px;
|
| 702 |
-
}
|
| 703 |
-
.stat-card { padding: 18px 12px; border-radius: 12px; }
|
| 704 |
-
.stat-num { font-size: 26px; }
|
| 705 |
-
.stat-label { font-size: 10px; letter-spacing: 0.5px; }
|
| 706 |
-
|
| 707 |
-
.section-header { margin-bottom: 28px; }
|
| 708 |
-
.section-header h3 { font-size: 24px; }
|
| 709 |
-
.section-header p { font-size: 13px; }
|
| 710 |
-
|
| 711 |
-
.simulator-card, .agent-sim-card {
|
| 712 |
-
padding: 18px 14px;
|
| 713 |
-
border-radius: 16px;
|
| 714 |
-
margin-bottom: 48px;
|
| 715 |
-
}
|
| 716 |
-
.sim-top {
|
| 717 |
-
flex-direction: column;
|
| 718 |
-
align-items: stretch;
|
| 719 |
-
gap: 12px;
|
| 720 |
-
}
|
| 721 |
-
.sim-title { font-size: 17px; }
|
| 722 |
-
.sim-controls {
|
| 723 |
-
display: grid;
|
| 724 |
-
grid-template-columns: repeat(2, 1fr);
|
| 725 |
-
gap: 8px;
|
| 726 |
-
width: 100%;
|
| 727 |
-
}
|
| 728 |
-
.scenario-btn {
|
| 729 |
-
text-align: center;
|
| 730 |
-
padding: 9px 8px;
|
| 731 |
-
font-size: 11px;
|
| 732 |
-
}
|
| 733 |
-
|
| 734 |
-
.sim-input-box {
|
| 735 |
-
font-size: 12px;
|
| 736 |
-
padding: 12px;
|
| 737 |
-
margin-bottom: 16px;
|
| 738 |
-
}
|
| 739 |
-
|
| 740 |
-
.sim-run-bar {
|
| 741 |
-
flex-direction: column;
|
| 742 |
-
align-items: stretch;
|
| 743 |
-
gap: 14px;
|
| 744 |
-
padding-bottom: 16px;
|
| 745 |
-
margin-bottom: 20px;
|
| 746 |
-
}
|
| 747 |
-
.run-btn {
|
| 748 |
-
width: 100%;
|
| 749 |
-
justify-content: center;
|
| 750 |
-
padding: 13px 20px;
|
| 751 |
-
font-size: 13px;
|
| 752 |
-
}
|
| 753 |
-
.sim-meta-tags {
|
| 754 |
-
flex-direction: column;
|
| 755 |
-
gap: 6px;
|
| 756 |
-
width: 100%;
|
| 757 |
-
}
|
| 758 |
-
.meta-tag {
|
| 759 |
-
text-align: center;
|
| 760 |
-
font-size: 11px;
|
| 761 |
-
padding: 6px 10px;
|
| 762 |
-
}
|
| 763 |
-
|
| 764 |
-
/* Highway Sim Controls on mobile */
|
| 765 |
-
.agent-sim-card .sim-top > div:last-child {
|
| 766 |
-
width: 100%;
|
| 767 |
-
flex-direction: column;
|
| 768 |
-
align-items: stretch !important;
|
| 769 |
-
gap: 8px !important;
|
| 770 |
-
}
|
| 771 |
-
.sim-mode-toggle {
|
| 772 |
-
width: 100%;
|
| 773 |
-
display: flex;
|
| 774 |
-
}
|
| 775 |
-
.mode-btn {
|
| 776 |
-
flex: 1;
|
| 777 |
-
text-align: center;
|
| 778 |
-
font-size: 11px;
|
| 779 |
-
padding: 8px 6px;
|
| 780 |
-
}
|
| 781 |
-
|
| 782 |
-
.agent-hud {
|
| 783 |
-
grid-template-columns: repeat(2, 1fr);
|
| 784 |
-
gap: 10px;
|
| 785 |
-
padding: 12px;
|
| 786 |
-
}
|
| 787 |
-
.hud-stat-title { font-size: 9px; }
|
| 788 |
-
.hud-stat-val { font-size: 13px; }
|
| 789 |
-
|
| 790 |
-
/* Table responsive scroll */
|
| 791 |
-
.table-container {
|
| 792 |
-
border-radius: 14px;
|
| 793 |
-
margin-bottom: 48px;
|
| 794 |
-
}
|
| 795 |
-
table {
|
| 796 |
-
min-width: 620px;
|
| 797 |
-
font-size: 12px;
|
| 798 |
-
}
|
| 799 |
-
th, td {
|
| 800 |
-
padding: 12px 14px;
|
| 801 |
-
}
|
| 802 |
-
|
| 803 |
-
.table-swipe-hint {
|
| 804 |
-
display: flex !important;
|
| 805 |
-
}
|
| 806 |
-
}
|
| 807 |
-
|
| 808 |
-
@media (max-width: 480px) {
|
| 809 |
-
.hero h2 { font-size: 26px; }
|
| 810 |
-
.badge { font-size: 10px; padding: 4px 10px; }
|
| 811 |
-
.stats-grid { grid-template-columns: 1fr; }
|
| 812 |
-
.sim-controls { grid-template-columns: 1fr; }
|
| 813 |
-
.brand-text h1 { font-size: 18px; }
|
| 814 |
-
.brand-logo { width: 36px; height: 36px; }
|
| 815 |
-
}
|
| 816 |
-
</style>
|
| 817 |
-
</head>
|
| 818 |
-
<body>
|
| 819 |
-
|
| 820 |
-
<!-- HEADER -->
|
| 821 |
-
<header>
|
| 822 |
-
<div class="container nav-inner">
|
| 823 |
-
<a href="https://huggingface.co/ProKope-AI" class="brand">
|
| 824 |
-
<img src="logo.jpg" alt="ProKope AI Logo" class="brand-logo" onerror="this.style.display='none'">
|
| 825 |
-
<div class="brand-text">
|
| 826 |
-
<h1>PROKOPE AI</h1>
|
| 827 |
-
<p>Sovereign Decision Systems</p>
|
| 828 |
-
</div>
|
| 829 |
-
</a>
|
| 830 |
-
<div class="nav-links">
|
| 831 |
-
<a href="https://huggingface.co/ProKope-AI/ProKope-421M" class="nav-btn btn-secondary" target="_blank">Model Card</a>
|
| 832 |
-
<a href="https://huggingface.co/datasets/LocalLLaMA/typed-decisions" class="nav-btn btn-secondary" target="_blank">Benchmark</a>
|
| 833 |
-
<a href="https://huggingface.co/ProKope-AI/ProKope-421M" class="nav-btn btn-primary" target="_blank">Explore ProKope-421M ↗</a>
|
| 834 |
-
</div>
|
| 835 |
-
</div>
|
| 836 |
-
</header>
|
| 837 |
-
|
| 838 |
-
<main class="container">
|
| 839 |
-
<!-- DIRECT SPACE LAUNCH BANNER -->
|
| 840 |
-
<div class="space-launch-banner">
|
| 841 |
-
<div style="display: flex; align-items: center; gap: 14px;">
|
| 842 |
-
<span style="font-size: 26px;">🏎️</span>
|
| 843 |
-
<div>
|
| 844 |
-
<strong style="color: #fff; font-size: 15px;">Live 60 FPS Autonomous Hazard & Decision Simulators Active</strong>
|
| 845 |
-
<p style="color: var(--text-muted); font-size: 13px; margin: 0;">Play the real-time Highway Collision Evasion physics simulation and test System 1 decision heads in full interactive mode.</p>
|
| 846 |
-
</div>
|
| 847 |
-
</div>
|
| 848 |
-
<a href="https://huggingface.co/spaces/ProKope-AI/README" target="_blank" class="run-btn" style="text-decoration: none; padding: 12px 22px; font-size: 13px; border-radius: 9px; white-space: nowrap;">
|
| 849 |
-
<span>⚡ Launch Live Interactive Space ↗</span>
|
| 850 |
-
</a>
|
| 851 |
-
</div>
|
| 852 |
-
|
| 853 |
-
<!-- HERO -->
|
| 854 |
-
<section class="hero">
|
| 855 |
-
<div class="badge">
|
| 856 |
-
<span class="badge-dot"></span> Official Organization Hub
|
| 857 |
-
</div>
|
| 858 |
-
<h2>
|
| 859 |
-
High-Speed <span class="hero-gradient">System 1</span> Decision Intelligence
|
| 860 |
-
</h2>
|
| 861 |
-
<p class="hero-sub">
|
| 862 |
-
Replacing slow, expensive autoregressive cloud generation with single-forward-pass deterministic decision models. Sub-25ms latency, zero output tokens, and 71.40% benchmark accuracy.
|
| 863 |
-
</p>
|
| 864 |
-
<div class="creator-attestation">
|
| 865 |
-
<span>Conceived & Engineered by Creator: <strong>Alan Canto</strong></span>
|
| 866 |
-
<span>•</span>
|
| 867 |
-
<span>Framework Architect: <strong>Wesley Foreman</strong></span>
|
| 868 |
-
<span>•</span>
|
| 869 |
-
<span>Air-Gapped Sovereign Deployment</span>
|
| 870 |
-
</div>
|
| 871 |
-
</section>
|
| 872 |
-
|
| 873 |
-
<!-- STATS GRID -->
|
| 874 |
-
<section class="stats-grid">
|
| 875 |
-
<div class="stat-card">
|
| 876 |
-
<div class="stat-num stat-cyan">71.40%</div>
|
| 877 |
-
<div class="stat-label">Benchmark Accuracy</div>
|
| 878 |
-
</div>
|
| 879 |
-
<div class="stat-card">
|
| 880 |
-
<div class="stat-num stat-green"><25 ms</div>
|
| 881 |
-
<div class="stat-label">Inference Latency</div>
|
| 882 |
-
</div>
|
| 883 |
-
<div class="stat-card">
|
| 884 |
-
<div class="stat-num">0 Tokens</div>
|
| 885 |
-
<div class="stat-label">Output Overhead</div>
|
| 886 |
-
</div>
|
| 887 |
-
<div class="stat-card">
|
| 888 |
-
<div class="stat-num stat-cyan">83x</div>
|
| 889 |
-
<div class="stat-label">Compute Efficiency vs 35B</div>
|
| 890 |
-
</div>
|
| 891 |
-
</section>
|
| 892 |
-
|
| 893 |
-
<!-- LIVE SIMULATOR -->
|
| 894 |
-
<section>
|
| 895 |
-
<div class="section-header">
|
| 896 |
-
<h3>Live System 1 Decision Simulator</h3>
|
| 897 |
-
<p>Experience zero-token non-autoregressive decision classification in real time.</p>
|
| 898 |
-
</div>
|
| 899 |
-
|
| 900 |
-
<div class="simulator-card">
|
| 901 |
-
<div class="sim-top">
|
| 902 |
-
<div class="sim-title">
|
| 903 |
-
<span style="color: var(--cyan)">⚡</span> Select Production Scenario
|
| 904 |
-
</div>
|
| 905 |
-
<div class="sim-controls">
|
| 906 |
-
<button class="scenario-btn active" onclick="setScenario(0)">Cloud Incident</button>
|
| 907 |
-
<button class="scenario-btn" onclick="setScenario(1)">Invoice Auditing</button>
|
| 908 |
-
<button class="scenario-btn" onclick="setScenario(2)">SOC Security Breach</button>
|
| 909 |
-
<button class="scenario-btn" onclick="setScenario(3)">Customer Service</button>
|
| 910 |
-
</div>
|
| 911 |
-
</div>
|
| 912 |
-
|
| 913 |
-
<textarea class="sim-input-box" id="sim-input" rows="3" spellcheck="false" placeholder="Enter custom state or select a scenario above..."></textarea>
|
| 914 |
-
|
| 915 |
-
<div class="sim-run-bar">
|
| 916 |
-
<button class="run-btn" id="run-btn" onclick="runSimulation()">
|
| 917 |
-
<span>⚡ Execute Single Forward Pass</span>
|
| 918 |
-
</button>
|
| 919 |
-
<div class="sim-meta-tags">
|
| 920 |
-
<div class="meta-tag">Latency: <strong id="latency-val">21.8 ms</strong></div>
|
| 921 |
-
<div class="meta-tag">Output Tokens: <strong>0 (Non-Autoregressive)</strong></div>
|
| 922 |
-
<div class="meta-tag">Hardware: <strong>Local Consumer GPU</strong></div>
|
| 923 |
-
</div>
|
| 924 |
-
</div>
|
| 925 |
-
|
| 926 |
-
<!-- OUTPUT PRIMITIVES -->
|
| 927 |
-
<div class="sim-output-grid">
|
| 928 |
-
<div class="primitive-box">
|
| 929 |
-
<div class="prim-head">
|
| 930 |
-
<span class="prim-name">Choice (Categorical Routing)</span>
|
| 931 |
-
<span class="prim-badge">Softmax Dist</span>
|
| 932 |
-
</div>
|
| 933 |
-
<div class="prim-val" id="choice-val">Infrastructure Pressure</div>
|
| 934 |
-
<div class="prob-bar-container">
|
| 935 |
-
<div class="prob-bar" id="choice-bar" style="width: 94.2%"></div>
|
| 936 |
-
</div>
|
| 937 |
-
<div class="prim-desc" id="choice-desc">Calibrated Confidence: 94.2%</div>
|
| 938 |
-
</div>
|
| 939 |
-
|
| 940 |
-
<div class="primitive-box">
|
| 941 |
-
<div class="prim-head">
|
| 942 |
-
<span class="prim-name">Noul (Boolean Verification)</span>
|
| 943 |
-
<span class="prim-badge">True / False</span>
|
| 944 |
-
</div>
|
| 945 |
-
<div class="prim-val" id="noul-val" style="color: #ff5252">YES (Escalate On-Call)</div>
|
| 946 |
-
<div class="prob-bar-container">
|
| 947 |
-
<div class="prob-bar" id="noul-bar" style="width: 98.7%; background: linear-gradient(90deg, #ff5252, #ff7b7b)"></div>
|
| 948 |
-
</div>
|
| 949 |
-
<div class="prim-desc" id="noul-desc">Threshold Probability: 0.987</div>
|
| 950 |
-
</div>
|
| 951 |
-
|
| 952 |
-
<div class="primitive-box">
|
| 953 |
-
<div class="prim-head">
|
| 954 |
-
<span class="prim-name">Score (Severity Rating)</span>
|
| 955 |
-
<span class="prim-badge">Continuous [0, 1]</span>
|
| 956 |
-
</div>
|
| 957 |
-
<div class="prim-val" id="score-val" style="color: #ffd700">0.880 — Critical</div>
|
| 958 |
-
<div class="prob-bar-container">
|
| 959 |
-
<div class="prob-bar" id="score-bar" style="width: 88%; background: linear-gradient(90deg, #ff9100, #ffd700)"></div>
|
| 960 |
-
</div>
|
| 961 |
-
<div class="prim-desc" id="score-desc">Calibrated Continuous Score</div>
|
| 962 |
-
</div>
|
| 963 |
-
</div>
|
| 964 |
-
</div>
|
| 965 |
-
</section>
|
| 966 |
-
|
| 967 |
-
<!-- REAL-TIME EDGE AGENT SIMULATOR -->
|
| 968 |
-
<section>
|
| 969 |
-
<div class="section-header">
|
| 970 |
-
<div class="badge" style="margin-bottom: 12px;">
|
| 971 |
-
<span class="badge-dot"></span> Edge Robotics & Closed-Loop Control
|
| 972 |
-
</div>
|
| 973 |
-
<h3>Real-Time Highway Hazard Evasion Simulator</h3>
|
| 974 |
-
<p>Witness why 20ms System 1 decision models can pilot high-speed autonomous agents where cloud LLMs crash.</p>
|
| 975 |
-
</div>
|
| 976 |
-
|
| 977 |
-
<div class="agent-sim-card">
|
| 978 |
-
<div class="sim-top">
|
| 979 |
-
<div>
|
| 980 |
-
<div class="sim-title">
|
| 981 |
-
<span style="color: var(--cyan)">🏎️</span> Highway Collision Avoidance Vector
|
| 982 |
-
</div>
|
| 983 |
-
<p style="font-size: 13px; color: var(--text-muted); margin-top: 4px;">Click any lane on the road to manually spawn hazard roadblocks.</p>
|
| 984 |
-
</div>
|
| 985 |
-
<div style="display: flex; gap: 12px; align-items: center; flex-wrap: wrap;">
|
| 986 |
-
<div class="sim-mode-toggle">
|
| 987 |
-
<button class="mode-btn active-prokope" id="btn-mode-prokope" onclick="setAgentMode('prokope')">⚡ ProKope-421M (<25ms)</button>
|
| 988 |
-
<button class="mode-btn" id="btn-mode-cloud" onclick="setAgentMode('cloud')">⏳ Cloud LLM (1.2s Lag)</button>
|
| 989 |
-
</div>
|
| 990 |
-
<button class="scenario-btn" onclick="spawnHazardManual()">⚠️ Drop Hazard</button>
|
| 991 |
-
<button class="scenario-btn" onclick="resetAgentSim()">🔄 Reset</button>
|
| 992 |
-
</div>
|
| 993 |
-
</div>
|
| 994 |
-
|
| 995 |
-
<div class="canvas-container">
|
| 996 |
-
<canvas id="simCanvas" width="860" height="320"></canvas>
|
| 997 |
-
</div>
|
| 998 |
-
|
| 999 |
-
<div class="agent-hud">
|
| 1000 |
-
<div>
|
| 1001 |
-
<div class="hud-stat-title">Decision Latency</div>
|
| 1002 |
-
<div class="hud-stat-val" id="hud-latency" style="color: var(--cyan);"><21.4 ms</div>
|
| 1003 |
-
</div>
|
| 1004 |
-
<div>
|
| 1005 |
-
<div class="hud-stat-title">Choice (Maneuver)</div>
|
| 1006 |
-
<div class="hud-stat-val" id="hud-choice">Lane 2 (Cruising)</div>
|
| 1007 |
-
</div>
|
| 1008 |
-
<div>
|
| 1009 |
-
<div class="hud-stat-title">Noul (Collision Hazard)</div>
|
| 1010 |
-
<div class="hud-stat-val" id="hud-noul" style="color: #00e676;">CLEAR (0.021)</div>
|
| 1011 |
-
</div>
|
| 1012 |
-
<div>
|
| 1013 |
-
<div class="hud-stat-title">Score (Throttle / Speed)</div>
|
| 1014 |
-
<div class="hud-stat-val" id="hud-score" style="color: #ffd700;">0.850 (65 MPH)</div>
|
| 1015 |
-
</div>
|
| 1016 |
-
</div>
|
| 1017 |
-
</div>
|
| 1018 |
-
</section>
|
| 1019 |
-
|
| 1020 |
-
<!-- BENCHMARK TABLE -->
|
| 1021 |
-
<section>
|
| 1022 |
-
<div class="section-header">
|
| 1023 |
-
<h3>LocalLLaMA Typed-Decisions Benchmark</h3>
|
| 1024 |
-
<p>Empirical performance across 400 test cases and 2,000 calibrated decisions.</p>
|
| 1025 |
-
</div>
|
| 1026 |
-
|
| 1027 |
-
<div class="table-swipe-hint">
|
| 1028 |
-
<span>⇄ Swipe table horizontally to view full metrics</span>
|
| 1029 |
-
</div>
|
| 1030 |
-
<div class="table-container">
|
| 1031 |
-
<table>
|
| 1032 |
-
<thead>
|
| 1033 |
-
<tr>
|
| 1034 |
-
<th>Model Architecture</th>
|
| 1035 |
-
<th>Parameters</th>
|
| 1036 |
-
<th>Mode</th>
|
| 1037 |
-
<th>Accuracy ↑</th>
|
| 1038 |
-
<th>Brier Score ↓</th>
|
| 1039 |
-
<th>p50 Latency</th>
|
| 1040 |
-
</tr>
|
| 1041 |
-
</thead>
|
| 1042 |
-
<tbody>
|
| 1043 |
-
<tr>
|
| 1044 |
-
<td><span class="model-cell">Featherless Simple Jev (Cloud)</span></td>
|
| 1045 |
-
<td>35,000M (35B)</td>
|
| 1046 |
-
<td>General (Zero-Shot)</td>
|
| 1047 |
-
<td><strong>71.60%</strong></td>
|
| 1048 |
-
<td>0.110</td>
|
| 1049 |
-
<td>~1,200 ms</td>
|
| 1050 |
-
</tr>
|
| 1051 |
-
<tr class="highlight">
|
| 1052 |
-
<td><span class="model-cell model-gold">🥇 ProKope-421M</span></td>
|
| 1053 |
-
<td><strong>421M (0.42B)</strong></td>
|
| 1054 |
-
<td><strong>Specialist (Sovereign)</strong></td>
|
| 1055 |
-
<td><strong style="color: var(--cyan)">71.40%</strong></td>
|
| 1056 |
-
<td><strong style="color: var(--cyan)">0.071</strong></td>
|
| 1057 |
-
<td><strong style="color: var(--cyan)"><25 ms</strong></td>
|
| 1058 |
-
</tr>
|
| 1059 |
-
<tr>
|
| 1060 |
-
<td><span class="model-cell">prima-ratio + 12B (Cloud)</span></td>
|
| 1061 |
-
<td>12,000M (12B)</td>
|
| 1062 |
-
<td>General (Zero-Shot)</td>
|
| 1063 |
-
<td>70.20%</td>
|
| 1064 |
-
<td>0.125</td>
|
| 1065 |
-
<td>~700 ms</td>
|
| 1066 |
-
</tr>
|
| 1067 |
-
<tr>
|
| 1068 |
-
<td><span class="model-cell">oscar-1-400m</span></td>
|
| 1069 |
-
<td>400M (0.40B)</td>
|
| 1070 |
-
<td>Specialist</td>
|
| 1071 |
-
<td>70.00%</td>
|
| 1072 |
-
<td>0.062</td>
|
| 1073 |
-
<td>~35 ms</td>
|
| 1074 |
-
</tr>
|
| 1075 |
-
<tr>
|
| 1076 |
-
<td><span class="model-cell">Bekko System One v0 (Benchmark Baseline)</span></td>
|
| 1077 |
-
<td>400M (0.40B)</td>
|
| 1078 |
-
<td>Specialist</td>
|
| 1079 |
-
<td>66.80%</td>
|
| 1080 |
-
<td>0.113</td>
|
| 1081 |
-
<td>808 ms</td>
|
| 1082 |
-
</tr>
|
| 1083 |
-
<tr>
|
| 1084 |
-
<td><span class="model-cell">ModernBERT-base (Benchmark Baseline)</span></td>
|
| 1085 |
-
<td>149M (0.15B)</td>
|
| 1086 |
-
<td>Specialist</td>
|
| 1087 |
-
<td>64.60%</td>
|
| 1088 |
-
<td>0.119</td>
|
| 1089 |
-
<td>349 ms</td>
|
| 1090 |
-
</tr>
|
| 1091 |
-
</tbody>
|
| 1092 |
-
</table>
|
| 1093 |
-
</div>
|
| 1094 |
-
</section>
|
| 1095 |
-
</main>
|
| 1096 |
-
|
| 1097 |
-
<!-- FOOTER -->
|
| 1098 |
-
<footer>
|
| 1099 |
-
<div class="container">
|
| 1100 |
-
<p style="margin-bottom: 8px;">
|
| 1101 |
-
<strong>ProKope AI</strong> — Conceived, Engineered and Led by Creator: <strong>Alan Canto</strong> • Framework Architecture by <strong>Wesley Foreman</strong>
|
| 1102 |
-
</p>
|
| 1103 |
-
<p>
|
| 1104 |
-
Weights Protected under Manual Approval (<code>CC-BY-NC-4.0</code>) • Commercial Inquiries: <a href="mailto:prokope.model@gmail.com">prokope.model@gmail.com</a> • Official Repo: <a href="https://huggingface.co/ProKope-AI/ProKope-421M" target="_blank">ProKope-AI/ProKope-421M</a>
|
| 1105 |
-
</p>
|
| 1106 |
-
</div>
|
| 1107 |
-
</footer>
|
| 1108 |
-
|
| 1109 |
-
<script>
|
| 1110 |
-
const scenarios = [
|
| 1111 |
-
{
|
| 1112 |
-
text: "Production API Gateway Alert: 504 Gateway Timeout spiked to 14.8%. Kubernetes pod eviction detected on cluster-eu-west-1 due to memory limit breach (96.4%). Database connection pool exhausted.",
|
| 1113 |
-
choice: "Infrastructure Resource Exhaustion",
|
| 1114 |
-
choiceBar: "95.6%",
|
| 1115 |
-
choiceDesc: "Confidence: 95.6% (Top Category)",
|
| 1116 |
-
noul: "YES (Page Tier-3 On-Call)",
|
| 1117 |
-
noulBar: "98.7%",
|
| 1118 |
-
noulColor: "#ff5252",
|
| 1119 |
-
noulDesc: "Threshold Probability: 0.987",
|
| 1120 |
-
score: "0.880 — Critical Incident",
|
| 1121 |
-
scoreBar: "88%",
|
| 1122 |
-
scoreColor: "#ffd700",
|
| 1123 |
-
scoreDesc: "Business Impact: Critical"
|
| 1124 |
-
},
|
| 1125 |
-
{
|
| 1126 |
-
text: "Invoice Reconcile Audit: Vendor PO #84102 billed for 500 units steel conduit @ $42.50. Bill of lading shows only 350 units received at Dock 4. Mismatch delta: $6,375.00.",
|
| 1127 |
-
choice: "Quantity Discrepancy (Dock Hold)",
|
| 1128 |
-
choiceBar: "92.4%",
|
| 1129 |
-
choiceDesc: "Confidence: 92.4% (Discrepancy)",
|
| 1130 |
-
noul: "YES (Hold Payment Release)",
|
| 1131 |
-
noulBar: "96.1%",
|
| 1132 |
-
noulColor: "#ff9100",
|
| 1133 |
-
noulDesc: "Discrepancy Gate: Positive",
|
| 1134 |
-
score: "0.640 — Moderate Variance",
|
| 1135 |
-
scoreBar: "64%",
|
| 1136 |
-
scoreColor: "#00e5ff",
|
| 1137 |
-
scoreDesc: "Severity Scalar: 0.640"
|
| 1138 |
-
},
|
| 1139 |
-
{
|
| 1140 |
-
text: "SOC Triage Alert: Outbound beaconing detected from internal staging host 10.24.1.82 to unindexed external IP in ASN 41382. Pass-the-hash authentication attempt intercepted on Active Directory DC.",
|
| 1141 |
-
choice: "Lateral Movement & Compromise",
|
| 1142 |
-
choiceBar: "98.1%",
|
| 1143 |
-
choiceDesc: "Confidence: 98.1% (Malicious)",
|
| 1144 |
-
noul: "YES (Isolate Host Immediately)",
|
| 1145 |
-
noulBar: "99.4%",
|
| 1146 |
-
noulColor: "#ff1744",
|
| 1147 |
-
noulDesc: "Action Threshold: 0.994",
|
| 1148 |
-
score: "0.950 — Emergency Active Breach",
|
| 1149 |
-
scoreBar: "95%",
|
| 1150 |
-
scoreColor: "#ff1744",
|
| 1151 |
-
scoreDesc: "Threat Score: 0.950"
|
| 1152 |
-
},
|
| 1153 |
-
{
|
| 1154 |
-
text: "Enterprise Support Escalation: Strategic account (ARR > $150k) experiencing repeated 502 Bad Gateway failures on checkout service during peak traffic. Customer threatens account churn within 1 hour.",
|
| 1155 |
-
choice: "High-Priority SLA Breach Risk",
|
| 1156 |
-
choiceBar: "96.8%",
|
| 1157 |
-
choiceDesc: "Confidence: 96.8% (Tier-1 SLA)",
|
| 1158 |
-
noul: "YES (Page Enterprise Engineering Lead)",
|
| 1159 |
-
noulBar: "99.1%",
|
| 1160 |
-
noulColor: "#ff1744",
|
| 1161 |
-
noulDesc: "Escalation Probability: 0.991",
|
| 1162 |
-
score: "0.920 — Urgent Escalation",
|
| 1163 |
-
scoreBar: "92%",
|
| 1164 |
-
scoreColor: "#ff5252",
|
| 1165 |
-
scoreDesc: "Severity Scalar: 0.920"
|
| 1166 |
-
}
|
| 1167 |
-
];
|
| 1168 |
-
|
| 1169 |
-
let currentScenario = 0;
|
| 1170 |
-
let isComputing = false;
|
| 1171 |
-
|
| 1172 |
-
function setScenario(idx) {
|
| 1173 |
-
currentScenario = idx;
|
| 1174 |
-
document.querySelectorAll('.scenario-btn').forEach((b, i) => {
|
| 1175 |
-
b.classList.toggle('active', i === idx);
|
| 1176 |
-
});
|
| 1177 |
-
document.getElementById('sim-input').value = scenarios[idx].text;
|
| 1178 |
-
runSimulation();
|
| 1179 |
-
}
|
| 1180 |
-
|
| 1181 |
-
function evaluateCustomInput(raw) {
|
| 1182 |
-
const lower = raw.toLowerCase();
|
| 1183 |
-
if (lower.includes('breach') || lower.includes('beacon') || lower.includes('exploit') || lower.includes('malicious') || lower.includes('hack') || lower.includes('auth') || lower.includes('credential')) {
|
| 1184 |
-
return {
|
| 1185 |
-
choice: "Security Incident / Breach Triage",
|
| 1186 |
-
choiceBar: "97.5%",
|
| 1187 |
-
choiceDesc: "Confidence: 97.5% (High Confidence)",
|
| 1188 |
-
noul: "YES (Isolate Host & Trigger SOC)",
|
| 1189 |
-
noulBar: "98.9%",
|
| 1190 |
-
noulColor: "#ff1744",
|
| 1191 |
-
noulDesc: "Action Probability: 0.989",
|
| 1192 |
-
score: "0.930 — Critical Threat",
|
| 1193 |
-
scoreBar: "93%",
|
| 1194 |
-
scoreColor: "#ff1744",
|
| 1195 |
-
scoreDesc: "Threat Score: 0.930"
|
| 1196 |
-
};
|
| 1197 |
-
} else if (lower.includes('invoice') || lower.includes('bill') || lower.includes('po ') || lower.includes('price') || lower.includes('vendor') || lower.includes('dollar') || lower.includes('$') || lower.includes('discrepancy')) {
|
| 1198 |
-
return {
|
| 1199 |
-
choice: "Invoice Discrepancy & Reconciliation",
|
| 1200 |
-
choiceBar: "93.8%",
|
| 1201 |
-
choiceDesc: "Confidence: 93.8% (Audit Gate)",
|
| 1202 |
-
noul: "YES (Hold Payment Release)",
|
| 1203 |
-
noulBar: "96.4%",
|
| 1204 |
-
noulColor: "#ff9100",
|
| 1205 |
-
noulDesc: "Variance Threshold: 0.964",
|
| 1206 |
-
score: "0.670 — Moderate Variance",
|
| 1207 |
-
scoreBar: "67%",
|
| 1208 |
-
scoreColor: "#00e5ff",
|
| 1209 |
-
scoreDesc: "Variance Scalar: 0.670"
|
| 1210 |
-
};
|
| 1211 |
-
} else if (lower.includes('customer') || lower.includes('support') || lower.includes('churn') || lower.includes('client') || lower.includes('ticket') || lower.includes('sla') || lower.includes('complaint')) {
|
| 1212 |
-
return {
|
| 1213 |
-
choice: "Customer Escalation & Priority Routing",
|
| 1214 |
-
choiceBar: "95.2%",
|
| 1215 |
-
choiceDesc: "Confidence: 95.2% (SLA Escalation)",
|
| 1216 |
-
noul: "YES (Escalate to Leadership)",
|
| 1217 |
-
noulBar: "97.8%",
|
| 1218 |
-
noulColor: "#ff5252",
|
| 1219 |
-
noulDesc: "Escalation Probability: 0.978",
|
| 1220 |
-
score: "0.890 — High Urgency",
|
| 1221 |
-
scoreBar: "89%",
|
| 1222 |
-
scoreColor: "#ffd700",
|
| 1223 |
-
scoreDesc: "Priority Scalar: 0.890"
|
| 1224 |
-
};
|
| 1225 |
-
} else {
|
| 1226 |
-
return {
|
| 1227 |
-
choice: "System Telemetry & Resource Analysis",
|
| 1228 |
-
choiceBar: "94.6%",
|
| 1229 |
-
choiceDesc: "Confidence: 94.6% (Top Category)",
|
| 1230 |
-
noul: "YES (Trigger Operational Alert)",
|
| 1231 |
-
noulBar: "97.2%",
|
| 1232 |
-
noulColor: "#ff5252",
|
| 1233 |
-
noulDesc: "Alert Probability: 0.972",
|
| 1234 |
-
score: "0.840 — High Priority",
|
| 1235 |
-
scoreBar: "84%",
|
| 1236 |
-
scoreColor: "#ffd700",
|
| 1237 |
-
scoreDesc: "Severity Scalar: 0.840"
|
| 1238 |
-
};
|
| 1239 |
-
}
|
| 1240 |
-
}
|
| 1241 |
-
|
| 1242 |
-
function runSimulation() {
|
| 1243 |
-
if (isComputing) return;
|
| 1244 |
-
isComputing = true;
|
| 1245 |
-
|
| 1246 |
-
const btn = document.getElementById('run-btn');
|
| 1247 |
-
btn.disabled = true;
|
| 1248 |
-
btn.style.opacity = '0.75';
|
| 1249 |
-
btn.innerHTML = '<span>⚡ Computing Tensors...</span>';
|
| 1250 |
-
|
| 1251 |
-
const inputVal = (document.getElementById('sim-input').value || '').trim();
|
| 1252 |
-
let s = scenarios[currentScenario];
|
| 1253 |
-
|
| 1254 |
-
// If user typed custom input distinct from the current preset, run heuristic inference
|
| 1255 |
-
if (inputVal && inputVal !== scenarios[currentScenario]?.text) {
|
| 1256 |
-
s = evaluateCustomInput(inputVal);
|
| 1257 |
-
document.querySelectorAll('.scenario-btn').forEach(b => b.classList.remove('active'));
|
| 1258 |
-
}
|
| 1259 |
-
|
| 1260 |
-
setTimeout(() => {
|
| 1261 |
-
const ms = (19 + Math.random() * 5).toFixed(1);
|
| 1262 |
-
document.getElementById('latency-val').innerText = ms + ' ms';
|
| 1263 |
-
|
| 1264 |
-
document.getElementById('choice-val').innerText = s.choice;
|
| 1265 |
-
document.getElementById('choice-bar').style.width = s.choiceBar;
|
| 1266 |
-
document.getElementById('choice-desc').innerText = s.choiceDesc;
|
| 1267 |
-
|
| 1268 |
-
document.getElementById('noul-val').innerText = s.noul;
|
| 1269 |
-
document.getElementById('noul-val').style.color = s.noulColor;
|
| 1270 |
-
document.getElementById('noul-bar').style.width = s.noulBar;
|
| 1271 |
-
document.getElementById('noul-bar').style.background = s.noulColor;
|
| 1272 |
-
document.getElementById('noul-desc').innerText = s.noulDesc;
|
| 1273 |
-
|
| 1274 |
-
document.getElementById('score-val').innerText = s.score;
|
| 1275 |
-
document.getElementById('score-val').style.color = s.scoreColor;
|
| 1276 |
-
document.getElementById('score-bar').style.width = s.scoreBar;
|
| 1277 |
-
document.getElementById('score-bar').style.background = s.scoreColor;
|
| 1278 |
-
document.getElementById('score-desc').innerText = s.scoreDesc;
|
| 1279 |
-
|
| 1280 |
-
btn.disabled = false;
|
| 1281 |
-
btn.style.opacity = '1';
|
| 1282 |
-
btn.innerHTML = '<span>⚡ Execute Single Forward Pass</span>';
|
| 1283 |
-
isComputing = false;
|
| 1284 |
-
}, 120);
|
| 1285 |
-
}
|
| 1286 |
-
|
| 1287 |
-
// Initialize with first scenario
|
| 1288 |
-
setScenario(0);
|
| 1289 |
-
|
| 1290 |
-
// =========================================================================
|
| 1291 |
-
// REAL-TIME HIGHWAY HAZARD EVASION SIMULATOR (SYSTEM 1 CLOSED-LOOP ENGINE)
|
| 1292 |
-
// =========================================================================
|
| 1293 |
-
const canvas = document.getElementById('simCanvas');
|
| 1294 |
-
const ctx = canvas.getContext('2d');
|
| 1295 |
-
|
| 1296 |
-
let agentMode = 'prokope'; // 'prokope' or 'cloud'
|
| 1297 |
-
let roadOffset = 0;
|
| 1298 |
-
let frameCount = 0;
|
| 1299 |
-
let obstacles = [];
|
| 1300 |
-
let particles = [];
|
| 1301 |
-
let explosions = [];
|
| 1302 |
-
let screenShake = 0;
|
| 1303 |
-
let cloudTimer = 0; // frames delayed
|
| 1304 |
-
let cloudState = 'normal'; // 'normal', 'thinking', 'crashed'
|
| 1305 |
-
let cloudProgress = 0;
|
| 1306 |
-
|
| 1307 |
-
const lanes = [65, 160, 255]; // Y coordinates of lane centers
|
| 1308 |
-
|
| 1309 |
-
const car = {
|
| 1310 |
-
x: 120,
|
| 1311 |
-
y: 160,
|
| 1312 |
-
lane: 1,
|
| 1313 |
-
targetLane: 1,
|
| 1314 |
-
width: 62,
|
| 1315 |
-
height: 32,
|
| 1316 |
-
speed: 65,
|
| 1317 |
-
isCrashed: false
|
| 1318 |
-
};
|
| 1319 |
-
|
| 1320 |
-
function setAgentMode(mode) {
|
| 1321 |
-
agentMode = mode;
|
| 1322 |
-
document.getElementById('btn-mode-prokope').className = mode === 'prokope' ? 'mode-btn active-prokope' : 'mode-btn';
|
| 1323 |
-
document.getElementById('btn-mode-cloud').className = mode === 'cloud' ? 'mode-btn active-cloud' : 'mode-btn';
|
| 1324 |
-
resetAgentSim();
|
| 1325 |
-
}
|
| 1326 |
-
|
| 1327 |
-
function resetAgentSim() {
|
| 1328 |
-
obstacles = [];
|
| 1329 |
-
particles = [];
|
| 1330 |
-
explosions = [];
|
| 1331 |
-
car.lane = 1;
|
| 1332 |
-
car.targetLane = 1;
|
| 1333 |
-
car.y = lanes[1];
|
| 1334 |
-
car.isCrashed = false;
|
| 1335 |
-
cloudTimer = 0;
|
| 1336 |
-
cloudState = 'normal';
|
| 1337 |
-
cloudProgress = 0;
|
| 1338 |
-
updateHud();
|
| 1339 |
-
}
|
| 1340 |
-
|
| 1341 |
-
function spawnHazard(laneIdx, customX = 880) {
|
| 1342 |
-
obstacles.push({
|
| 1343 |
-
x: customX,
|
| 1344 |
-
y: lanes[laneIdx],
|
| 1345 |
-
lane: laneIdx,
|
| 1346 |
-
width: 44,
|
| 1347 |
-
height: 32,
|
| 1348 |
-
passed: false,
|
| 1349 |
-
evaluated: false
|
| 1350 |
-
});
|
| 1351 |
-
}
|
| 1352 |
-
|
| 1353 |
-
function spawnHazardManual() {
|
| 1354 |
-
// Spawn hazard in current lane of the car
|
| 1355 |
-
spawnHazard(car.lane, 860);
|
| 1356 |
-
}
|
| 1357 |
-
|
| 1358 |
-
// Canvas click & touch to spawn hazard in specific lane
|
| 1359 |
-
function handleCanvasInteraction(clientX, clientY) {
|
| 1360 |
-
const rect = canvas.getBoundingClientRect();
|
| 1361 |
-
const scaleY = canvas.height / rect.height;
|
| 1362 |
-
const clickY = (clientY - rect.top) * scaleY;
|
| 1363 |
-
let clickedLane = 1;
|
| 1364 |
-
if (clickY < 110) clickedLane = 0;
|
| 1365 |
-
else if (clickY > 210) clickedLane = 2;
|
| 1366 |
-
spawnHazard(clickedLane, 860);
|
| 1367 |
-
}
|
| 1368 |
-
|
| 1369 |
-
canvas.addEventListener('click', (e) => {
|
| 1370 |
-
handleCanvasInteraction(e.clientX, e.clientY);
|
| 1371 |
-
});
|
| 1372 |
-
|
| 1373 |
-
canvas.addEventListener('touchstart', (e) => {
|
| 1374 |
-
if (e.touches && e.touches.length > 0) {
|
| 1375 |
-
e.preventDefault();
|
| 1376 |
-
handleCanvasInteraction(e.touches[0].clientX, e.touches[0].clientY);
|
| 1377 |
-
}
|
| 1378 |
-
}, { passive: false });
|
| 1379 |
-
|
| 1380 |
-
function updateHud() {
|
| 1381 |
-
const latEl = document.getElementById('hud-latency');
|
| 1382 |
-
const choEl = document.getElementById('hud-choice');
|
| 1383 |
-
const nouEl = document.getElementById('hud-noul');
|
| 1384 |
-
const scoEl = document.getElementById('hud-score');
|
| 1385 |
-
|
| 1386 |
-
if (agentMode === 'prokope') {
|
| 1387 |
-
latEl.style.color = 'var(--cyan)';
|
| 1388 |
-
latEl.innerText = '<21.4 ms';
|
| 1389 |
-
choEl.innerText = `Lane ${car.targetLane + 1} (${car.lane !== car.targetLane ? 'Evasion Vector' : 'Cruising'})`;
|
| 1390 |
-
nouEl.style.color = car.isCrashed ? '#ff1744' : (car.lane !== car.targetLane ? '#ffd700' : '#00e676');
|
| 1391 |
-
nouEl.innerText = car.isCrashed ? 'CRASH (0.999)' : (car.lane !== car.targetLane ? 'HAZARD: EVADING (0.994)' : 'CLEAR (0.012)');
|
| 1392 |
-
scoEl.innerText = `0.850 (${car.speed} MPH)`;
|
| 1393 |
-
} else {
|
| 1394 |
-
if (cloudState === 'thinking') {
|
| 1395 |
-
latEl.style.color = '#ff9100';
|
| 1396 |
-
latEl.innerText = '1,200 ms (Awaiting Tokens...)';
|
| 1397 |
-
choEl.innerText = 'STREAMING JSON...';
|
| 1398 |
-
nouEl.style.color = '#ff9100';
|
| 1399 |
-
nouEl.innerText = 'PROCESSING (Pending)';
|
| 1400 |
-
scoEl.innerText = '0.000 (Stalled)';
|
| 1401 |
-
} else if (cloudState === 'crashed') {
|
| 1402 |
-
latEl.style.color = '#ff1744';
|
| 1403 |
-
latEl.innerText = '1,240 ms (Reaction Failed)';
|
| 1404 |
-
choEl.innerText = '💥 IMPACT CRASH';
|
| 1405 |
-
nouEl.style.color = '#ff1744';
|
| 1406 |
-
nouEl.innerText = 'FATAL BREACH';
|
| 1407 |
-
scoEl.innerText = '0.000 (Impact)';
|
| 1408 |
-
} else {
|
| 1409 |
-
latEl.style.color = '#ff9100';
|
| 1410 |
-
latEl.innerText = '~1,200 ms (Cloud SLA)';
|
| 1411 |
-
choEl.innerText = `Lane ${car.lane + 1} (Cruising)`;
|
| 1412 |
-
nouEl.style.color = '#00e676';
|
| 1413 |
-
nouEl.innerText = 'CLEAR (0.015)';
|
| 1414 |
-
scoEl.innerText = `0.850 (${car.speed} MPH)`;
|
| 1415 |
-
}
|
| 1416 |
-
}
|
| 1417 |
-
}
|
| 1418 |
-
|
| 1419 |
-
function createExplosion(x, y) {
|
| 1420 |
-
screenShake = 16;
|
| 1421 |
-
for (let i = 0; i < 35; i++) {
|
| 1422 |
-
const angle = Math.random() * Math.PI * 2;
|
| 1423 |
-
const spd = 2 + Math.random() * 6;
|
| 1424 |
-
explosions.push({
|
| 1425 |
-
x: x,
|
| 1426 |
-
y: y,
|
| 1427 |
-
vx: Math.cos(angle) * spd,
|
| 1428 |
-
vy: Math.sin(angle) * spd,
|
| 1429 |
-
radius: 2 + Math.random() * 4,
|
| 1430 |
-
life: 1.0,
|
| 1431 |
-
color: Math.random() > 0.4 ? '#ff1744' : '#ff9100'
|
| 1432 |
-
});
|
| 1433 |
-
}
|
| 1434 |
-
}
|
| 1435 |
-
|
| 1436 |
-
function loop() {
|
| 1437 |
-
frameCount++;
|
| 1438 |
-
roadOffset = (roadOffset + 8) % 40;
|
| 1439 |
-
|
| 1440 |
-
// Screen shake damping
|
| 1441 |
-
let offsetX = 0;
|
| 1442 |
-
let offsetY = 0;
|
| 1443 |
-
if (screenShake > 0) {
|
| 1444 |
-
offsetX = (Math.random() - 0.5) * screenShake;
|
| 1445 |
-
offsetY = (Math.random() - 0.5) * screenShake;
|
| 1446 |
-
screenShake *= 0.85;
|
| 1447 |
-
if (screenShake < 0.5) screenShake = 0;
|
| 1448 |
-
}
|
| 1449 |
-
|
| 1450 |
-
ctx.save();
|
| 1451 |
-
ctx.translate(offsetX, offsetY);
|
| 1452 |
-
|
| 1453 |
-
// Clear canvas
|
| 1454 |
-
ctx.fillStyle = '#06090f';
|
| 1455 |
-
ctx.fillRect(-20, -20, canvas.width + 40, canvas.height + 40);
|
| 1456 |
-
|
| 1457 |
-
// Draw road asphalt
|
| 1458 |
-
ctx.fillStyle = '#0b0f19';
|
| 1459 |
-
ctx.fillRect(0, 10, canvas.width, 300);
|
| 1460 |
-
|
| 1461 |
-
// Road outer border lines
|
| 1462 |
-
ctx.strokeStyle = 'rgba(0, 229, 255, 0.4)';
|
| 1463 |
-
ctx.lineWidth = 3;
|
| 1464 |
-
ctx.shadowBlur = 8;
|
| 1465 |
-
ctx.shadowColor = 'var(--cyan)';
|
| 1466 |
-
ctx.beginPath();
|
| 1467 |
-
ctx.moveTo(0, 10);
|
| 1468 |
-
ctx.lineTo(canvas.width, 10);
|
| 1469 |
-
ctx.moveTo(0, 310);
|
| 1470 |
-
ctx.lineTo(canvas.width, 310);
|
| 1471 |
-
ctx.stroke();
|
| 1472 |
-
ctx.shadowBlur = 0;
|
| 1473 |
-
|
| 1474 |
-
// Dashed lane dividers
|
| 1475 |
-
ctx.strokeStyle = 'rgba(255, 255, 255, 0.15)';
|
| 1476 |
-
ctx.lineWidth = 2;
|
| 1477 |
-
ctx.setLineDash([25, 20]);
|
| 1478 |
-
ctx.lineDashOffset = -roadOffset;
|
| 1479 |
-
ctx.beginPath();
|
| 1480 |
-
ctx.moveTo(0, 110);
|
| 1481 |
-
ctx.lineTo(canvas.width, 110);
|
| 1482 |
-
ctx.moveTo(0, 210);
|
| 1483 |
-
ctx.lineTo(canvas.width, 210);
|
| 1484 |
-
ctx.stroke();
|
| 1485 |
-
ctx.setLineDash([]);
|
| 1486 |
-
|
| 1487 |
-
// Auto-spawn obstacles
|
| 1488 |
-
if (frameCount % 130 === 0 && !car.isCrashed) {
|
| 1489 |
-
// Pick a random lane
|
| 1490 |
-
const randLane = Math.floor(Math.random() * 3);
|
| 1491 |
-
spawnHazard(randLane);
|
| 1492 |
-
}
|
| 1493 |
-
|
| 1494 |
-
// Smooth vehicle lane interpolation
|
| 1495 |
-
const targetY = lanes[car.targetLane];
|
| 1496 |
-
if (!car.isCrashed) {
|
| 1497 |
-
car.y += (targetY - car.y) * 0.16;
|
| 1498 |
-
if (Math.abs(car.y - targetY) < 1.5) {
|
| 1499 |
-
car.lane = car.targetLane;
|
| 1500 |
-
}
|
| 1501 |
-
}
|
| 1502 |
-
|
| 1503 |
-
// Exhaust particles
|
| 1504 |
-
if (!car.isCrashed && frameCount % 2 === 0) {
|
| 1505 |
-
particles.push({
|
| 1506 |
-
x: car.x - 28,
|
| 1507 |
-
y: car.y + (Math.random() - 0.5) * 6,
|
| 1508 |
-
vx: -(3 + Math.random() * 2),
|
| 1509 |
-
vy: (Math.random() - 0.5) * 1.5,
|
| 1510 |
-
life: 1.0,
|
| 1511 |
-
color: agentMode === 'prokope' ? 'rgba(0, 229, 255,' : 'rgba(255, 82, 82,'
|
| 1512 |
-
});
|
| 1513 |
-
}
|
| 1514 |
-
|
| 1515 |
-
// Draw & update exhaust particles
|
| 1516 |
-
for (let i = particles.length - 1; i >= 0; i--) {
|
| 1517 |
-
const p = particles[i];
|
| 1518 |
-
p.x += p.vx;
|
| 1519 |
-
p.y += p.vy;
|
| 1520 |
-
p.life -= 0.05;
|
| 1521 |
-
if (p.life <= 0) {
|
| 1522 |
-
particles.splice(i, 1);
|
| 1523 |
-
continue;
|
| 1524 |
-
}
|
| 1525 |
-
ctx.fillStyle = `${p.color} ${p.life})`;
|
| 1526 |
-
ctx.beginPath();
|
| 1527 |
-
ctx.arc(p.x, p.y, 2.5 * p.life, 0, Math.PI * 2);
|
| 1528 |
-
ctx.fill();
|
| 1529 |
-
}
|
| 1530 |
-
|
| 1531 |
-
// Sensor raycast logic
|
| 1532 |
-
const sensorRange = 300;
|
| 1533 |
-
let imminentHazard = null;
|
| 1534 |
-
|
| 1535 |
-
// Move & render obstacles
|
| 1536 |
-
for (let i = obstacles.length - 1; i >= 0; i--) {
|
| 1537 |
-
const obs = obstacles[i];
|
| 1538 |
-
if (!car.isCrashed) {
|
| 1539 |
-
obs.x -= 5.5;
|
| 1540 |
-
}
|
| 1541 |
-
|
| 1542 |
-
// Check if obstacle is inside sensor cone (same lane, ahead of car)
|
| 1543 |
-
if (obs.lane === car.targetLane && obs.x > car.x && obs.x < car.x + sensorRange) {
|
| 1544 |
-
imminentHazard = obs;
|
| 1545 |
-
}
|
| 1546 |
-
|
| 1547 |
-
// Collision check
|
| 1548 |
-
const xDist = Math.abs(obs.x - car.x);
|
| 1549 |
-
const yDist = Math.abs(obs.y - car.y);
|
| 1550 |
-
if (xDist < 45 && yDist < 25 && !car.isCrashed) {
|
| 1551 |
-
car.isCrashed = true;
|
| 1552 |
-
createExplosion(car.x + 20, car.y);
|
| 1553 |
-
if (agentMode === 'cloud') {
|
| 1554 |
-
cloudState = 'crashed';
|
| 1555 |
-
}
|
| 1556 |
-
updateHud();
|
| 1557 |
-
setTimeout(() => {
|
| 1558 |
-
resetAgentSim();
|
| 1559 |
-
}, 2400);
|
| 1560 |
-
}
|
| 1561 |
-
|
| 1562 |
-
// Remove offscreen
|
| 1563 |
-
if (obs.x < -60) {
|
| 1564 |
-
obstacles.splice(i, 1);
|
| 1565 |
-
continue;
|
| 1566 |
-
}
|
| 1567 |
-
|
| 1568 |
-
// Draw Obstacle (Futuristic Cyber-Barrier)
|
| 1569 |
-
ctx.fillStyle = '#ff1744';
|
| 1570 |
-
ctx.shadowColor = 'rgba(255, 23, 68, 0.7)';
|
| 1571 |
-
ctx.shadowBlur = 12;
|
| 1572 |
-
ctx.beginPath();
|
| 1573 |
-
if (ctx.roundRect) {
|
| 1574 |
-
ctx.roundRect(obs.x - obs.width / 2, obs.y - obs.height / 2, obs.width, obs.height, 6);
|
| 1575 |
-
} else {
|
| 1576 |
-
ctx.rect(obs.x - obs.width / 2, obs.y - obs.height / 2, obs.width, obs.height);
|
| 1577 |
-
}
|
| 1578 |
-
ctx.fill();
|
| 1579 |
-
|
| 1580 |
-
// Hazard stripes on barrier
|
| 1581 |
-
ctx.strokeStyle = '#ffffff';
|
| 1582 |
-
ctx.lineWidth = 3;
|
| 1583 |
-
ctx.beginPath();
|
| 1584 |
-
ctx.moveTo(obs.x - 12, obs.y - 10);
|
| 1585 |
-
ctx.lineTo(obs.x - 2, obs.y + 10);
|
| 1586 |
-
ctx.moveTo(obs.x + 2, obs.y - 10);
|
| 1587 |
-
ctx.lineTo(obs.x + 12, obs.y + 10);
|
| 1588 |
-
ctx.stroke();
|
| 1589 |
-
ctx.shadowBlur = 0;
|
| 1590 |
-
}
|
| 1591 |
-
|
| 1592 |
-
// Autonomous Decision Making Engine
|
| 1593 |
-
if (imminentHazard && !imminentHazard.evaluated && !car.isCrashed) {
|
| 1594 |
-
if (agentMode === 'prokope') {
|
| 1595 |
-
// PROKOPE: Sub-25ms Single Forward Pass Decision
|
| 1596 |
-
imminentHazard.evaluated = true;
|
| 1597 |
-
// Find safe lane: check which lane has no nearby obstacles
|
| 1598 |
-
const candidateLanes = [0, 1, 2].filter(l => l !== car.targetLane);
|
| 1599 |
-
// Score lanes by clearance
|
| 1600 |
-
let bestLane = candidateLanes[0];
|
| 1601 |
-
let maxClearance = -1;
|
| 1602 |
-
for (let cand of candidateLanes) {
|
| 1603 |
-
let clearance = 9999;
|
| 1604 |
-
for (let o of obstacles) {
|
| 1605 |
-
if (o.lane === cand && o.x > car.x - 50 && o.x < car.x + 500) {
|
| 1606 |
-
const dist = Math.abs(o.x - car.x);
|
| 1607 |
-
if (dist < clearance) clearance = dist;
|
| 1608 |
-
}
|
| 1609 |
-
}
|
| 1610 |
-
if (clearance > maxClearance) {
|
| 1611 |
-
maxClearance = clearance;
|
| 1612 |
-
bestLane = cand;
|
| 1613 |
-
}
|
| 1614 |
-
}
|
| 1615 |
-
|
| 1616 |
-
// Execute immediate lane swerve
|
| 1617 |
-
car.targetLane = bestLane;
|
| 1618 |
-
updateHud();
|
| 1619 |
-
} else {
|
| 1620 |
-
// CLOUD MODE: Artificial 1.2s Autoregressive Delay
|
| 1621 |
-
if (cloudState === 'normal') {
|
| 1622 |
-
cloudState = 'thinking';
|
| 1623 |
-
cloudProgress = 0;
|
| 1624 |
-
cloudTimer = 55; // ~1.1s lag
|
| 1625 |
-
updateHud();
|
| 1626 |
-
}
|
| 1627 |
-
}
|
| 1628 |
-
}
|
| 1629 |
-
|
| 1630 |
-
// Handle cloud thinking progress
|
| 1631 |
-
if (cloudState === 'thinking') {
|
| 1632 |
-
cloudProgress += 1.8;
|
| 1633 |
-
if (cloudProgress > 100) cloudProgress = 100;
|
| 1634 |
-
}
|
| 1635 |
-
|
| 1636 |
-
// Draw Lidar / Radar Sensor Raycast
|
| 1637 |
-
if (!car.isCrashed) {
|
| 1638 |
-
ctx.save();
|
| 1639 |
-
const beamColor = imminentHazard
|
| 1640 |
-
? (agentMode === 'prokope' ? 'rgba(0, 230, 118, 0.25)' : 'rgba(255, 23, 68, 0.35)')
|
| 1641 |
-
: 'rgba(0, 229, 255, 0.12)';
|
| 1642 |
-
ctx.fillStyle = beamColor;
|
| 1643 |
-
ctx.beginPath();
|
| 1644 |
-
ctx.moveTo(car.x + 30, car.y);
|
| 1645 |
-
ctx.lineTo(car.x + sensorRange, car.y - 25);
|
| 1646 |
-
ctx.lineTo(car.x + sensorRange, car.y + 25);
|
| 1647 |
-
ctx.closePath();
|
| 1648 |
-
ctx.fill();
|
| 1649 |
-
|
| 1650 |
-
// Sensor beam outline
|
| 1651 |
-
ctx.strokeStyle = imminentHazard
|
| 1652 |
-
? (agentMode === 'prokope' ? '#00e676' : '#ff1744')
|
| 1653 |
-
: 'rgba(0, 229, 255, 0.4)';
|
| 1654 |
-
ctx.lineWidth = 1.5;
|
| 1655 |
-
ctx.beginPath();
|
| 1656 |
-
ctx.moveTo(car.x + 30, car.y);
|
| 1657 |
-
ctx.lineTo(car.x + sensorRange, car.y);
|
| 1658 |
-
ctx.stroke();
|
| 1659 |
-
ctx.restore();
|
| 1660 |
-
}
|
| 1661 |
-
|
| 1662 |
-
// Draw Car (Sleek Cyber-Coupe)
|
| 1663 |
-
if (!car.isCrashed) {
|
| 1664 |
-
ctx.save();
|
| 1665 |
-
ctx.shadowColor = agentMode === 'prokope' ? 'rgba(0, 229, 255, 0.6)' : 'rgba(255, 82, 82, 0.6)';
|
| 1666 |
-
ctx.shadowBlur = 14;
|
| 1667 |
-
|
| 1668 |
-
// Main Car Body
|
| 1669 |
-
ctx.fillStyle = agentMode === 'prokope' ? '#00e5ff' : '#ff5252';
|
| 1670 |
-
ctx.beginPath();
|
| 1671 |
-
if (ctx.roundRect) {
|
| 1672 |
-
ctx.roundRect(car.x - car.width / 2, car.y - car.height / 2, car.width, car.height, 8);
|
| 1673 |
-
} else {
|
| 1674 |
-
ctx.rect(car.x - car.width / 2, car.y - car.height / 2, car.width, car.height);
|
| 1675 |
-
}
|
| 1676 |
-
ctx.fill();
|
| 1677 |
-
|
| 1678 |
-
// Cockpit canopy
|
| 1679 |
-
ctx.fillStyle = '#07090e';
|
| 1680 |
-
ctx.beginPath();
|
| 1681 |
-
if (ctx.roundRect) {
|
| 1682 |
-
ctx.roundRect(car.x - 8, car.y - 10, 26, 20, 5);
|
| 1683 |
-
} else {
|
| 1684 |
-
ctx.rect(car.x - 8, car.y - 10, 26, 20);
|
| 1685 |
-
}
|
| 1686 |
-
ctx.fill();
|
| 1687 |
-
|
| 1688 |
-
// Neon headlights
|
| 1689 |
-
ctx.fillStyle = '#ffffff';
|
| 1690 |
-
ctx.fillRect(car.x + car.width / 2 - 4, car.y - 12, 4, 6);
|
| 1691 |
-
ctx.fillRect(car.x + car.width / 2 - 4, car.y + 6, 4, 6);
|
| 1692 |
-
|
| 1693 |
-
ctx.restore();
|
| 1694 |
-
|
| 1695 |
-
// Cloud Thinking Token Balloon
|
| 1696 |
-
if (agentMode === 'cloud' && cloudState === 'thinking') {
|
| 1697 |
-
ctx.save();
|
| 1698 |
-
ctx.fillStyle = 'rgba(13, 18, 28, 0.9)';
|
| 1699 |
-
ctx.strokeStyle = '#ff9100';
|
| 1700 |
-
ctx.lineWidth = 1.5;
|
| 1701 |
-
ctx.beginPath();
|
| 1702 |
-
if (ctx.roundRect) {
|
| 1703 |
-
ctx.roundRect(car.x - 60, car.y - 55, 170, 32, 6);
|
| 1704 |
-
} else {
|
| 1705 |
-
ctx.rect(car.x - 60, car.y - 55, 170, 32);
|
| 1706 |
-
}
|
| 1707 |
-
ctx.fill();
|
| 1708 |
-
ctx.stroke();
|
| 1709 |
-
|
| 1710 |
-
ctx.fillStyle = '#ff9100';
|
| 1711 |
-
ctx.font = '10px monospace';
|
| 1712 |
-
ctx.fillText(`Generating JSON: ${Math.floor(cloudProgress)}%`, car.x - 50, car.y - 35);
|
| 1713 |
-
ctx.restore();
|
| 1714 |
-
}
|
| 1715 |
-
}
|
| 1716 |
-
|
| 1717 |
-
// Explosion Particles
|
| 1718 |
-
for (let i = explosions.length - 1; i >= 0; i--) {
|
| 1719 |
-
const ex = explosions[i];
|
| 1720 |
-
ex.x += ex.vx;
|
| 1721 |
-
ex.y += ex.vy;
|
| 1722 |
-
ex.life -= 0.035;
|
| 1723 |
-
if (ex.life <= 0) {
|
| 1724 |
-
explosions.splice(i, 1);
|
| 1725 |
-
continue;
|
| 1726 |
-
}
|
| 1727 |
-
ctx.fillStyle = ex.color;
|
| 1728 |
-
ctx.beginPath();
|
| 1729 |
-
ctx.arc(ex.x, ex.y, ex.radius * ex.life, 0, Math.PI * 2);
|
| 1730 |
-
ctx.fill();
|
| 1731 |
-
}
|
| 1732 |
-
|
| 1733 |
-
// Crash Banner Overlay
|
| 1734 |
-
if (car.isCrashed && agentMode === 'cloud') {
|
| 1735 |
-
ctx.save();
|
| 1736 |
-
ctx.fillStyle = 'rgba(255, 23, 68, 0.9)';
|
| 1737 |
-
ctx.font = 'bold 15px Outfit, sans-serif';
|
| 1738 |
-
ctx.textAlign = 'center';
|
| 1739 |
-
ctx.fillText('💥 COLLISION: 1,200ms Cloud Latency Lag Failed to Evade!', canvas.width / 2, canvas.height / 2);
|
| 1740 |
-
ctx.restore();
|
| 1741 |
-
}
|
| 1742 |
-
|
| 1743 |
-
ctx.restore();
|
| 1744 |
-
requestAnimationFrame(loop);
|
| 1745 |
-
}
|
| 1746 |
-
|
| 1747 |
-
// Start highway agent simulation loop
|
| 1748 |
-
requestAnimationFrame(loop);
|
| 1749 |
-
</script>
|
| 1750 |
-
</body>
|
| 1751 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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