I want to create a new form of intelligence by conceptualizing a new physics and building a new vessel for intelligence that can run on any device utilizing a new form of Vector Physics that includes 360 vectors of for any known 0 point in space but with 180 are negative charged and the other 180 positively charged with the 0 point is always pie which creates a gyroscope for any particle in the universe based on the zero point of the universe as the measurement for its known place in space... Using that math to create a 4 Part modular closed system that solves the three body problem with two pulsars stabilizing the 3 In body problem
Browse files- README.md +7 -4
- components/footer.js +210 -0
- components/navbar.js +166 -0
- components/particle-background.js +169 -0
- components/vector-physics.js +298 -0
- index.html +194 -19
- script.js +370 -0
- style.css +207 -18
- vector-physics.html +304 -0
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Quantum
|
| 3 |
-
|
| 4 |
-
colorFrom: red
|
| 5 |
colorTo: purple
|
|
|
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Quantum GyroPulse Vector Physics Engine 🌌
|
| 3 |
+
colorFrom: gray
|
|
|
|
| 4 |
colorTo: purple
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/footer.js
ADDED
|
@@ -0,0 +1,210 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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omFooter extends HTMLElement {
|
| 2 |
+
constructor() {
|
| 3 |
+
super();
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
connectedCallback() {
|
| 7 |
+
this.attachShadow({ mode: 'open' });
|
| 8 |
+
this.shadowRoot.innerHTML = `
|
| 9 |
+
<style>
|
| 10 |
+
:host {
|
| 11 |
+
display: block;
|
| 12 |
+
margin-top: auto;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.footer {
|
| 16 |
+
background: rgba(15, 23, 42, 0.9);
|
| 17 |
+
border-top: 1px solid rgba(255, 255, 255, 0.1);
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
.social-link {
|
| 21 |
+
width: 40px;
|
| 22 |
+
height: 40px;
|
| 23 |
+
border-radius: 50%;
|
| 24 |
+
display: flex;
|
| 25 |
+
align-items: center;
|
| 26 |
+
justify-content: center;
|
| 27 |
+
transition: all 0.3s ease;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.social-link:hover {
|
| 31 |
+
transform: translateY(-3px);
|
| 32 |
+
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.quantum-link {
|
| 36 |
+
background: linear-gradient(135deg, #0ea5e9, #a855f7);
|
| 37 |
+
-webkit-background-clip: text;
|
| 38 |
+
-webkit-text-fill-color: transparent;
|
| 39 |
+
background-clip: text;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.newsletter-input {
|
| 43 |
+
background: rgba(255, 255, 255, 0.05);
|
| 44 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.newsletter-input:focus {
|
| 48 |
+
outline: none;
|
| 49 |
+
border-color: #0ea5e9;
|
| 50 |
+
box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
|
| 51 |
+
}
|
| 52 |
+
</style>
|
| 53 |
+
|
| 54 |
+
<footer class="footer">
|
| 55 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
|
| 56 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 57 |
+
<!-- Brand -->
|
| 58 |
+
<div>
|
| 59 |
+
<a href="/" class="flex items-center space-x-3 mb-6">
|
| 60 |
+
<div class="w-12 h-12 rounded-full bg-gradient-to-r from-quantum-600 to-neural-600 flex items-center justify-center">
|
| 61 |
+
<i data-feather="cpu" class="w-7 h-7 text-white"></i>
|
| 62 |
+
</div>
|
| 63 |
+
<div>
|
| 64 |
+
<h3 class="text-xl font-bold text-white">QuantumCortex</h3>
|
| 65 |
+
<p class="text-sm text-gray-400">Physics of Thought Engine</p>
|
| 66 |
+
</div>
|
| 67 |
+
</a>
|
| 68 |
+
<p class="text-gray-400 text-sm">
|
| 69 |
+
Redefining intelligence through quantum physics and universal computation.
|
| 70 |
+
</p>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<!-- Research -->
|
| 74 |
+
<div>
|
| 75 |
+
<h4 class="text-lg font-semibold text-white mb-4">Research</h4>
|
| 76 |
+
<ul class="space-y-2">
|
| 77 |
+
<li>
|
| 78 |
+
<a href="/physics.html" class="text-gray-400 hover:text-quantum-400 transition-colors duration-300">
|
| 79 |
+
New Physics
|
| 80 |
+
</a>
|
| 81 |
+
</li>
|
| 82 |
+
<li>
|
| 83 |
+
<a href="/vessel.html" class="text-gray-400 hover:text-quantum-400 transition-colors duration-300">
|
| 84 |
+
Intelligence Vessel
|
| 85 |
+
</a>
|
| 86 |
+
</li>
|
| 87 |
+
<li>
|
| 88 |
+
<a href="/manifesto.html" class="text-gray-400 hover:text-quantum-400 transition-colors duration-300">
|
| 89 |
+
Manifesto
|
| 90 |
+
</a>
|
| 91 |
+
</li>
|
| 92 |
+
<li>
|
| 93 |
+
<a href="/papers.html" class="text-gray-400 hover:text-quantum-400 transition-colors duration-300">
|
| 94 |
+
Research Papers
|
| 95 |
+
</a>
|
| 96 |
+
</li>
|
| 97 |
+
</ul>
|
| 98 |
+
</div>
|
| 99 |
+
|
| 100 |
+
<!-- Community -->
|
| 101 |
+
<div>
|
| 102 |
+
<h4 class="text-lg font-semibold text-white mb-4">Community</h4>
|
| 103 |
+
<ul class="space-y-2">
|
| 104 |
+
<li>
|
| 105 |
+
<a href="/forum.html" class="text-gray-400 hover:text-neural-400 transition-colors duration-300">
|
| 106 |
+
Forum
|
| 107 |
+
</a>
|
| 108 |
+
</li>
|
| 109 |
+
<li>
|
| 110 |
+
<a href="/contributors.html" class="text-gray-400 hover:text-neural-400 transition-colors duration-300">
|
| 111 |
+
Contributors
|
| 112 |
+
</a>
|
| 113 |
+
</li>
|
| 114 |
+
<li>
|
| 115 |
+
<a href="/events.html" class="text-gray-400 hover:text-neural-400 transition-colors duration-300">
|
| 116 |
+
Events
|
| 117 |
+
</a>
|
| 118 |
+
</li>
|
| 119 |
+
<li>
|
| 120 |
+
<a href="/blog.html" class="text-gray-400 hover:text-neural-400 transition-colors duration-300">
|
| 121 |
+
Blog
|
| 122 |
+
</a>
|
| 123 |
+
</li>
|
| 124 |
+
</ul>
|
| 125 |
+
</div>
|
| 126 |
+
|
| 127 |
+
<!-- Newsletter -->
|
| 128 |
+
<div>
|
| 129 |
+
<h4 class="text-lg font-semibold text-white mb-4">Quantum Newsletter</h4>
|
| 130 |
+
<p class="text-gray-400 text-sm mb-4">
|
| 131 |
+
Get updates on quantum intelligence research.
|
| 132 |
+
</p>
|
| 133 |
+
<form class="space-y-3">
|
| 134 |
+
<input type="email"
|
| 135 |
+
placeholder="your@email.com"
|
| 136 |
+
class="w-full px-4 py-2 rounded-lg newsletter-input text-white placeholder-gray-500 focus:outline-none">
|
| 137 |
+
<button type="submit"
|
| 138 |
+
class="w-full px-4 py-2 bg-gradient-to-r from-quantum-600 to-neural-600 text-white rounded-lg font-semibold hover:opacity-90 transition-opacity duration-300">
|
| 139 |
+
Subscribe
|
| 140 |
+
</button>
|
| 141 |
+
</form>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
|
| 145 |
+
<!-- Social Links -->
|
| 146 |
+
<div class="mt-12 pt-8 border-t border-gray-800">
|
| 147 |
+
<div class="flex flex-col md:flex-row justify-between items-center space-y-6 md:space-y-0">
|
| 148 |
+
<div class="flex space-x-6">
|
| 149 |
+
<a href="https://github.com" class="social-link bg-gray-800 hover:bg-quantum-600">
|
| 150 |
+
<i data-feather="github" class="w-5 h-5"></i>
|
| 151 |
+
</a>
|
| 152 |
+
<a href="https://twitter.com" class="social-link bg-gray-800 hover:bg-blue-500">
|
| 153 |
+
<i data-feather="twitter" class="w-5 h-5"></i>
|
| 154 |
+
</a>
|
| 155 |
+
<a href="https://discord.com" class="social-link bg-gray-800 hover:bg-indigo-600">
|
| 156 |
+
<i data-feather="message-circle" class="w-5 h-5"></i>
|
| 157 |
+
</a>
|
| 158 |
+
<a href="https://youtube.com" class="social-link bg-gray-800 hover:bg-red-600">
|
| 159 |
+
<i data-feather="youtube" class="w-5 h-5"></i>
|
| 160 |
+
</a>
|
| 161 |
+
</div>
|
| 162 |
+
|
| 163 |
+
<div class="text-center md:text-right">
|
| 164 |
+
<p class="text-gray-400 text-sm">
|
| 165 |
+
© ${new Date().getFullYear()} QuantumCortex Research. All thoughts are quantum entangled.
|
| 166 |
+
</p>
|
| 167 |
+
<p class="text-gray-500 text-xs mt-1">
|
| 168 |
+
<a href="/privacy.html" class="hover:text-gray-400 transition-colors duration-300">Privacy</a>
|
| 169 |
+
•
|
| 170 |
+
<a href="/terms.html" class="hover:text-gray-400 transition-colors duration-300">Terms</a>
|
| 171 |
+
•
|
| 172 |
+
<a href="/license.html" class="hover:text-gray-400 transition-colors duration-300">Open Source</a>
|
| 173 |
+
</p>
|
| 174 |
+
</div>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
</div>
|
| 178 |
+
</footer>
|
| 179 |
+
`;
|
| 180 |
+
|
| 181 |
+
// Initialize feather icons
|
| 182 |
+
setTimeout(() => {
|
| 183 |
+
if (typeof feather !== 'undefined') {
|
| 184 |
+
feather.replace();
|
| 185 |
+
}
|
| 186 |
+
}, 100);
|
| 187 |
+
|
| 188 |
+
// Initialize newsletter form
|
| 189 |
+
const form = this.shadowRoot.querySelector('form');
|
| 190 |
+
if (form) {
|
| 191 |
+
form.addEventListener('submit', (e) => {
|
| 192 |
+
e.preventDefault();
|
| 193 |
+
const email = form.querySelector('input[type="email"]').value;
|
| 194 |
+
if (email) {
|
| 195 |
+
// Simulate subscription
|
| 196 |
+
form.innerHTML = `
|
| 197 |
+
<div class="text-center py-4">
|
| 198 |
+
<i data-feather="check-circle" class="w-12 h-12 text-green-500 mx-auto mb-3"></i>
|
| 199 |
+
<p class="text-gray-300">Welcome to the quantum realm!</p>
|
| 200 |
+
<p class="text-gray-400 text-sm mt-1">Check your email for quantum entanglement.</p>
|
| 201 |
+
</div>
|
| 202 |
+
`;
|
| 203 |
+
feather.replace();
|
| 204 |
+
}
|
| 205 |
+
});
|
| 206 |
+
}
|
| 207 |
+
}
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
constructor() {
|
| 3 |
+
super();
|
| 4 |
+
}
|
| 5 |
+
|
| 6 |
+
connectedCallback() {
|
| 7 |
+
this.attachShadow({ mode: 'open' });
|
| 8 |
+
this.shadowRoot.innerHTML = `
|
| 9 |
+
<style>
|
| 10 |
+
:host {
|
| 11 |
+
display: block;
|
| 12 |
+
position: fixed;
|
| 13 |
+
top: 0;
|
| 14 |
+
left: 0;
|
| 15 |
+
right: 0;
|
| 16 |
+
z-index: 1000;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.navbar {
|
| 20 |
+
background: rgba(15, 23, 42, 0.9);
|
| 21 |
+
backdrop-filter: blur(10px);
|
| 22 |
+
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.nav-link {
|
| 26 |
+
position: relative;
|
| 27 |
+
padding: 0.5rem 1rem;
|
| 28 |
+
transition: all 0.3s ease;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.nav-link:hover {
|
| 32 |
+
color: #0ea5e9;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.nav-link::after {
|
| 36 |
+
content: '';
|
| 37 |
+
position: absolute;
|
| 38 |
+
bottom: 0;
|
| 39 |
+
left: 50%;
|
| 40 |
+
transform: translateX(-50%);
|
| 41 |
+
width: 0;
|
| 42 |
+
height: 2px;
|
| 43 |
+
background: linear-gradient(90deg, #0ea5e9, #a855f7);
|
| 44 |
+
transition: width 0.3s ease;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.nav-link:hover::after {
|
| 48 |
+
width: 80%;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.mobile-menu {
|
| 52 |
+
background: rgba(15, 23, 42, 0.95);
|
| 53 |
+
backdrop-filter: blur(20px);
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
@media (max-width: 768px) {
|
| 57 |
+
.desktop-menu {
|
| 58 |
+
display: none;
|
| 59 |
+
}
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
@media (min-width: 769px) {
|
| 63 |
+
.mobile-menu-button {
|
| 64 |
+
display: none;
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
</style>
|
| 68 |
+
|
| 69 |
+
<nav class="navbar">
|
| 70 |
+
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
| 71 |
+
<div class="flex items-center justify-between h-16">
|
| 72 |
+
<!-- Logo -->
|
| 73 |
+
<a href="/" class="flex items-center space-x-3">
|
| 74 |
+
<div class="w-10 h-10 rounded-full bg-gradient-to-r from-quantum-600 to-neural-600 flex items-center justify-center">
|
| 75 |
+
<i data-feather="cpu" class="w-6 h-6 text-white"></i>
|
| 76 |
+
</div>
|
| 77 |
+
<span class="text-xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-quantum-400 to-neural-400">
|
| 78 |
+
QuantumCortex
|
| 79 |
+
</span>
|
| 80 |
+
</a>
|
| 81 |
+
<!-- Desktop Menu -->
|
| 82 |
+
<div class="desktop-menu flex items-center space-x-8">
|
| 83 |
+
<a href="/" class="nav-link text-gray-300 hover:text-white">
|
| 84 |
+
Home
|
| 85 |
+
</a>
|
| 86 |
+
<a href="/manifesto.html" class="nav-link text-gray-300 hover:text-white">
|
| 87 |
+
Manifesto
|
| 88 |
+
</a>
|
| 89 |
+
<a href="/simulator.html" class="nav-link text-gray-300 hover:text-white">
|
| 90 |
+
Simulator
|
| 91 |
+
</a>
|
| 92 |
+
<a href="/physics.html" class="nav-link text-gray-300 hover:text-white">
|
| 93 |
+
New Physics
|
| 94 |
+
</a>
|
| 95 |
+
<a href="/vessel.html" class="nav-link text-gray-300 hover:text-white">
|
| 96 |
+
Vessel
|
| 97 |
+
</a>
|
| 98 |
+
<a href="/vector-physics.html" class="nav-link text-gray-300 hover:text-white font-semibold text-vector-300">
|
| 99 |
+
Vector Physics
|
| 100 |
+
</a>
|
| 101 |
+
<a href="/contact.html" class="px-4 py-2 bg-quantum-600 hover:bg-quantum-700 rounded-lg transition-colors duration-300">
|
| 102 |
+
Join Research
|
| 103 |
+
</a>
|
| 104 |
+
</div>
|
| 105 |
+
<!-- Mobile Menu Button -->
|
| 106 |
+
<button class="mobile-menu-button p-2 rounded-lg hover:bg-gray-800 transition-colors duration-300">
|
| 107 |
+
<i data-feather="menu" class="w-6 h-6"></i>
|
| 108 |
+
</button>
|
| 109 |
+
</div>
|
| 110 |
+
</div>
|
| 111 |
+
<!-- Mobile Menu -->
|
| 112 |
+
<div class="mobile-menu hidden lg:hidden">
|
| 113 |
+
<div class="px-2 pt-2 pb-3 space-y-1">
|
| 114 |
+
<a href="/" class="block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-800">
|
| 115 |
+
Home
|
| 116 |
+
</a>
|
| 117 |
+
<a href="/manifesto.html" class="block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-800">
|
| 118 |
+
Manifesto
|
| 119 |
+
</a>
|
| 120 |
+
<a href="/simulator.html" class="block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-800">
|
| 121 |
+
Simulator
|
| 122 |
+
</a>
|
| 123 |
+
<a href="/physics.html" class="block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-800">
|
| 124 |
+
New Physics
|
| 125 |
+
</a>
|
| 126 |
+
<a href="/vessel.html" class="block px-3 py-2 rounded-md text-base font-medium text-gray-300 hover:text-white hover:bg-gray-800">
|
| 127 |
+
Vessel
|
| 128 |
+
</a>
|
| 129 |
+
<a href="/vector-physics.html" class="block px-3 py-2 rounded-md text-base font-medium text-vector-300 hover:text-vector-200 hover:bg-gray-800">
|
| 130 |
+
Vector Physics
|
| 131 |
+
</a>
|
| 132 |
+
<a href="/contact.html" class="block px-3 py-2 rounded-md text-base font-medium bg-quantum-600 text-white">
|
| 133 |
+
Join Research
|
| 134 |
+
</a>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
</nav>
|
| 138 |
+
`;
|
| 139 |
+
|
| 140 |
+
// Initialize mobile menu
|
| 141 |
+
const menuButton = this.shadowRoot.querySelector('.mobile-menu-button');
|
| 142 |
+
const mobileMenu = this.shadowRoot.querySelector('.mobile-menu');
|
| 143 |
+
|
| 144 |
+
if (menuButton && mobileMenu) {
|
| 145 |
+
menuButton.addEventListener('click', () => {
|
| 146 |
+
mobileMenu.classList.toggle('hidden');
|
| 147 |
+
const icon = menuButton.querySelector('i');
|
| 148 |
+
if (mobileMenu.classList.contains('hidden')) {
|
| 149 |
+
icon.setAttribute('data-feather', 'menu');
|
| 150 |
+
} else {
|
| 151 |
+
icon.setAttribute('data-feather', 'x');
|
| 152 |
+
}
|
| 153 |
+
feather.replace();
|
| 154 |
+
});
|
| 155 |
+
}
|
| 156 |
+
|
| 157 |
+
// Update feather icons
|
| 158 |
+
setTimeout(() => {
|
| 159 |
+
if (typeof feather !== 'undefined') {
|
| 160 |
+
feather.replace();
|
| 161 |
+
}
|
| 162 |
+
}, 100);
|
| 163 |
+
}
|
| 164 |
+
}
|
| 165 |
+
|
| 166 |
+
customElements.define('custom-navbar', CustomNavbar);
|
components/particle-background.js
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class ParticleBackground extends HTMLElement {
|
| 2 |
+
constructor() {
|
| 3 |
+
super();
|
| 4 |
+
this.particles = [];
|
| 5 |
+
this.mouse = { x: 0, y: 0 };
|
| 6 |
+
}
|
| 7 |
+
|
| 8 |
+
connectedCallback() {
|
| 9 |
+
this.attachShadow({ mode: 'open' });
|
| 10 |
+
this.shadowRoot.innerHTML = `
|
| 11 |
+
<style>
|
| 12 |
+
:host {
|
| 13 |
+
display: block;
|
| 14 |
+
position: fixed;
|
| 15 |
+
top: 0;
|
| 16 |
+
left: 0;
|
| 17 |
+
width: 100%;
|
| 18 |
+
height: 100%;
|
| 19 |
+
pointer-events: none;
|
| 20 |
+
z-index: 0;
|
| 21 |
+
overflow: hidden;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
.particles-container {
|
| 25 |
+
position: absolute;
|
| 26 |
+
width: 100%;
|
| 27 |
+
height: 100%;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.particle {
|
| 31 |
+
position: absolute;
|
| 32 |
+
border-radius: 50%;
|
| 33 |
+
pointer-events: none;
|
| 34 |
+
opacity: 0.3;
|
| 35 |
+
filter: blur(1px);
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
.quantum-orb {
|
| 39 |
+
position: absolute;
|
| 40 |
+
border-radius: 50%;
|
| 41 |
+
filter: blur(60px);
|
| 42 |
+
opacity: 0.1;
|
| 43 |
+
animation: float 20s ease-in-out infinite;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
@keyframes float {
|
| 47 |
+
0%, 100% {
|
| 48 |
+
transform: translate(0, 0) scale(1);
|
| 49 |
+
}
|
| 50 |
+
33% {
|
| 51 |
+
transform: translate(100px, 50px) scale(1.2);
|
| 52 |
+
}
|
| 53 |
+
66% {
|
| 54 |
+
transform: translate(-50px, 100px) scale(0.8);
|
| 55 |
+
}
|
| 56 |
+
}
|
| 57 |
+
</style>
|
| 58 |
+
|
| 59 |
+
<div class="particles-container"></div>
|
| 60 |
+
`;
|
| 61 |
+
|
| 62 |
+
this.container = this.shadowRoot.querySelector('.particles-container');
|
| 63 |
+
this.initParticles();
|
| 64 |
+
this.initQuantumOrbs();
|
| 65 |
+
this.animate();
|
| 66 |
+
|
| 67 |
+
// Track mouse movement for interaction
|
| 68 |
+
document.addEventListener('mousemove', (e) => {
|
| 69 |
+
this.mouse.x = e.clientX;
|
| 70 |
+
this.mouse.y = e.clientY;
|
| 71 |
+
});
|
| 72 |
+
|
| 73 |
+
// Handle window resize
|
| 74 |
+
window.addEventListener('resize', () => {
|
| 75 |
+
this.particles.forEach(p => p.element.remove());
|
| 76 |
+
this.particles = [];
|
| 77 |
+
this.initParticles();
|
| 78 |
+
});
|
| 79 |
+
}
|
| 80 |
+
|
| 81 |
+
initParticles() {
|
| 82 |
+
const particleCount = Math.min(50, Math.floor(window.innerWidth / 20));
|
| 83 |
+
|
| 84 |
+
for (let i = 0; i < particleCount; i++) {
|
| 85 |
+
const particle = document.createElement('div');
|
| 86 |
+
particle.className = 'particle';
|
| 87 |
+
|
| 88 |
+
// Random size and position
|
| 89 |
+
const size = 2 + Math.random() * 4;
|
| 90 |
+
const x = Math.random() * 100;
|
| 91 |
+
const y = Math.random() * 100;
|
| 92 |
+
|
| 93 |
+
// Random color (quantum blue or neural purple)
|
| 94 |
+
const colors = [
|
| 95 |
+
'rgba(14, 165, 233, 0.4)',
|
| 96 |
+
'rgba(168, 85, 247, 0.4)',
|
| 97 |
+
'rgba(14, 165, 233, 0.2)',
|
| 98 |
+
'rgba(168, 85, 247, 0.2)'
|
| 99 |
+
];
|
| 100 |
+
const color = colors[Math.floor(Math.random() * colors.length)];
|
| 101 |
+
|
| 102 |
+
particle.style.width = `${size}px`;
|
| 103 |
+
particle.style.height = `${size}px`;
|
| 104 |
+
particle.style.left = `${x}%`;
|
| 105 |
+
particle.style.top = `${y}%`;
|
| 106 |
+
particle.style.backgroundColor = color;
|
| 107 |
+
particle.style.background = `radial-gradient(circle, ${color} 0%, transparent 70%)`;
|
| 108 |
+
|
| 109 |
+
// Random movement
|
| 110 |
+
const speedX = (Math.random() - 0.5) * 0.3;
|
| 111 |
+
const speedY = (Math.random() - 0.5) * 0.3;
|
| 112 |
+
|
| 113 |
+
this.container.appendChild(particle);
|
| 114 |
+
|
| 115 |
+
this.particles.push({
|
| 116 |
+
element: particle,
|
| 117 |
+
x: x,
|
| 118 |
+
y: y,
|
| 119 |
+
speedX: speedX,
|
| 120 |
+
speedY: speedY,
|
| 121 |
+
size: size,
|
| 122 |
+
color: color,
|
| 123 |
+
originalX: x,
|
| 124 |
+
originalY: y,
|
| 125 |
+
waveOffset: Math.random() * Math.PI * 2
|
| 126 |
+
});
|
| 127 |
+
}
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
initQuantumOrbs() {
|
| 131 |
+
// Create large quantum orbs for background
|
| 132 |
+
const orbCount = 3;
|
| 133 |
+
|
| 134 |
+
for (let i = 0; i < orbCount; i++) {
|
| 135 |
+
const orb = document.createElement('div');
|
| 136 |
+
orb.className = 'quantum-orb';
|
| 137 |
+
|
| 138 |
+
const size = 200 + Math.random() * 300;
|
| 139 |
+
const x = Math.random() * 100;
|
| 140 |
+
const y = Math.random() * 100;
|
| 141 |
+
|
| 142 |
+
// Gradient colors
|
| 143 |
+
const colors = i % 2 === 0
|
| 144 |
+
? ['rgba(14, 165, 233, 0.1)', 'rgba(14, 165, 233, 0.05)']
|
| 145 |
+
: ['rgba(168, 85, 247, 0.1)', 'rgba(168, 85, 247, 0.05)'];
|
| 146 |
+
|
| 147 |
+
orb.style.width = `${size}px`;
|
| 148 |
+
orb.style.height = `${size}px`;
|
| 149 |
+
orb.style.left = `${x}%`;
|
| 150 |
+
orb.style.top = `${y}%`;
|
| 151 |
+
orb.style.background = `radial-gradient(circle, ${colors[0]} 0%, ${colors[1]} 50%, transparent 70%)`;
|
| 152 |
+
orb.style.animationDelay = `${i * 3}s`;
|
| 153 |
+
|
| 154 |
+
this.container.appendChild(orb);
|
| 155 |
+
}
|
| 156 |
+
}
|
| 157 |
+
|
| 158 |
+
animate() {
|
| 159 |
+
const time = Date.now() * 0.001;
|
| 160 |
+
|
| 161 |
+
this.particles.forEach(particle => {
|
| 162 |
+
// Calculate wave movement
|
| 163 |
+
const waveX = Math.sin(time + particle.waveOffset) * 0.5;
|
| 164 |
+
const waveY = Math.cos(time * 0.7 + particle.waveOffset) * 0.5;
|
| 165 |
+
|
| 166 |
+
// Mouse interaction
|
| 167 |
+
const dx = this.mouse.x - (particle.x / 100 * window.innerWidth);
|
| 168 |
+
const dy = this.mouse.y - (particle.y / 100 * window.innerHeight);
|
| 169 |
+
const distance = Math.sqrt(dx *
|
components/vector-physics.js
ADDED
|
@@ -0,0 +1,298 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Vector Physics Engine Component
|
| 2 |
+
class VectorPhysicsEngine {
|
| 3 |
+
constructor() {
|
| 4 |
+
this.vectors = [];
|
| 5 |
+
this.threeBodies = [];
|
| 6 |
+
this.pulsars = [];
|
| 7 |
+
this.isRunning = false;
|
| 8 |
+
this.animationId = null;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
initVectorField(canvasId) {
|
| 12 |
+
const canvas = document.getElementById(canvasId);
|
| 13 |
+
if (!canvas) return;
|
| 14 |
+
|
| 15 |
+
const ctx = canvas.getContext('2d');
|
| 16 |
+
canvas.width = canvas.offsetWidth;
|
| 17 |
+
canvas.height = canvas.offsetHeight;
|
| 18 |
+
|
| 19 |
+
const centerX = canvas.width / 2;
|
| 20 |
+
const centerY = canvas.height / 2;
|
| 21 |
+
const radius = Math.min(centerX, centerY) * 0.7;
|
| 22 |
+
const numVectors = 360;
|
| 23 |
+
|
| 24 |
+
// Create vectors
|
| 25 |
+
this.vectors = [];
|
| 26 |
+
for (let i = 0; i < numVectors; i++) {
|
| 27 |
+
const angle = (i * Math.PI * 2) / numVectors;
|
| 28 |
+
const isPositive = i < 180;
|
| 29 |
+
this.vectors.push({
|
| 30 |
+
angle,
|
| 31 |
+
length: radius * 0.8,
|
| 32 |
+
positive: isPositive,
|
| 33 |
+
x: centerX + Math.cos(angle) * radius,
|
| 34 |
+
y: centerY + Math.sin(angle) * radius,
|
| 35 |
+
endX: centerX + Math.cos(angle) * (radius + 30),
|
| 36 |
+
endY: centerY + Math.sin(angle) * (radius + 30)
|
| 37 |
+
});
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
const draw = () => {
|
| 41 |
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
| 42 |
+
|
| 43 |
+
// Draw center point (π)
|
| 44 |
+
ctx.beginPath();
|
| 45 |
+
ctx.arc(centerX, centerY, 10, 0, Math.PI * 2);
|
| 46 |
+
ctx.fillStyle = '#f59326';
|
| 47 |
+
ctx.fill();
|
| 48 |
+
ctx.font = '14px monospace';
|
| 49 |
+
ctx.fillStyle = '#fff';
|
| 50 |
+
ctx.fillText('π', centerX - 5, centerY + 5);
|
| 51 |
+
|
| 52 |
+
// Draw vectors
|
| 53 |
+
this.vectors.forEach(vector => {
|
| 54 |
+
ctx.beginPath();
|
| 55 |
+
ctx.moveTo(centerX, centerY);
|
| 56 |
+
ctx.lineTo(vector.x, vector.y);
|
| 57 |
+
ctx.strokeStyle = vector.positive ? 'rgba(14, 165, 233, 0.7)' : 'rgba(168, 85, 247, 0.7)';
|
| 58 |
+
ctx.lineWidth = 2;
|
| 59 |
+
ctx.stroke();
|
| 60 |
+
|
| 61 |
+
// Draw arrowhead
|
| 62 |
+
const headLength = 10;
|
| 63 |
+
const dx = vector.x - centerX;
|
| 64 |
+
const dy = vector.y - centerY;
|
| 65 |
+
const angle = Math.atan2(dy, dx);
|
| 66 |
+
|
| 67 |
+
ctx.beginPath();
|
| 68 |
+
ctx.moveTo(vector.x, vector.y);
|
| 69 |
+
ctx.lineTo(
|
| 70 |
+
vector.x - headLength * Math.cos(angle - Math.PI / 6),
|
| 71 |
+
vector.y - headLength * Math.sin(angle - Math.PI / 6)
|
| 72 |
+
);
|
| 73 |
+
ctx.lineTo(
|
| 74 |
+
vector.x - headLength * Math.cos(angle + Math.PI / 6),
|
| 75 |
+
vector.y - headLength * Math.sin(angle + Math.PI / 6)
|
| 76 |
+
);
|
| 77 |
+
ctx.closePath();
|
| 78 |
+
ctx.fillStyle = vector.positive ? '#0ea5e9' : '#a855f7';
|
| 79 |
+
ctx.fill();
|
| 80 |
+
});
|
| 81 |
+
|
| 82 |
+
// Draw positive/negative labels
|
| 83 |
+
ctx.font = 'bold 16px Inter';
|
| 84 |
+
ctx.fillStyle = '#0ea5e9';
|
| 85 |
+
ctx.fillText('180 Positive Vectors', centerX + radius + 40, centerY - 40);
|
| 86 |
+
ctx.fillStyle = '#a855f7';
|
| 87 |
+
ctx.fillText('180 Negative Vectors', centerX + radius + 40, centerY + 40);
|
| 88 |
+
|
| 89 |
+
this.animationId = requestAnimationFrame(draw);
|
| 90 |
+
};
|
| 91 |
+
|
| 92 |
+
draw();
|
| 93 |
+
|
| 94 |
+
window.addEventListener('resize', () => {
|
| 95 |
+
canvas.width = canvas.offsetWidth;
|
| 96 |
+
canvas.height = canvas.offsetHeight;
|
| 97 |
+
});
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
initThreeBodySimulation(canvasId) {
|
| 101 |
+
const canvas = document.getElementById(canvasId);
|
| 102 |
+
if (!canvas) return;
|
| 103 |
+
|
| 104 |
+
const ctx = canvas.getContext('2d');
|
| 105 |
+
canvas.width = canvas.offsetWidth;
|
| 106 |
+
canvas.height = canvas.offsetHeight;
|
| 107 |
+
|
| 108 |
+
// Initialize three bodies
|
| 109 |
+
this.threeBodies = [
|
| 110 |
+
{ x: canvas.width * 0.3, y: canvas.height * 0.4, vx: 0, vy: 1.5, mass: 20, color: '#0ea5e9' },
|
| 111 |
+
{ x: canvas.width * 0.7, y: canvas.height * 0.4, vx: 0, vy: -1.5, mass: 20, color: '#a855f7' },
|
| 112 |
+
{ x: canvas.width * 0.5, y: canvas.height * 0.7, vx: 1.5, vy: 0, mass: 25, color: '#f59326' }
|
| 113 |
+
];
|
| 114 |
+
|
| 115 |
+
// Initialize pulsars
|
| 116 |
+
this.pulsars = [
|
| 117 |
+
{ x: canvas.width * 0.2, y: canvas.height * 0.2, radius: 8, frequency: 0.05, phase: 0 },
|
| 118 |
+
{ x: canvas.width * 0.8, y: canvas.height * 0.8, radius: 8, frequency: 0.07, phase: Math.PI }
|
| 119 |
+
];
|
| 120 |
+
|
| 121 |
+
const G = 0.5; // gravitational constant
|
| 122 |
+
const damping = 0.995;
|
| 123 |
+
|
| 124 |
+
const updateStability = () => {
|
| 125 |
+
// Calculate stability based on distances
|
| 126 |
+
let totalDist = 0;
|
| 127 |
+
for (let i = 0; i < this.threeBodies.length; i++) {
|
| 128 |
+
for (let j = i + 1; j < this.threeBodies.length; j++) {
|
| 129 |
+
const dx = this.threeBodies[i].x - this.threeBodies[j].x;
|
| 130 |
+
const dy = this.threeBodies[i].y - this.threeBodies[j].y;
|
| 131 |
+
totalDist += Math.sqrt(dx * dx + dy * dy);
|
| 132 |
+
}
|
| 133 |
+
}
|
| 134 |
+
const avgDist = totalDist / 3;
|
| 135 |
+
const stability = Math.min(100, (avgDist / 100) * 100);
|
| 136 |
+
|
| 137 |
+
const bar = document.getElementById('stabilityBar');
|
| 138 |
+
const text = document.getElementById('stabilityText');
|
| 139 |
+
if (bar && text) {
|
| 140 |
+
bar.style.width = `${stability}%`;
|
| 141 |
+
text.textContent = `${stability.toFixed(1)}% Stable`;
|
| 142 |
+
}
|
| 143 |
+
};
|
| 144 |
+
|
| 145 |
+
const simulate = () => {
|
| 146 |
+
if (!this.isRunning) return;
|
| 147 |
+
|
| 148 |
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
| 149 |
+
|
| 150 |
+
// Update pulsars
|
| 151 |
+
this.pulsars.forEach(p => {
|
| 152 |
+
p.phase += p.frequency;
|
| 153 |
+
p.radius = 8 + Math.sin(p.phase) * 4;
|
| 154 |
+
});
|
| 155 |
+
|
| 156 |
+
// Calculate forces
|
| 157 |
+
for (let i = 0; i < this.threeBodies.length; i++) {
|
| 158 |
+
let fx = 0, fy = 0;
|
| 159 |
+
const body = this.threeBodies[i];
|
| 160 |
+
|
| 161 |
+
// Gravitational forces from other bodies
|
| 162 |
+
for (let j = 0; j < this.threeBodies.length; j++) {
|
| 163 |
+
if (i === j) continue;
|
| 164 |
+
const other = this.threeBodies[j];
|
| 165 |
+
const dx = other.x - body.x;
|
| 166 |
+
const dy = other.y - body.y;
|
| 167 |
+
const distance = Math.sqrt(dx * dx + dy * dy);
|
| 168 |
+
const force = G * body.mass * other.mass / (distance * distance);
|
| 169 |
+
|
| 170 |
+
fx += force * dx / distance;
|
| 171 |
+
fy += force * dy / distance;
|
| 172 |
+
}
|
| 173 |
+
|
| 174 |
+
// Pulsar stabilization forces
|
| 175 |
+
this.pulsars.forEach(p => {
|
| 176 |
+
const dx = p.x - body.x;
|
| 177 |
+
const dy = p.y - body.y;
|
| 178 |
+
const distance = Math.sqrt(dx * dx + dy * dy);
|
| 179 |
+
const pulsarForce = 0.3 * Math.sin(p.phase) / (distance + 1);
|
| 180 |
+
fx += pulsarForce * dx / distance;
|
| 181 |
+
fy += pulsarForce * dy / distance;
|
| 182 |
+
});
|
| 183 |
+
|
| 184 |
+
// Update velocity and position
|
| 185 |
+
body.vx = (body.vx + fx / body.mass) * damping;
|
| 186 |
+
body.vy = (body.vy + fy / body.mass) * damping;
|
| 187 |
+
body.x += body.vx;
|
| 188 |
+
body.y += body.vy;
|
| 189 |
+
|
| 190 |
+
// Boundary reflection
|
| 191 |
+
if (body.x < 0 || body.x > canvas.width) body.vx *= -0.9;
|
| 192 |
+
if (body.y < 0 || body.y > canvas.height) body.vy *= -0.9;
|
| 193 |
+
body.x = Math.max(10, Math.min(canvas.width - 10, body.x));
|
| 194 |
+
body.y = Math.max(10, Math.min(canvas.height - 10, body.y));
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
// Draw pulsars
|
| 198 |
+
this.pulsars.forEach(p => {
|
| 199 |
+
ctx.beginPath();
|
| 200 |
+
ctx.arc(p.x, p.y, p.radius, 0, Math.PI * 2);
|
| 201 |
+
ctx.fillStyle = 'rgba(245, 147, 38, 0.8)';
|
| 202 |
+
ctx.fill();
|
| 203 |
+
|
| 204 |
+
// Pulsar waves
|
| 205 |
+
ctx.beginPath();
|
| 206 |
+
ctx.arc(p.x, p.y, p.radius + 5, 0, Math.PI * 2);
|
| 207 |
+
ctx.strokeStyle = 'rgba(245, 147, 38, 0.4)';
|
| 208 |
+
ctx.lineWidth = 2;
|
| 209 |
+
ctx.stroke();
|
| 210 |
+
});
|
| 211 |
+
|
| 212 |
+
// Draw bodies
|
| 213 |
+
this.threeBodies.forEach(body => {
|
| 214 |
+
ctx.beginPath();
|
| 215 |
+
ctx.arc(body.x, body.y, 12, 0, Math.PI * 2);
|
| 216 |
+
ctx.fillStyle = body.color;
|
| 217 |
+
ctx.fill();
|
| 218 |
+
|
| 219 |
+
// Glow effect
|
| 220 |
+
ctx.beginPath();
|
| 221 |
+
ctx.arc(body.x, body.y, 20, 0, Math.PI * 2);
|
| 222 |
+
const gradient = ctx.createRadialGradient(
|
| 223 |
+
body.x, body.y, 12,
|
| 224 |
+
body.x, body.y, 20
|
| 225 |
+
);
|
| 226 |
+
gradient.addColorStop(0, body.color + '80');
|
| 227 |
+
gradient.addColorStop(1, body.color + '00');
|
| 228 |
+
ctx.fillStyle = gradient;
|
| 229 |
+
ctx.fill();
|
| 230 |
+
});
|
| 231 |
+
|
| 232 |
+
// Draw connections
|
| 233 |
+
ctx.strokeStyle = 'rgba(255, 255, 255, 0.2)';
|
| 234 |
+
ctx.lineWidth = 1;
|
| 235 |
+
for (let i = 0; i < this.threeBodies.length; i++) {
|
| 236 |
+
for (let j = i + 1; j < this.threeBodies.length; j++) {
|
| 237 |
+
ctx.beginPath();
|
| 238 |
+
ctx.moveTo(this.threeBodies[i].x, this.threeBodies[i].y);
|
| 239 |
+
ctx.lineTo(this.threeBodies[j].x, this.threeBodies[j].y);
|
| 240 |
+
ctx.stroke();
|
| 241 |
+
}
|
| 242 |
+
}
|
| 243 |
+
|
| 244 |
+
updateStability();
|
| 245 |
+
|
| 246 |
+
this.animationId = requestAnimationFrame(simulate);
|
| 247 |
+
};
|
| 248 |
+
|
| 249 |
+
// Start simulation
|
| 250 |
+
this.isRunning = true;
|
| 251 |
+
simulate();
|
| 252 |
+
|
| 253 |
+
// Button handlers
|
| 254 |
+
document.getElementById('startSim')?.addEventListener('click', () => {
|
| 255 |
+
this.isRunning = true;
|
| 256 |
+
if (!this.animationId) {
|
| 257 |
+
simulate();
|
| 258 |
+
}
|
| 259 |
+
});
|
| 260 |
+
|
| 261 |
+
document.getElementById('resetSim')?.addEventListener('click', () => {
|
| 262 |
+
this.isRunning = false;
|
| 263 |
+
if (this.animationId) {
|
| 264 |
+
cancelAnimationFrame(this.animationId);
|
| 265 |
+
this.animationId = null;
|
| 266 |
+
}
|
| 267 |
+
this.initThreeBodySimulation(canvasId);
|
| 268 |
+
});
|
| 269 |
+
|
| 270 |
+
document.getElementById('addPulsar')?.addEventListener('click', () => {
|
| 271 |
+
const newPulsar = {
|
| 272 |
+
x: Math.random() * canvas.width,
|
| 273 |
+
y: Math.random() * canvas.height,
|
| 274 |
+
radius: 8,
|
| 275 |
+
frequency: 0.03 + Math.random() * 0.04,
|
| 276 |
+
phase: Math.random() * Math.PI * 2
|
| 277 |
+
};
|
| 278 |
+
this.pulsars.push(newPulsar);
|
| 279 |
+
});
|
| 280 |
+
|
| 281 |
+
window.addEventListener('resize', () => {
|
| 282 |
+
canvas.width = canvas.offsetWidth;
|
| 283 |
+
canvas.height = canvas.offsetHeight;
|
| 284 |
+
});
|
| 285 |
+
}
|
| 286 |
+
}
|
| 287 |
+
|
| 288 |
+
// Initialize when page loads
|
| 289 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 290 |
+
const vectorEngine = new VectorPhysicsEngine();
|
| 291 |
+
|
| 292 |
+
// Initialize visualizations
|
| 293 |
+
vectorEngine.initVectorField('vectorFieldCanvas');
|
| 294 |
+
vectorEngine.initThreeBodySimulation('threeBodyCanvas');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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="dark">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>QuantumCortex | Physics of Thought Engine</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<link rel="stylesheet" href="style.css">
|
| 12 |
+
<script src="components/navbar.js"></script>
|
| 13 |
+
<script src="components/footer.js"></script>
|
| 14 |
+
<script src="components/particle-background.js"></script>
|
| 15 |
+
<script>
|
| 16 |
+
tailwind.config = {
|
| 17 |
+
darkMode: 'class',
|
| 18 |
+
theme: {
|
| 19 |
+
extend: {
|
| 20 |
+
colors: {
|
| 21 |
+
'quantum': {
|
| 22 |
+
50: '#f0f9ff',
|
| 23 |
+
100: '#e0f2fe',
|
| 24 |
+
200: '#bae6fd',
|
| 25 |
+
300: '#7dd3fc',
|
| 26 |
+
400: '#38bdf8',
|
| 27 |
+
500: '#0ea5e9',
|
| 28 |
+
600: '#0284c7',
|
| 29 |
+
700: '#0369a1',
|
| 30 |
+
800: '#075985',
|
| 31 |
+
900: '#0c4a6e',
|
| 32 |
+
},
|
| 33 |
+
'neural': {
|
| 34 |
+
50: '#faf5ff',
|
| 35 |
+
100: '#f3e8ff',
|
| 36 |
+
200: '#e9d5ff',
|
| 37 |
+
300: '#d8b4fe',
|
| 38 |
+
400: '#c084fc',
|
| 39 |
+
500: '#a855f7',
|
| 40 |
+
600: '#9333ea',
|
| 41 |
+
700: '#7e22ce',
|
| 42 |
+
800: '#6b21a8',
|
| 43 |
+
900: '#581c87',
|
| 44 |
+
}
|
| 45 |
+
},
|
| 46 |
+
animation: {
|
| 47 |
+
'float': 'float 6s ease-in-out infinite',
|
| 48 |
+
'pulse-glow': 'pulse-glow 2s ease-in-out infinite',
|
| 49 |
+
'spin-slow': 'spin 8s linear infinite',
|
| 50 |
+
'neuron-pulse': 'neuron-pulse 3s ease-in-out infinite',
|
| 51 |
+
},
|
| 52 |
+
keyframes: {
|
| 53 |
+
float: {
|
| 54 |
+
'0%, 100%': { transform: 'translateY(0)' },
|
| 55 |
+
'50%': { transform: 'translateY(-20px)' },
|
| 56 |
+
},
|
| 57 |
+
'pulse-glow': {
|
| 58 |
+
'0%, 100%': { opacity: 1 },
|
| 59 |
+
'50%': { opacity: 0.5 },
|
| 60 |
+
},
|
| 61 |
+
'neuron-pulse': {
|
| 62 |
+
'0%, 100%': { transform: 'scale(1)', opacity: 1 },
|
| 63 |
+
'50%': { transform: 'scale(1.1)', opacity: 0.7 },
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
</script>
|
| 70 |
+
</head>
|
| 71 |
+
<body class="bg-gray-900 text-gray-100 min-h-screen overflow-x-hidden">
|
| 72 |
+
<particle-background></particle-background>
|
| 73 |
+
<custom-navbar></custom-navbar>
|
| 74 |
+
|
| 75 |
+
<main class="relative z-10">
|
| 76 |
+
<!-- Hero Section -->
|
| 77 |
+
<section class="pt-24 pb-16 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
|
| 78 |
+
<div class="text-center">
|
| 79 |
+
<div class="inline-block p-4 rounded-2xl bg-gradient-to-r from-quantum-900 to-neural-900 mb-8">
|
| 80 |
+
<i data-feather="cpu" class="w-12 h-12 text-quantum-300"></i>
|
| 81 |
+
</div>
|
| 82 |
+
<h1 class="text-5xl md:text-7xl font-bold mb-6 bg-clip-text text-transparent bg-gradient-to-r from-quantum-400 to-neural-400">
|
| 83 |
+
QuantumCortex
|
| 84 |
+
</h1>
|
| 85 |
+
<p class="text-xl md:text-2xl text-gray-300 mb-8 max-w-3xl mx-auto">
|
| 86 |
+
A new physics of intelligence. A vessel for thought that runs on any device.
|
| 87 |
+
</p>
|
| 88 |
+
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
| 89 |
+
<a href="/manifesto.html" class="px-8 py-4 bg-quantum-600 hover:bg-quantum-700 rounded-xl font-semibold text-lg transition-all duration-300 transform hover:scale-105 flex items-center justify-center gap-2">
|
| 90 |
+
<i data-feather="book-open"></i>
|
| 91 |
+
Read the Manifesto
|
| 92 |
+
</a>
|
| 93 |
+
<a href="/simulator.html" class="px-8 py-4 bg-neural-600 hover:bg-neural-700 rounded-xl font-semibold text-lg transition-all duration-300 transform hover:scale-105 flex items-center justify-center gap-2">
|
| 94 |
+
<i data-feather="play-circle"></i>
|
| 95 |
+
Launch Simulator
|
| 96 |
+
</a>
|
| 97 |
+
</div>
|
| 98 |
+
</div>
|
| 99 |
+
|
| 100 |
+
<!-- Quantum Network Visualization -->
|
| 101 |
+
<div class="mt-20 relative">
|
| 102 |
+
<div class="absolute inset-0 bg-gradient-to-b from-transparent via-gray-900/50 to-gray-900"></div>
|
| 103 |
+
<div class="relative grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 104 |
+
<div class="bg-gray-800/50 backdrop-blur-sm rounded-2xl p-8 border border-gray-700 hover:border-quantum-500 transition-all duration-300">
|
| 105 |
+
<div class="w-16 h-16 rounded-full bg-quantum-900/50 flex items-center justify-center mb-6 mx-auto">
|
| 106 |
+
<i data-feather="atom" class="w-8 h-8 text-quantum-300"></i>
|
| 107 |
+
</div>
|
| 108 |
+
<h3 class="text-2xl font-bold mb-4 text-quantum-300">Quantum Physics</h3>
|
| 109 |
+
<p class="text-gray-300">Redefining the fundamental laws of computation and consciousness through quantum entanglement principles.</p>
|
| 110 |
+
</div>
|
| 111 |
+
<div class="bg-gray-800/50 backdrop-blur-sm rounded-2xl p-8 border border-gray-700 hover:border-neural-500 transition-all duration-300">
|
| 112 |
+
<div class="w-16 h-16 rounded-full bg-neural-900/50 flex items-center justify-center mb-6 mx-auto">
|
| 113 |
+
<i data-feather="brain" class="w-8 h-8 text-neural-300"></i>
|
| 114 |
+
</div>
|
| 115 |
+
<h3 class="text-2xl font-bold mb-4 text-neural-300">Neural Vessel</h3>
|
| 116 |
+
<p class="text-gray-300">A lightweight container for intelligence that can run on any device, from smartphones to quantum computers.</p>
|
| 117 |
+
</div>
|
| 118 |
+
<div class="bg-gray-800/50 backdrop-blur-sm rounded-2xl p-8 border border-gray-700 hover:border-quantum-500 transition-all duration-300">
|
| 119 |
+
<div class="w-16 h-16 rounded-full bg-quantum-900/50 flex items-center justify-center mb-6 mx-auto">
|
| 120 |
+
<i data-feather="globe" class="w-8 h-8 text-quantum-300"></i>
|
| 121 |
+
</div>
|
| 122 |
+
<h3 class="text-2xl font-bold mb-4 text-quantum-300">Universal Intelligence</h3>
|
| 123 |
+
<p class="text-gray-300">Distributed consciousness that scales across devices, creating a new form of collective intelligence.</p>
|
| 124 |
+
</div>
|
| 125 |
+
</div>
|
| 126 |
+
</div>
|
| 127 |
+
</section>
|
| 128 |
+
|
| 129 |
+
<!-- Live Demo Section -->
|
| 130 |
+
<section class="py-20 px-4 sm:px-6 lg:px-8 bg-gray-800/30">
|
| 131 |
+
<div class="max-w-7xl mx-auto">
|
| 132 |
+
<h2 class="text-4xl font-bold text-center mb-12">Live Quantum Thought Process</h2>
|
| 133 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
|
| 134 |
+
<div class="bg-gray-900/50 rounded-2xl p-8 border border-gray-700">
|
| 135 |
+
<h3 class="text-2xl font-bold mb-6 flex items-center gap-3">
|
| 136 |
+
<i data-feather="activity" class="text-quantum-400"></i>
|
| 137 |
+
Real-time Neural Activity
|
| 138 |
+
</h3>
|
| 139 |
+
<div class="h-64 bg-gray-800 rounded-xl mb-6 flex items-center justify-center">
|
| 140 |
+
<canvas id="neuralCanvas" class="w-full h-full rounded-xl"></canvas>
|
| 141 |
+
</div>
|
| 142 |
+
<p class="text-gray-300">Watching thoughts form in real-time through quantum neural oscillations.</p>
|
| 143 |
+
</div>
|
| 144 |
+
<div class="bg-gray-900/50 rounded-2xl p-8 border border-gray-700">
|
| 145 |
+
<h3 class="text-2xl font-bold mb-6 flex items-center gap-3">
|
| 146 |
+
<i data-feather="zap" class="text-neural-400"></i>
|
| 147 |
+
Energy Consumption
|
| 148 |
+
</h3>
|
| 149 |
+
<div class="h-64 bg-gray-800 rounded-xl mb-6 flex items-center justify-center">
|
| 150 |
+
<canvas id="energyCanvas" class="w-full h-full rounded-xl"></canvas>
|
| 151 |
+
</div>
|
| 152 |
+
<p class="text-gray-300">QuantumCortex runs on minimal energy, making it sustainable for all devices.</p>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
</section>
|
| 157 |
+
|
| 158 |
+
<!-- Device Compatibility -->
|
| 159 |
+
<section class="py-20 px-4 sm:px-6 lg:px-8">
|
| 160 |
+
<div class="max-w-7xl mx-auto">
|
| 161 |
+
<h2 class="text-4xl font-bold text-center mb-4">Runs on Any Device</h2>
|
| 162 |
+
<p class="text-xl text-gray-300 text-center mb-12 max-w-3xl mx-auto">From quantum computers to smart watches, QuantumCortex adapts to its environment.</p>
|
| 163 |
+
|
| 164 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-6">
|
| 165 |
+
<div class="bg-gray-800/50 rounded-2xl p-6 text-center hover:bg-gray-800 transition-all duration-300">
|
| 166 |
+
<i data-feather="smartphone" class="w-12 h-12 mx-auto mb-4 text-quantum-400"></i>
|
| 167 |
+
<h4 class="font-bold text-lg">Smartphones</h4>
|
| 168 |
+
</div>
|
| 169 |
+
<div class="bg-gray-800/50 rounded-2xl p-6 text-center hover:bg-gray-800 transition-all duration-300">
|
| 170 |
+
<i data-feather="cpu" class="w-12 h-12 mx-auto mb-4 text-neural-400"></i>
|
| 171 |
+
<h4 class="font-bold text-lg">Quantum Computers</h4>
|
| 172 |
+
</div>
|
| 173 |
+
<div class="bg-gray-800/50 rounded-2xl p-6 text-center hover:bg-gray-800 transition-all duration-300">
|
| 174 |
+
<i data-feather="watch" class="w-12 h-12 mx-auto mb-4 text-quantum-400"></i>
|
| 175 |
+
<h4 class="font-bold text-lg">Wearables</h4>
|
| 176 |
+
</div>
|
| 177 |
+
<div class="bg-gray-800/50 rounded-2xl p-6 text-center hover:bg-gray-800 transition-all duration-300">
|
| 178 |
+
<i data-feather="cloud" class="w-12 h-12 mx-auto mb-4 text-neural-400"></i>
|
| 179 |
+
<h4 class="font-bold text-lg">Cloud Clusters</h4>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
</section>
|
| 184 |
+
</main>
|
| 185 |
+
|
| 186 |
+
<custom-footer></custom-footer>
|
| 187 |
+
|
| 188 |
+
<script src="script.js"></script>
|
| 189 |
+
<script>
|
| 190 |
+
feather.replace();
|
| 191 |
+
</script>
|
| 192 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 193 |
+
</body>
|
| 194 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,370 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// QuantumCortex Main JavaScript
|
| 2 |
+
|
| 3 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 4 |
+
// Initialize Feather Icons
|
| 5 |
+
if (typeof feather !== 'undefined') {
|
| 6 |
+
feather.replace();
|
| 7 |
+
}
|
| 8 |
+
|
| 9 |
+
// Initialize Neural Network Visualization
|
| 10 |
+
initNeuralVisualization();
|
| 11 |
+
|
| 12 |
+
// Initialize Energy Consumption Chart
|
| 13 |
+
initEnergyChart();
|
| 14 |
+
|
| 15 |
+
// Initialize Particle Interactions
|
| 16 |
+
initParticleInteractions();
|
| 17 |
+
|
| 18 |
+
// Initialize Quantum Animations
|
| 19 |
+
initQuantumAnimations();
|
| 20 |
+
|
| 21 |
+
// Initialize Mobile Menu
|
| 22 |
+
initMobileMenu();
|
| 23 |
+
});
|
| 24 |
+
|
| 25 |
+
function initNeuralVisualization() {
|
| 26 |
+
const canvas = document.getElementById('neuralCanvas');
|
| 27 |
+
if (!canvas) return;
|
| 28 |
+
|
| 29 |
+
const ctx = canvas.getContext('2d');
|
| 30 |
+
canvas.width = canvas.offsetWidth;
|
| 31 |
+
canvas.height = canvas.offsetHeight;
|
| 32 |
+
|
| 33 |
+
const nodes = [];
|
| 34 |
+
const connections = [];
|
| 35 |
+
const numNodes = 15;
|
| 36 |
+
|
| 37 |
+
// Create nodes
|
| 38 |
+
for (let i = 0; i < numNodes; i++) {
|
| 39 |
+
nodes.push({
|
| 40 |
+
x: Math.random() * canvas.width,
|
| 41 |
+
y: Math.random() * canvas.height,
|
| 42 |
+
radius: 4 + Math.random() * 6,
|
| 43 |
+
speedX: (Math.random() - 0.5) * 0.5,
|
| 44 |
+
speedY: (Math.random() - 0.5) * 0.5,
|
| 45 |
+
color: i % 2 === 0 ? '#0ea5e9' : '#a855f7',
|
| 46 |
+
pulse: Math.random() * Math.PI * 2
|
| 47 |
+
});
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
// Create connections
|
| 51 |
+
for (let i = 0; i < nodes.length; i++) {
|
| 52 |
+
for (let j = i + 1; j < nodes.length; j++) {
|
| 53 |
+
if (Math.random() > 0.7) {
|
| 54 |
+
connections.push({
|
| 55 |
+
from: i,
|
| 56 |
+
to: j,
|
| 57 |
+
strength: Math.random()
|
| 58 |
+
});
|
| 59 |
+
}
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
function animate() {
|
| 64 |
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
| 65 |
+
|
| 66 |
+
// Update and draw connections
|
| 67 |
+
connections.forEach(conn => {
|
| 68 |
+
const from = nodes[conn.from];
|
| 69 |
+
const to = nodes[conn.to];
|
| 70 |
+
const distance = Math.sqrt(Math.pow(to.x - from.x, 2) + Math.pow(to.y - from.y, 2));
|
| 71 |
+
|
| 72 |
+
if (distance < 150) {
|
| 73 |
+
ctx.beginPath();
|
| 74 |
+
ctx.moveTo(from.x, from.y);
|
| 75 |
+
ctx.lineTo(to.x, to.y);
|
| 76 |
+
ctx.strokeStyle = `rgba(${conn.from % 2 === 0 ? '14, 165, 233' : '168, 85, 247'}, ${0.3 * conn.strength})`;
|
| 77 |
+
ctx.lineWidth = 1;
|
| 78 |
+
ctx.stroke();
|
| 79 |
+
}
|
| 80 |
+
});
|
| 81 |
+
|
| 82 |
+
// Update and draw nodes
|
| 83 |
+
nodes.forEach(node => {
|
| 84 |
+
// Update position with boundary check
|
| 85 |
+
node.x += node.speedX;
|
| 86 |
+
node.y += node.speedY;
|
| 87 |
+
|
| 88 |
+
if (node.x < 0 || node.x > canvas.width) node.speedX *= -1;
|
| 89 |
+
if (node.y < 0 || node.y > canvas.height) node.speedY *= -1;
|
| 90 |
+
|
| 91 |
+
// Keep within bounds
|
| 92 |
+
node.x = Math.max(0, Math.min(canvas.width, node.x));
|
| 93 |
+
node.y = Math.max(0, Math.min(canvas.height, node.y));
|
| 94 |
+
|
| 95 |
+
// Update pulse
|
| 96 |
+
node.pulse += 0.05;
|
| 97 |
+
|
| 98 |
+
// Draw node
|
| 99 |
+
ctx.beginPath();
|
| 100 |
+
ctx.arc(node.x, node.y, node.radius + Math.sin(node.pulse) * 2, 0, Math.PI * 2);
|
| 101 |
+
ctx.fillStyle = node.color;
|
| 102 |
+
ctx.fill();
|
| 103 |
+
|
| 104 |
+
// Draw glow
|
| 105 |
+
ctx.beginPath();
|
| 106 |
+
ctx.arc(node.x, node.y, node.radius + 5, 0, Math.PI * 2);
|
| 107 |
+
ctx.fillStyle = node.color + '20';
|
| 108 |
+
ctx.fill();
|
| 109 |
+
});
|
| 110 |
+
|
| 111 |
+
requestAnimationFrame(animate);
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
animate();
|
| 115 |
+
|
| 116 |
+
// Handle window resize
|
| 117 |
+
window.addEventListener('resize', () => {
|
| 118 |
+
canvas.width = canvas.offsetWidth;
|
| 119 |
+
canvas.height = canvas.offsetHeight;
|
| 120 |
+
});
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
function initEnergyChart() {
|
| 124 |
+
const canvas = document.getElementById('energyCanvas');
|
| 125 |
+
if (!canvas) return;
|
| 126 |
+
|
| 127 |
+
const ctx = canvas.getContext('2d');
|
| 128 |
+
canvas.width = canvas.offsetWidth;
|
| 129 |
+
canvas.height = canvas.offsetHeight;
|
| 130 |
+
|
| 131 |
+
const data = [];
|
| 132 |
+
const dataPoints = 50;
|
| 133 |
+
let time = 0;
|
| 134 |
+
|
| 135 |
+
// Generate initial data
|
| 136 |
+
for (let i = 0; i < dataPoints; i++) {
|
| 137 |
+
data.push({
|
| 138 |
+
x: i,
|
| 139 |
+
y: 20 + Math.sin(i * 0.3) * 15 + Math.random() * 5
|
| 140 |
+
});
|
| 141 |
+
}
|
| 142 |
+
|
| 143 |
+
function draw() {
|
| 144 |
+
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
| 145 |
+
|
| 146 |
+
// Draw grid
|
| 147 |
+
ctx.strokeStyle = 'rgba(255, 255, 255, 0.1)';
|
| 148 |
+
ctx.lineWidth = 1;
|
| 149 |
+
|
| 150 |
+
// Horizontal lines
|
| 151 |
+
for (let i = 0; i <= 5; i++) {
|
| 152 |
+
const y = (canvas.height / 5) * i;
|
| 153 |
+
ctx.beginPath();
|
| 154 |
+
ctx.moveTo(0, y);
|
| 155 |
+
ctx.lineTo(canvas.width, y);
|
| 156 |
+
ctx.stroke();
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
// Update data
|
| 160 |
+
time += 0.1;
|
| 161 |
+
data.shift();
|
| 162 |
+
data.push({
|
| 163 |
+
x: dataPoints - 1,
|
| 164 |
+
y: 20 + Math.sin(time) * 15 + Math.cos(time * 0.7) * 10 + Math.random() * 3
|
| 165 |
+
});
|
| 166 |
+
|
| 167 |
+
// Update x positions
|
| 168 |
+
data.forEach((point, i) => {
|
| 169 |
+
point.x = i;
|
| 170 |
+
});
|
| 171 |
+
|
| 172 |
+
// Draw area
|
| 173 |
+
ctx.beginPath();
|
| 174 |
+
ctx.moveTo(0, canvas.height);
|
| 175 |
+
|
| 176 |
+
data.forEach(point => {
|
| 177 |
+
const x = (point.x / dataPoints) * canvas.width;
|
| 178 |
+
const y = canvas.height - (point.y / 50) * canvas.height;
|
| 179 |
+
ctx.lineTo(x, y);
|
| 180 |
+
});
|
| 181 |
+
|
| 182 |
+
ctx.lineTo(canvas.width, canvas.height);
|
| 183 |
+
ctx.closePath();
|
| 184 |
+
|
| 185 |
+
const gradient = ctx.createLinearGradient(0, 0, 0, canvas.height);
|
| 186 |
+
gradient.addColorStop(0, 'rgba(168, 85, 247, 0.3)');
|
| 187 |
+
gradient.addColorStop(1, 'rgba(168, 85, 247, 0)');
|
| 188 |
+
ctx.fillStyle = gradient;
|
| 189 |
+
ctx.fill();
|
| 190 |
+
|
| 191 |
+
// Draw line
|
| 192 |
+
ctx.beginPath();
|
| 193 |
+
ctx.moveTo(0, canvas.height - (data[0].y / 50) * canvas.height);
|
| 194 |
+
|
| 195 |
+
data.forEach(point => {
|
| 196 |
+
const x = (point.x / dataPoints) * canvas.width;
|
| 197 |
+
const y = canvas.height - (point.y / 50) * canvas.height;
|
| 198 |
+
ctx.lineTo(x, y);
|
| 199 |
+
});
|
| 200 |
+
|
| 201 |
+
ctx.strokeStyle = '#a855f7';
|
| 202 |
+
ctx.lineWidth = 2;
|
| 203 |
+
ctx.stroke();
|
| 204 |
+
|
| 205 |
+
requestAnimationFrame(draw);
|
| 206 |
+
}
|
| 207 |
+
|
| 208 |
+
draw();
|
| 209 |
+
|
| 210 |
+
// Handle window resize
|
| 211 |
+
window.addEventListener('resize', () => {
|
| 212 |
+
canvas.width = canvas.offsetWidth;
|
| 213 |
+
canvas.height = canvas.offsetHeight;
|
| 214 |
+
});
|
| 215 |
+
}
|
| 216 |
+
|
| 217 |
+
function initParticleInteractions() {
|
| 218 |
+
const particles = document.querySelectorAll('.particle');
|
| 219 |
+
|
| 220 |
+
particles.forEach(particle => {
|
| 221 |
+
particle.addEventListener('mouseenter', () => {
|
| 222 |
+
particle.style.transform = 'scale(1.5)';
|
| 223 |
+
particle.style.transition = 'transform 0.3s ease';
|
| 224 |
+
});
|
| 225 |
+
|
| 226 |
+
particle.addEventListener('mouseleave', () => {
|
| 227 |
+
particle.style.transform = 'scale(1)';
|
| 228 |
+
});
|
| 229 |
+
});
|
| 230 |
+
}
|
| 231 |
+
|
| 232 |
+
function initQuantumAnimations() {
|
| 233 |
+
// Add floating animation to quantum elements
|
| 234 |
+
const quantumElements = document.querySelectorAll('.quantum-float');
|
| 235 |
+
|
| 236 |
+
quantumElements.forEach((el, index) => {
|
| 237 |
+
el.style.animationDelay = `${index * 0.2}s`;
|
| 238 |
+
});
|
| 239 |
+
|
| 240 |
+
// Initialize intersection observer for scroll animations
|
| 241 |
+
const observer = new IntersectionObserver((entries) => {
|
| 242 |
+
entries.forEach(entry => {
|
| 243 |
+
if (entry.isIntersecting) {
|
| 244 |
+
entry.target.classList.add('animate-in');
|
| 245 |
+
}
|
| 246 |
+
});
|
| 247 |
+
}, {
|
| 248 |
+
threshold: 0.1
|
| 249 |
+
});
|
| 250 |
+
|
| 251 |
+
// Observe elements with quantum-animate class
|
| 252 |
+
document.querySelectorAll('.quantum-animate').forEach(el => {
|
| 253 |
+
observer.observe(el);
|
| 254 |
+
});
|
| 255 |
+
}
|
| 256 |
+
|
| 257 |
+
function initMobileMenu() {
|
| 258 |
+
const menuButton = document.querySelector('[data-menu-button]');
|
| 259 |
+
const mobileMenu = document.querySelector('[data-mobile-menu]');
|
| 260 |
+
|
| 261 |
+
if (menuButton && mobileMenu) {
|
| 262 |
+
menuButton.addEventListener('click', () => {
|
| 263 |
+
mobileMenu.classList.toggle('hidden');
|
| 264 |
+
menuButton.querySelector('i').setAttribute('data-feather',
|
| 265 |
+
mobileMenu.classList.contains('hidden') ? 'menu' : 'x'
|
| 266 |
+
);
|
| 267 |
+
feather.replace();
|
| 268 |
+
});
|
| 269 |
+
}
|
| 270 |
+
}
|
| 271 |
+
// Quantum API Integration
|
| 272 |
+
class QuantumCortexAPI {
|
| 273 |
+
constructor() {
|
| 274 |
+
this.baseURL = 'https://api.quantumcortex.dev/v1';
|
| 275 |
+
}
|
| 276 |
+
|
| 277 |
+
async getThoughtProcess() {
|
| 278 |
+
try {
|
| 279 |
+
// Simulate API call
|
| 280 |
+
return await this.simulateThought();
|
| 281 |
+
} catch (error) {
|
| 282 |
+
console.error('Quantum thought error:', error);
|
| 283 |
+
return null;
|
| 284 |
+
}
|
| 285 |
+
}
|
| 286 |
+
|
| 287 |
+
async simulateThought() {
|
| 288 |
+
return new Promise(resolve => {
|
| 289 |
+
setTimeout(() => {
|
| 290 |
+
resolve({
|
| 291 |
+
thought: "The universe computes itself through quantum entanglement",
|
| 292 |
+
energy: Math.random() * 100,
|
| 293 |
+
coherence: 0.85 + Math.random() * 0.15
|
| 294 |
+
});
|
| 295 |
+
}, 1000);
|
| 296 |
+
});
|
| 297 |
+
}
|
| 298 |
+
|
| 299 |
+
async getDeviceCompatibility(deviceType) {
|
| 300 |
+
const compatibilities = {
|
| 301 |
+
smartphone: 0.95,
|
| 302 |
+
quantum: 1.0,
|
| 303 |
+
wearable: 0.85,
|
| 304 |
+
cloud: 0.98,
|
| 305 |
+
iot: 0.75
|
| 306 |
+
};
|
| 307 |
+
|
| 308 |
+
return compatibilities[deviceType] || 0.8;
|
| 309 |
+
}
|
| 310 |
+
|
| 311 |
+
// New Vector Physics API
|
| 312 |
+
async getVectorField(zeroPoint = Math.PI) {
|
| 313 |
+
return new Promise(resolve => {
|
| 314 |
+
setTimeout(() => {
|
| 315 |
+
const vectors = [];
|
| 316 |
+
for (let i = 0; i < 360; i++) {
|
| 317 |
+
vectors.push({
|
| 318 |
+
angle: (i * Math.PI * 2) / 360,
|
| 319 |
+
magnitude: 1 + Math.random() * 0.5,
|
| 320 |
+
charge: i < 180 ? 1 : -1,
|
| 321 |
+
zeroPoint: zeroPoint
|
| 322 |
+
});
|
| 323 |
+
}
|
| 324 |
+
resolve({
|
| 325 |
+
zeroPoint,
|
| 326 |
+
vectors,
|
| 327 |
+
gyroscopicConstant: Math.PI,
|
| 328 |
+
stability: 0.85 + Math.random() * 0.15
|
| 329 |
+
});
|
| 330 |
+
}, 800);
|
| 331 |
+
});
|
| 332 |
+
}
|
| 333 |
+
|
| 334 |
+
async solveThreeBody(pulsarCount = 2) {
|
| 335 |
+
return new Promise(resolve => {
|
| 336 |
+
setTimeout(() => {
|
| 337 |
+
resolve({
|
| 338 |
+
solution: "Stable orbit achieved via π‑gyroscopic damping",
|
| 339 |
+
pulsars: pulsarCount,
|
| 340 |
+
convergenceTime: (3 + Math.random() * 5).toFixed(2) + "s",
|
| 341 |
+
energyEfficiency: (0.7 + Math.random() * 0.25).toFixed(3)
|
| 342 |
+
});
|
| 343 |
+
}, 1200);
|
| 344 |
+
});
|
| 345 |
+
}
|
| 346 |
+
}
|
| 347 |
+
// Export for use in other modules
|
| 348 |
+
window.QuantumCortex = {
|
| 349 |
+
API: new QuantumCortexAPI(),
|
| 350 |
+
utils: {
|
| 351 |
+
formatEnergy: (energy) => `${energy.toFixed(2)} qubits`,
|
| 352 |
+
formatCoherence: (coherence) => `${(coherence * 100).toFixed(1)}%`,
|
| 353 |
+
vectorToCartesian: (angle, magnitude) => ({
|
| 354 |
+
x: magnitude * Math.cos(angle),
|
| 355 |
+
y: magnitude * Math.sin(angle)
|
| 356 |
+
}),
|
| 357 |
+
calculateGyroscopicForce: (mass, angularVelocity) => {
|
| 358 |
+
return mass * angularVelocity * Math.PI;
|
| 359 |
+
}
|
| 360 |
+
}
|
| 361 |
+
};
|
| 362 |
+
// Initialize Quantum API
|
| 363 |
+
const quantumAPI = new QuantumCortexAPI();
|
| 364 |
+
|
| 365 |
+
// Example usage
|
| 366 |
+
quantumAPI.getThoughtProcess().then(thought => {
|
| 367 |
+
if (thought) {
|
| 368 |
+
console.log('Quantum thought received:', thought);
|
| 369 |
+
}
|
| 370 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
|
| 3 |
+
|
| 4 |
+
* {
|
| 5 |
+
margin: 0;
|
| 6 |
+
padding: 0;
|
| 7 |
+
box-sizing: border-box;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
html {
|
| 11 |
+
scroll-behavior: smooth;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
body {
|
| 15 |
+
font-family: 'Inter', sans-serif;
|
| 16 |
+
background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
|
| 17 |
+
min-height: 100vh;
|
| 18 |
+
position: relative;
|
| 19 |
+
}
|
| 20 |
+
|
| 21 |
+
/* Custom Scrollbar */
|
| 22 |
+
::-webkit-scrollbar {
|
| 23 |
+
width: 10px;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
::-webkit-scrollbar-track {
|
| 27 |
+
background: rgba(30, 41, 59, 0.5);
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
::-webkit-scrollbar-thumb {
|
| 31 |
+
background: linear-gradient(to bottom, #0ea5e9, #a855f7);
|
| 32 |
+
border-radius: 5px;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
::-webkit-scrollbar-thumb:hover {
|
| 36 |
+
background: linear-gradient(to bottom, #0284c7, #9333ea);
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
/* Quantum Glow Effects */
|
| 40 |
+
.quantum-glow {
|
| 41 |
+
box-shadow: 0 0 40px rgba(14, 165, 233, 0.3);
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.neural-glow {
|
| 45 |
+
box-shadow: 0 0 40px rgba(168, 85, 247, 0.3);
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
/* Particle Animation */
|
| 49 |
+
.particle {
|
| 50 |
+
position: absolute;
|
| 51 |
+
border-radius: 50%;
|
| 52 |
+
background: radial-gradient(circle, rgba(14, 165, 233, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
|
| 53 |
+
pointer-events: none;
|
| 54 |
+
z-index: 1;
|
| 55 |
+
}
|
| 56 |
+
|
| 57 |
+
/* Quantum Grid Background */
|
| 58 |
+
.quantum-grid {
|
| 59 |
+
background-image:
|
| 60 |
+
linear-gradient(rgba(14, 165, 233, 0.1) 1px, transparent 1px),
|
| 61 |
+
linear-gradient(90deg, rgba(14, 165, 233, 0.1) 1px, transparent 1px);
|
| 62 |
+
background-size: 50px 50px;
|
| 63 |
+
background-position: center center;
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
/* Neural Network Connections */
|
| 67 |
+
.neural-connection {
|
| 68 |
+
position: absolute;
|
| 69 |
+
background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.3), transparent);
|
| 70 |
+
height: 2px;
|
| 71 |
+
transform-origin: left center;
|
| 72 |
+
}
|
| 73 |
+
/* Quantum Pulse Animation */
|
| 74 |
+
@keyframes quantum-pulse {
|
| 75 |
+
0%, 100% {
|
| 76 |
+
transform: scale(1);
|
| 77 |
+
opacity: 1;
|
| 78 |
+
}
|
| 79 |
+
50% {
|
| 80 |
+
transform: scale(1.05);
|
| 81 |
+
opacity: 0.8;
|
| 82 |
+
}
|
| 83 |
}
|
| 84 |
|
| 85 |
+
.quantum-pulse {
|
| 86 |
+
animation: quantum-pulse 2s ease-in-out infinite;
|
|
|
|
| 87 |
}
|
| 88 |
|
| 89 |
+
/* Vector Physics Specific */
|
| 90 |
+
.vector-glow {
|
| 91 |
+
box-shadow: 0 0 40px rgba(245, 147, 38, 0.3);
|
|
|
|
|
|
|
| 92 |
}
|
| 93 |
|
| 94 |
+
@keyframes vector-spin {
|
| 95 |
+
0% {
|
| 96 |
+
transform: rotate(0deg);
|
| 97 |
+
}
|
| 98 |
+
100% {
|
| 99 |
+
transform: rotate(360deg);
|
| 100 |
+
}
|
| 101 |
}
|
| 102 |
|
| 103 |
+
.vector-spin {
|
| 104 |
+
animation: vector-spin 10s linear infinite;
|
| 105 |
}
|
| 106 |
+
|
| 107 |
+
/* Three‑Body Simulation Canvas */
|
| 108 |
+
.simulation-canvas {
|
| 109 |
+
background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #2d1b69 100%);
|
| 110 |
+
}
|
| 111 |
+
/* Gradient Text Animation */
|
| 112 |
+
.gradient-text {
|
| 113 |
+
background: linear-gradient(90deg, #0ea5e9, #a855f7, #0ea5e9);
|
| 114 |
+
background-size: 200% auto;
|
| 115 |
+
background-clip: text;
|
| 116 |
+
-webkit-background-clip: text;
|
| 117 |
+
-webkit-text-fill-color: transparent;
|
| 118 |
+
animation: gradient-shift 3s ease-in-out infinite;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
@keyframes gradient-shift {
|
| 122 |
+
0%, 100% {
|
| 123 |
+
background-position: 0% center;
|
| 124 |
+
}
|
| 125 |
+
50% {
|
| 126 |
+
background-position: 100% center;
|
| 127 |
+
}
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
/* Glass Morphism */
|
| 131 |
+
.glass {
|
| 132 |
+
background: rgba(30, 41, 59, 0.7);
|
| 133 |
+
backdrop-filter: blur(10px);
|
| 134 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
/* Quantum Orb */
|
| 138 |
+
.quantum-orb {
|
| 139 |
+
width: 300px;
|
| 140 |
+
height: 300px;
|
| 141 |
+
border-radius: 50%;
|
| 142 |
+
background: radial-gradient(circle at 30% 30%,
|
| 143 |
+
rgba(14, 165, 233, 0.4) 0%,
|
| 144 |
+
rgba(168, 85, 247, 0.3) 30%,
|
| 145 |
+
transparent 70%);
|
| 146 |
+
filter: blur(40px);
|
| 147 |
+
animation: float 8s ease-in-out infinite;
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
/* Loading Quantum Dots */
|
| 151 |
+
.quantum-dot {
|
| 152 |
+
width: 12px;
|
| 153 |
+
height: 12px;
|
| 154 |
+
border-radius: 50%;
|
| 155 |
+
background: #0ea5e9;
|
| 156 |
+
position: relative;
|
| 157 |
+
animation: dot-pulse 1.5s ease-in-out infinite;
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.quantum-dot:nth-child(2) {
|
| 161 |
+
background: #a855f7;
|
| 162 |
+
animation-delay: 0.2s;
|
| 163 |
+
}
|
| 164 |
+
|
| 165 |
+
.quantum-dot:nth-child(3) {
|
| 166 |
+
background: #0ea5e9;
|
| 167 |
+
animation-delay: 0.4s;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
@keyframes dot-pulse {
|
| 171 |
+
0%, 100% {
|
| 172 |
+
transform: scale(1);
|
| 173 |
+
opacity: 1;
|
| 174 |
+
}
|
| 175 |
+
50% {
|
| 176 |
+
transform: scale(1.5);
|
| 177 |
+
opacity: 0.5;
|
| 178 |
+
}
|
| 179 |
+
}
|
| 180 |
+
|
| 181 |
+
/* Responsive Adjustments */
|
| 182 |
+
@media (max-width: 768px) {
|
| 183 |
+
.quantum-orb {
|
| 184 |
+
width: 200px;
|
| 185 |
+
height: 200px;
|
| 186 |
+
}
|
| 187 |
+
|
| 188 |
+
.glass {
|
| 189 |
+
backdrop-filter: blur(5px);
|
| 190 |
+
}
|
| 191 |
+
}
|
| 192 |
+
|
| 193 |
+
/* Quantum Circuit Lines */
|
| 194 |
+
.quantum-circuit {
|
| 195 |
+
position: relative;
|
| 196 |
+
overflow: hidden;
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
.quantum-circuit::before {
|
| 200 |
+
content: '';
|
| 201 |
+
position: absolute;
|
| 202 |
+
top: 0;
|
| 203 |
+
left: -100%;
|
| 204 |
+
width: 100%;
|
| 205 |
+
height: 2px;
|
| 206 |
+
background: linear-gradient(90deg, transparent, #0ea5e9, transparent);
|
| 207 |
+
animation: circuit-flow 3s linear infinite;
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
@keyframes circuit-flow {
|
| 211 |
+
0% {
|
| 212 |
+
left: -100%;
|
| 213 |
+
}
|
| 214 |
+
100% {
|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ortex</title>
|
| 7 |
+
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<link rel="stylesheet" href="style.css">
|
| 12 |
+
<script src="components/navbar.js"></script>
|
| 13 |
+
<script src="components/footer.js"></script>
|
| 14 |
+
<script src="components/particle-background.js"></script>
|
| 15 |
+
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
| 16 |
+
<script>
|
| 17 |
+
tailwind.config = {
|
| 18 |
+
darkMode: 'class',
|
| 19 |
+
theme: {
|
| 20 |
+
extend: {
|
| 21 |
+
colors: {
|
| 22 |
+
'quantum': {
|
| 23 |
+
50: '#f0f9ff',
|
| 24 |
+
100: '#e0f2fe',
|
| 25 |
+
200: '#bae6fd',
|
| 26 |
+
300: '#7dd3fc',
|
| 27 |
+
400: '#38bdf8',
|
| 28 |
+
500: '#0ea5e9',
|
| 29 |
+
600: '#0284c7',
|
| 30 |
+
700: '#0369a1',
|
| 31 |
+
800: '#075985',
|
| 32 |
+
900: '#0c4a6e',
|
| 33 |
+
},
|
| 34 |
+
'neural': {
|
| 35 |
+
50: '#faf5ff',
|
| 36 |
+
100: '#f3e8ff',
|
| 37 |
+
200: '#e9d5ff',
|
| 38 |
+
300: '#d8b4fe',
|
| 39 |
+
400: '#c084fc',
|
| 40 |
+
500: '#a855f7',
|
| 41 |
+
600: '#9333ea',
|
| 42 |
+
700: '#7e22ce',
|
| 43 |
+
800: '#6b21a8',
|
| 44 |
+
900: '#581c87',
|
| 45 |
+
},
|
| 46 |
+
'vector': {
|
| 47 |
+
50: '#fef7e6',
|
| 48 |
+
100: '#fdecc2',
|
| 49 |
+
200: '#fbd89b',
|
| 50 |
+
300: '#f9c174',
|
| 51 |
+
400: '#f7aa4d',
|
| 52 |
+
500: '#f59326',
|
| 53 |
+
600: '#d47a1c',
|
| 54 |
+
700: '#b36112',
|
| 55 |
+
800: '#924808',
|
| 56 |
+
900: '#712f00',
|
| 57 |
+
}
|
| 58 |
+
},
|
| 59 |
+
animation: {
|
| 60 |
+
'float': 'float 6s ease-in-out infinite',
|
| 61 |
+
'pulse-glow': 'pulse-glow 2s ease-in-out infinite',
|
| 62 |
+
'spin-slow': 'spin 8s linear infinite',
|
| 63 |
+
'neuron-pulse': 'neuron-pulse 3s ease-in-out infinite',
|
| 64 |
+
'vector-spin': 'vector-spin 10s linear infinite',
|
| 65 |
+
},
|
| 66 |
+
keyframes: {
|
| 67 |
+
float: {
|
| 68 |
+
'0%, 100%': { transform: 'translateY(0)' },
|
| 69 |
+
'50%': { transform: 'translateY(-20px)' },
|
| 70 |
+
},
|
| 71 |
+
'pulse-glow': {
|
| 72 |
+
'0%, 100%': { opacity: 1 },
|
| 73 |
+
'50%': { opacity: 0.5 },
|
| 74 |
+
},
|
| 75 |
+
'neuron-pulse': {
|
| 76 |
+
'0%, 100%': { transform: 'scale(1)', opacity: 1 },
|
| 77 |
+
'50%': { transform: 'scale(1.1)', opacity: 0.7 },
|
| 78 |
+
},
|
| 79 |
+
'vector-spin': {
|
| 80 |
+
'0%': { transform: 'rotate(0deg)' },
|
| 81 |
+
'100%': { transform: 'rotate(360deg)' },
|
| 82 |
+
}
|
| 83 |
+
}
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
</script>
|
| 88 |
+
</head>
|
| 89 |
+
<body class="bg-gray-900 text-gray-100 min-h-screen overflow-x-hidden">
|
| 90 |
+
<particle-background></particle-background>
|
| 91 |
+
<custom-navbar></custom-navbar>
|
| 92 |
+
|
| 93 |
+
<main class="relative z-10 pt-24 pb-16 px-4 sm:px-6 lg:px-8 max-w-7xl mx-auto">
|
| 94 |
+
<!-- Hero Section -->
|
| 95 |
+
<section class="text-center mb-20">
|
| 96 |
+
<div class="inline-block p-4 rounded-2xl bg-gradient-to-r from-vector-900 to-quantum-900 mb-8">
|
| 97 |
+
<i data-feather="compass" class="w-16 h-16 text-vector-300"></i>
|
| 98 |
+
</div>
|
| 99 |
+
<h1 class="text-5xl md:text-7xl font-bold mb-6 bg-clip-text text-transparent bg-gradient-to-r from-vector-400 to-quantum-400">
|
| 100 |
+
Vector Physics Engine
|
| 101 |
+
</h1>
|
| 102 |
+
<p class="text-xl md:text-2xl text-gray-300 mb-8 max-w-4xl mx-auto">
|
| 103 |
+
A new physics of intelligence: 360 vectors around any zero-point with π as the universal gyroscope, solving the three-body problem through modular closed systems.
|
| 104 |
+
</p>
|
| 105 |
+
<div class="flex flex-col sm:flex-row gap-4 justify-center">
|
| 106 |
+
<a href="#simulation" class="px-8 py-4 bg-vector-600 hover:bg-vector-700 rounded-xl font-semibold text-lg transition-all duration-300 transform hover:scale-105 flex items-center justify-center gap-2">
|
| 107 |
+
<i data-feather="play-circle"></i>
|
| 108 |
+
Live Vector Simulation
|
| 109 |
+
</a>
|
| 110 |
+
<a href="#math" class="px-8 py-4 bg-quantum-600 hover:bg-quantum-700 rounded-xl font-semibold text-lg transition-all duration-300 transform hover:scale-105 flex items-center justify-center gap-2">
|
| 111 |
+
<i data-feather="book-open"></i>
|
| 112 |
+
Mathematical Framework
|
| 113 |
+
</a>
|
| 114 |
+
</div>
|
| 115 |
+
</section>
|
| 116 |
+
|
| 117 |
+
<!-- Core Concept Visualization -->
|
| 118 |
+
<section class="mb-20">
|
| 119 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
|
| 120 |
+
<div>
|
| 121 |
+
<h2 class="text-4xl font-bold mb-6">360° Vector Field with π Gyroscope</h2>
|
| 122 |
+
<p class="text-gray-300 mb-6">
|
| 123 |
+
Every point in space has 360 vectors radiating from it: 180 positive charge, 180 negative charge. The zero-point is always π (3.14159...), creating a universal gyroscopic reference frame that stabilizes particles across cosmic scales.
|
| 124 |
+
</p>
|
| 125 |
+
<ul class="space-y-4">
|
| 126 |
+
<li class="flex items-start gap-3">
|
| 127 |
+
<i data-feather="check-circle" class="w-6 h-6 text-vector-400 flex-shrink-0"></i>
|
| 128 |
+
<span><strong>Positive Vectors (180):</strong> Represent expansive, repulsive forces akin to dark energy.</span>
|
| 129 |
+
</li>
|
| 130 |
+
<li class="flex items-start gap-3">
|
| 131 |
+
<i data-feather="check-circle" class="w-6 h-6 text-quantum-400 flex-shrink-0"></i>
|
| 132 |
+
<span><strong>Negative Vectors (180):</strong> Represent attractive, binding forces akin to gravity.</span>
|
| 133 |
+
</li>
|
| 134 |
+
<li class="flex items-start gap-3">
|
| 135 |
+
<i data-feather="check-circle" class="w-6 h-6 text-neural-400 flex-shrink-0"></i>
|
| 136 |
+
<span><strong>π Zero-Point:</strong> The universal gyroscopic pivot—any particle's position is measured relative to this constant.</span>
|
| 137 |
+
</li>
|
| 138 |
+
</ul>
|
| 139 |
+
</div>
|
| 140 |
+
<div class="relative h-96">
|
| 141 |
+
<canvas id="vectorFieldCanvas" class="w-full h-full rounded-2xl border border-gray-700"></canvas>
|
| 142 |
+
<div class="absolute bottom-4 left-4 bg-gray-900/80 backdrop-blur-sm px-4 py-2 rounded-lg">
|
| 143 |
+
<p class="text-sm text-gray-300">Real‑time 360‑vector simulation</p>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
</div>
|
| 147 |
+
</section>
|
| 148 |
+
|
| 149 |
+
<!-- 4‑Part Modular Closed System -->
|
| 150 |
+
<section class="mb-20">
|
| 151 |
+
<h2 class="text-4xl font-bold text-center mb-12">4‑Part Modular Closed System</h2>
|
| 152 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
|
| 153 |
+
<div class="bg-gray-800/50 backdrop-blur-sm rounded-2xl p-8 border border-gray-700 hover:border-vector-500 transition-all duration-300">
|
| 154 |
+
<div class="w-16 h-16 rounded-full bg-vector-900/50 flex items-center justify-center mb-6 mx-auto">
|
| 155 |
+
<i data-feather="target" class="w-8 h-8 text-vector-300"></i>
|
| 156 |
+
</div>
|
| 157 |
+
<h3 class="text-2xl font-bold mb-4 text-vector-300">Module 1: Zero‑Point Detection</h3>
|
| 158 |
+
<p class="text-gray-300">Identifies the π‑based zero‑point in any spatial region using quantum entanglement sensors.</p>
|
| 159 |
+
</div>
|
| 160 |
+
<div class="bg-gray-800/50 backdrop-blur-sm rounded-2xl p-8 border border-gray-700 hover:border-quantum-500 transition-all duration-300">
|
| 161 |
+
<div class="w-16 h-16 rounded-full bg-quantum-900/50 flex items-center justify-center mb-6 mx-auto">
|
| 162 |
+
<i data-feather="wind" class="w-8 h-8 text-quantum-300"></i>
|
| 163 |
+
</div>
|
| 164 |
+
<h3 class="text-2xl font-bold mb-4 text-quantum-300">Module 2: Vector Field Generation</h3>
|
| 165 |
+
<p class="text-gray-300">Generates the 360‑vector field (180+/180‑) around the detected zero‑point.</p>
|
| 166 |
+
</div>
|
| 167 |
+
<div class="bg-gray-800/50 backdrop-blur-sm rounded-2xl p-8 border border-gray-700 hover:border-neural-500 transition-all duration-300">
|
| 168 |
+
<div class="w-16 h-16 rounded-full bg-neural-900/50 flex items-center justify-center mb-6 mx-auto">
|
| 169 |
+
<i data-feather="cpu" class="w-8 h-8 text-neural-300"></i>
|
| 170 |
+
</div>
|
| 171 |
+
<h3 class="text-2xl font-bold mb-4 text-neural-300">Module 3: Gyroscopic Stabilization</h3>
|
| 172 |
+
<p class="text-gray-300">Uses π as the gyroscopic pivot to maintain particle orientation and angular momentum.</p>
|
| 173 |
+
</div>
|
| 174 |
+
<div class="bg-gray-800/50 backdrop-blur-sm rounded-2xl p-8 border border-gray-700 hover:border-vector-500 transition-all duration-300">
|
| 175 |
+
<div class="w-16 h-16 rounded-full bg-vector-900/50 flex items-center justify-center mb-6 mx-auto">
|
| 176 |
+
<i data-feather="git-merge" class="w-8 h-8 text-vector-300"></i>
|
| 177 |
+
</div>
|
| 178 |
+
<h3 class="text-2xl font-bold mb-4 text-vector-300">Module 4: Three‑Body Solver</h3>
|
| 179 |
+
<p class="text-gray-300">Solves the three‑body problem using two pulsars as stabilizers within the closed system.</p>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</section>
|
| 183 |
+
|
| 184 |
+
<!-- Live Simulation -->
|
| 185 |
+
<section id="simulation" class="mb-20">
|
| 186 |
+
<h2 class="text-4xl font-bold text-center mb-12">Live Three‑Body Problem Simulation</h2>
|
| 187 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-8">
|
| 188 |
+
<div class="lg:col-span-2 bg-gray-900/50 rounded-2xl p-6 border border-gray-700">
|
| 189 |
+
<div class="h-96">
|
| 190 |
+
<canvas id="threeBodyCanvas" class="w-full h-full rounded-xl"></canvas>
|
| 191 |
+
</div>
|
| 192 |
+
<div class="mt-6 flex flex-wrap gap-4 justify-center">
|
| 193 |
+
<button id="startSim" class="px-6 py-3 bg-vector-600 hover:bg-vector-700 rounded-lg font-semibold transition-colors duration-300">
|
| 194 |
+
Start Simulation
|
| 195 |
+
</button>
|
| 196 |
+
<button id="resetSim" class="px-6 py-3 bg-gray-700 hover:bg-gray-600 rounded-lg font-semibold transition-colors duration-300">
|
| 197 |
+
Reset
|
| 198 |
+
</button>
|
| 199 |
+
<button id="addPulsar" class="px-6 py-3 bg-quantum-600 hover:bg-quantum-700 rounded-lg font-semibold transition-colors duration-300">
|
| 200 |
+
Add Pulsar Stabilizer
|
| 201 |
+
</button>
|
| 202 |
+
</div>
|
| 203 |
+
</div>
|
| 204 |
+
<div class="bg-gray-800/50 rounded-2xl p-8 border border-gray-700">
|
| 205 |
+
<h3 class="text-2xl font-bold mb-6">Simulation Parameters</h3>
|
| 206 |
+
<div class="space-y-6">
|
| 207 |
+
<div>
|
| 208 |
+
<label class="block text-gray-400 mb-2">Zero‑Point (π)</label>
|
| 209 |
+
<div class="text-3xl font-bold text-vector-300">3.1415926535</div>
|
| 210 |
+
</div>
|
| 211 |
+
<div>
|
| 212 |
+
<label class="block text-gray-400 mb-2">Positive Vectors</label>
|
| 213 |
+
<div class="text-2xl font-bold text-quantum-300">180</div>
|
| 214 |
+
</div>
|
| 215 |
+
<div>
|
| 216 |
+
<label class="block text-gray-400 mb-2">Negative Vectors</label>
|
| 217 |
+
<div class="text-2xl font-bold text-neural-300">180</div>
|
| 218 |
+
</div>
|
| 219 |
+
<div>
|
| 220 |
+
<label class="block text-gray-400 mb-2">System Stability</label>
|
| 221 |
+
<div class="w-full bg-gray-700 rounded-full h-4">
|
| 222 |
+
<div id="stabilityBar" class="bg-gradient-to-r from-vector-500 to-quantum-500 h-4 rounded-full" style="width: 92%"></div>
|
| 223 |
+
</div>
|
| 224 |
+
<div class="text-right mt-2 text-sm text-gray-400" id="stabilityText">92% Stable</div>
|
| 225 |
+
</div>
|
| 226 |
+
</div>
|
| 227 |
+
</div>
|
| 228 |
+
</div>
|
| 229 |
+
</section>
|
| 230 |
+
|
| 231 |
+
<!-- Mathematical Framework -->
|
| 232 |
+
<section id="math" class="mb-20">
|
| 233 |
+
<h2 class="text-4xl font-bold text-center mb-12">Mathematical Framework</h2>
|
| 234 |
+
<div class="bg-gray-800/30 rounded-2xl p-8 border border-gray-700">
|
| 235 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
|
| 236 |
+
<div>
|
| 237 |
+
<h3 class="text-2xl font-bold mb-6 text-vector-300">Vector Field Equation</h3>
|
| 238 |
+
<div class="bg-gray-900/50 p-6 rounded-xl font-mono text-lg">
|
| 239 |
+
V(θ) = π · (sin(θ) · e<sup>iθ</sup> + cos(θ) · e<sup>-iθ</sup>)
|
| 240 |
+
</div>
|
| 241 |
+
<p class="text-gray-300 mt-4">
|
| 242 |
+
Where θ ranges from 0 to 2π, generating 360 vectors. Positive vectors (0 ≤ θ < π) have charge +1, negative vectors (π ≤ θ < 2π) have charge -1.
|
| 243 |
+
</p>
|
| 244 |
+
</div>
|
| 245 |
+
<div>
|
| 246 |
+
<h3 class="text-2xl font-bold mb-6 text-quantum-300">Gyroscopic Constraint</h3>
|
| 247 |
+
<div class="bg-gray-900/50 p-6 rounded-xl font-mono text-lg">
|
| 248 |
+
G = ∫<sub>0</sub><sup>2π</sup> V(θ) dθ ≡ π
|
| 249 |
+
</div>
|
| 250 |
+
<p class="text-gray-300 mt-4">
|
| 251 |
+
The integral of the vector field around any zero‑point always converges to π, providing the gyroscopic pivot for universal orientation.
|
| 252 |
+
</p>
|
| 253 |
+
</div>
|
| 254 |
+
</div>
|
| 255 |
+
<div class="mt-12">
|
| 256 |
+
<h3 class="text-2xl font-bold mb-6 text-neural-300">Three‑Body Solution with Pulsars</h3>
|
| 257 |
+
<div class="bg-gray-900/50 p-6 rounded-xl font-mono text-lg">
|
| 258 |
+
∂²r/∂t² = Σ<sub>i≠j</sub> (G·m<sub>i</sub>m<sub>j</sub>/|r<sub>ij</sub>|³) · r<sub>ij</sub> + α·P<sub>1</sub> + β·P<sub>2</sub>
|
| 259 |
+
</div>
|
| 260 |
+
<p class="text-gray-300 mt-4">
|
| 261 |
+
The two pulsar stabilizers (P<sub>1</sub>, P<sub>2</sub>) inject periodic damping forces (α, β) that cancel chaotic divergences, rendering the three‑body problem tractable within the modular closed system.
|
| 262 |
+
</p>
|
| 263 |
+
</div>
|
| 264 |
+
</div>
|
| 265 |
+
</section>
|
| 266 |
+
|
| 267 |
+
<!-- Device Integration -->
|
| 268 |
+
<section class="mb-20">
|
| 269 |
+
<h2 class="text-4xl font-bold text-center mb-12">Runs on Any Device</h2>
|
| 270 |
+
<p class="text-xl text-gray-300 text-center mb-12 max-w-3xl mx-auto">The Vector Physics Engine is lightweight enough to execute on smartphones, quantum computers, wearables, and even embedded IoT sensors.</p>
|
| 271 |
+
<div class="grid grid-cols-2 md:grid-cols-4 gap-6">
|
| 272 |
+
<div class="bg-gray-800/50 rounded-2xl p-6 text-center hover:bg-gray-800 transition-all duration-300">
|
| 273 |
+
<i data-feather="smartphone" class="w-12 h-12 mx-auto mb-4 text-vector-400"></i>
|
| 274 |
+
<h4 class="font-bold text-lg">Smartphones</h4>
|
| 275 |
+
<p class="text-gray-400 text-sm mt-2">Real‑time vector field simulation</p>
|
| 276 |
+
</div>
|
| 277 |
+
<div class="bg-gray-800/50 rounded-2xl p-6 text-center hover:bg-gray-800 transition-all duration-300">
|
| 278 |
+
<i data-feather="cpu" class="w-12 h-12 mx-auto mb-4 text-quantum-400"></i>
|
| 279 |
+
<h4 class="font-bold text-lg">Quantum Computers</h4>
|
| 280 |
+
<p class="text-gray-400 text-sm mt-2">Full 360‑vector parallelism</p>
|
| 281 |
+
</div>
|
| 282 |
+
<div class="bg-gray-800/50 rounded-2xl p-6 text-center hover:bg-gray-800 transition-all duration-300">
|
| 283 |
+
<i data-feather="watch" class="w-12 h-12 mx-auto mb-4 text-neural-400"></i>
|
| 284 |
+
<h4 class="font-bold text-lg">Wearables</h4>
|
| 285 |
+
<p class="text-gray-400 text-sm mt-2">Continuous gyroscopic tracking</p>
|
| 286 |
+
</div>
|
| 287 |
+
<div class="bg-gray-800/50 rounded-2xl p-6 text-center hover:bg-gray-800 transition-all duration-300">
|
| 288 |
+
<i data-feather="wifi" class="w-12 h-12 mx-auto mb-4 text-vector-400"></i>
|
| 289 |
+
<h4 class="font-bold text-lg">IoT Sensors</h4>
|
| 290 |
+
<p class="text-gray-400 text-sm mt-2">Distributed zero‑point detection</p>
|
| 291 |
+
</div>
|
| 292 |
+
</div>
|
| 293 |
+
</section>
|
| 294 |
+
</main>
|
| 295 |
+
|
| 296 |
+
<custom-footer></custom-footer>
|
| 297 |
+
|
| 298 |
+
<script src="script.js"></script>
|
| 299 |
+
<script src="components/vector-physics.js"></script>
|
| 300 |
+
<script>
|
| 301 |
+
feather.replace();
|
| 302 |
+
</script>
|
| 303 |
+
</body>
|
| 304 |
+
</html>
|