-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstructions.html
More file actions
376 lines (324 loc) · 12.6 KB
/
instructions.html
File metadata and controls
376 lines (324 loc) · 12.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>imoji Enterprise Manual</title>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Orbitron:wght@500;700;900&display=swap" rel="stylesheet">
<style>
:root {
--primary: #6366f1;
--accent: #a5b4fc;
--dark: #020617;
--glass: rgba(15, 23, 42, 0.6);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
background-color: var(--dark);
color: white;
font-family: 'Inter', sans-serif;
overflow-x: hidden;
opacity: 0;
animation: fadeIn 1s ease-out forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
/* --- The Canvas Engine --- */
canvas {
position: fixed;
top: 0; left: 0;
width: 100%; height: 100%;
z-index: -1;
}
/* --- Layout --- */
.hero-section {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: center;
position: relative;
z-index: 10;
}
h1 {
font-family: 'Orbitron', sans-serif;
font-size: clamp(3rem, 8vw, 6rem);
font-weight: 900;
letter-spacing: -2px;
background: linear-gradient(to bottom right, #fff, #6366f1);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 20px;
text-shadow: 0 0 40px rgba(99, 102, 241, 0.4);
opacity: 0;
transform: translateY(30px);
animation: slideUp 1s cubic-bezier(0.2, 1, 0.3, 1) 0.5s forwards;
}
.subtitle {
font-size: 1.2rem;
color: #94a3b8;
max-width: 600px;
line-height: 1.6;
opacity: 0;
transform: translateY(20px);
animation: slideUp 1s cubic-bezier(0.2, 1, 0.3, 1) 0.8s forwards;
}
.scroll-indicator {
position: absolute;
bottom: 40px;
font-size: 0.8rem;
letter-spacing: 3px;
text-transform: uppercase;
color: var(--accent);
opacity: 0.7;
animation: pulse 2s infinite;
}
/* --- Cards --- */
.container {
max-width: 1100px;
margin: 0 auto;
padding: 100px 20px;
z-index: 10;
position: relative;
}
.feature-card {
background: var(--glass);
backdrop-filter: blur(12px);
border: 1px solid rgba(255,255,255,0.05);
border-radius: 24px;
padding: 60px;
margin-bottom: 80px;
display: grid;
grid-template-columns: 1fr 0.8fr;
gap: 60px;
align-items: center;
transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
transform: translateY(-5px);
box-shadow: 0 20px 40px -10px rgba(99, 102, 241, 0.1);
border-color: rgba(99, 102, 241, 0.3);
}
.feature-card.reverse { direction: rtl; }
.feature-card.reverse .text-content { direction: ltr; }
.text-content h2 {
font-family: 'Orbitron';
font-size: 2rem;
margin-bottom: 20px;
color: var(--accent);
}
.text-content p {
color: #cbd5e1;
font-size: 1.1rem;
line-height: 1.7;
}
.visual-box {
height: 250px;
background: rgba(0,0,0,0.2);
border-radius: 16px;
border: 1px dashed rgba(255,255,255,0.1);
display: flex;
align-items: center;
justify-content: center;
font-size: 5rem;
position: relative;
overflow: hidden;
}
.visual-box::after {
content: ''; position: absolute;
top: -50%; left: -50%; width: 200%; height: 200%;
background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
animation: rotate 10s linear infinite;
}
/* --- Code Pill --- */
.code {
display: inline-block;
background: rgba(99, 102, 241, 0.15);
color: #a5b4fc;
padding: 6px 14px;
border-radius: 8px;
font-family: 'JetBrains Mono', monospace;
font-size: 0.9rem;
margin-top: 16px;
border: 1px solid rgba(99, 102, 241, 0.2);
}
/* --- Credits --- */
.credits {
text-align: center;
padding: 150px 20px;
position: relative;
}
.credits h3 {
font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase;
color: #64748b; margin-bottom: 20px;
}
.name {
font-family: 'Orbitron';
font-size: clamp(2.5rem, 6vw, 5rem);
font-weight: 900;
background: linear-gradient(to bottom, white, #94a3b8);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-bottom: 10px;
}
.handle { font-size: 1.5rem; color: var(--primary); font-weight: 600; }
.copy { margin-top: 80px; color: #475569; font-size: 0.9rem; }
/* --- Animations --- */
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%, 100% { opacity: 0.7; transform: translateY(0); } 50% { opacity: 0.3; transform: translateY(10px); } }
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@media (max-width: 900px) {
.feature-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; text-align: center; }
.feature-card.reverse { direction: ltr; }
}
</style>
</head>
<body>
<canvas id="neural-canvas"></canvas>
<section class="hero-section">
<h1>imoji v20.0</h1>
<p class="subtitle">The Enterprise Workspace Intelligence System.<br>Secure. Fast. Intelligent.</p>
<div class="scroll-indicator">Initialize System</div>
</section>
<div class="container">
<!-- Feature 1 -->
<div class="feature-card">
<div class="text-content">
<h2>Neural Intelligence</h2>
<p>Our context-aware AI engine is embedded directly into your workflow. Simply highlight any text, right-click, and engage the <strong>"Ask imoji Intelligence"</strong> protocol.</p>
<div class="code">Protocol: Right-Click > Ask imoji</div>
</div>
<div class="visual-box">🧠</div>
</div>
<!-- Feature 2 -->
<div class="feature-card reverse">
<div class="text-content">
<h2>Velocity Input</h2>
<p>Expand data packets instantly. The system detects shortcodes and replaces them with rich media assets in < 10ms.</p>
<div class="code">:rocket: → 🚀</div>
</div>
<div class="visual-box">⚡</div>
</div>
<!-- Feature 3 -->
<div class="feature-card">
<div class="text-content">
<h2>System Telemetry</h2>
<p>Access real-time analytics on productivity gains. The centralized dashboard provides insight into query volume and time-saved metrics.</p>
</div>
<div class="visual-box">📊</div>
</div>
</div>
<section class="credits">
<h3>Architected & Engineered By</h3>
<div class="name">R H A Ashan Imalka</div>
<div class="handle">( SCXR )</div>
<div class="copy">© 2025 Enterprise Division. All Rights Reserved.</div>
</section>
<script>
/**
* Custom High-Performance Particle Engine
* Zero external dependencies. Pure Mathematics.
*/
const canvas = document.getElementById('neural-canvas');
const ctx = canvas.getContext('2d');
let width, height;
let particles = [];
// Configuration
const PARTICLE_COUNT = 80;
const CONNECTION_DISTANCE = 150;
const MOUSE_RADIUS = 250;
let mouse = { x: null, y: null };
class Particle {
constructor() {
this.x = Math.random() * width;
this.y = Math.random() * height;
this.vx = (Math.random() - 0.5) * 0.5;
this.vy = (Math.random() - 0.5) * 0.5;
this.size = Math.random() * 2 + 1;
}
update() {
this.x += this.vx;
this.y += this.vy;
// Bounce off edges
if (this.x < 0 || this.x > width) this.vx *= -1;
if (this.y < 0 || this.y > height) this.vy *= -1;
// Mouse interaction
if (mouse.x != null) {
let dx = mouse.x - this.x;
let dy = mouse.y - this.y;
let distance = Math.sqrt(dx * dx + dy * dy);
if (distance < MOUSE_RADIUS) {
const forceDirectionX = dx / distance;
const forceDirectionY = dy / distance;
const force = (MOUSE_RADIUS - distance) / MOUSE_RADIUS;
const directionX = forceDirectionX * force * 0.6;
const directionY = forceDirectionY * force * 0.6;
this.vx += directionX;
this.vy += directionY;
}
}
// Friction to stabilize
this.vx *= 0.98; // Higher = slippery, Lower = thick fluid
this.vy *= 0.98;
}
draw() {
ctx.fillStyle = '#6366f1';
ctx.beginPath();
ctx.arc(this.x, this.y, this.size, 0, Math.PI * 2);
ctx.fill();
}
}
function init() {
resize();
particles = [];
for (let i = 0; i < PARTICLE_COUNT; i++) {
particles.push(new Particle());
}
}
function resize() {
width = window.innerWidth;
height = window.innerHeight;
canvas.width = width;
canvas.height = height;
}
function animate() {
ctx.clearRect(0, 0, width, height);
// Update and draw particles
for (let i = 0; i < particles.length; i++) {
particles[i].update();
particles[i].draw();
// Draw connections
for (let j = i; j < particles.length; j++) {
let dx = particles[i].x - particles[j].x;
let dy = particles[i].y - particles[j].y;
let distance = Math.sqrt(dx*dx + dy*dy);
if (distance < CONNECTION_DISTANCE) {
ctx.beginPath();
// Opacity based on distance
let opacity = 1 - (distance / CONNECTION_DISTANCE);
ctx.strokeStyle = 'rgba(99, 102, 241, ' + opacity * 0.5 + ')';
ctx.lineWidth = 1;
ctx.moveTo(particles[i].x, particles[i].y);
ctx.lineTo(particles[j].x, particles[j].y);
ctx.stroke();
}
}
}
requestAnimationFrame(animate);
}
// Event Listeners
window.addEventListener('resize', resize);
window.addEventListener('mousemove', (e) => {
mouse.x = e.x;
mouse.y = e.y;
});
window.addEventListener('mouseleave', () => {
mouse.x = null;
mouse.y = null;
});
// Start System
init();
animate();
</script>
</body>
</html>