-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathacademy_vortex.html
More file actions
148 lines (137 loc) · 4.59 KB
/
Copy pathacademy_vortex.html
File metadata and controls
148 lines (137 loc) · 4.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>5IR LESSON 01: THE VORTEX ENGINE</title>
<style>
:root {
--cyan: #00f2ff;
--purple: #bc00ff;
--black: #050505;
--grey: #1a1a1a;
}
body {
background-color: var(--black);
color: white;
font-family: 'Courier New', Courier, monospace;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
overflow: hidden;
text-transform: uppercase;
}
#terminal {
width: 80%;
max-width: 800px;
border: 1px solid var(--cyan);
padding: 20px;
background: rgba(0, 242, 255, 0.05);
box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}
.glitch {
font-size: 2rem;
color: var(--cyan);
text-shadow: 2px 2px var(--purple);
margin-bottom: 20px;
}
.instruction {
color: #888;
margin-bottom: 30px;
}
#vortex-container {
position: relative;
width: 300px;
height: 300px;
margin: 40px auto;
}
#toroid {
width: 100%;
height: 100%;
border: 4px dashed var(--cyan);
border-radius: 50%;
animation: spin 5s linear infinite;
}
#core {
position: absolute;
top: 50%;
left: 50%;
width: 100px;
height: 100px;
background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
border-radius: 50%;
transform: translate(-50%, -50%);
filter: blur(10px);
opacity: 0.5;
}
@keyframes spin {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
input[type=range] {
width: 100%;
cursor: pointer;
accent-color: var(--cyan);
}
#status-display {
margin-top: 20px;
font-size: 1.2rem;
height: 30px;
}
.success { color: var(--cyan); animation: pulse 1s infinite; }
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.5; }
100% { opacity: 1; }
}
</style>
</head>
<body>
<div id="terminal">
<div class="glitch">PH-101: VORTEX ALIGNMENT</div>
<div class="instruction">4TH REV FREQUENCIES ARE STATIC. THE VORTEX REQUIRES PHASE-LOCK.</div>
<div id="vortex-container">
<div id="toroid"></div>
<div id="core"></div>
</div>
<div id="controls">
<label for="freq-slider">TUNING FREQUENCY: <span id="freq-val">20,000</span> Hz</label>
<input type="range" id="freq-slider" min="30000" max="45000" value="30000">
</div>
<div id="status-display">STATUS: SEARCHING FOR SIGNAL...</div>
</div>
<script>
const slider = document.getElementById('freq-slider');
const freqVal = document.getElementById('freq-val');
const statusDisplay = document.getElementById('status-display');
const core = document.getElementById('core');
const toroid = document.getElementById('toroid');
const TARGET_FREQ = 39420;
const TOLERANCE = 150;
slider.oninput = function() {
const val = parseInt(this.value);
freqVal.innerText = val.toLocaleString();
const diff = Math.abs(val - TARGET_FREQ);
// Visual feedback
if (diff < 2000) {
const intensity = 1 - (diff / 2000);
core.style.opacity = 0.5 + (intensity * 0.5);
core.style.filter = `blur(${10 - (intensity * 8)}px)`;
toroid.style.borderColor = `rgba(0, 242, 255, ${0.2 + (intensity * 0.8)})`;
toroid.style.borderStyle = diff < TOLERANCE ? 'solid' : 'dashed';
}
if (diff < TOLERANCE) {
statusDisplay.innerHTML = '<span class="success">PHASE-LOCK ACHIEVED. VORTEX ENGINE STARTING...</span>';
toroid.style.animationDuration = '1s';
core.style.background = 'radial-gradient(circle, #fff 0%, var(--cyan) 40%, transparent 80%)';
} else {
statusDisplay.innerText = 'STATUS: SIGNAL NOISE DETECTED (' + diff + ' Hz OFFSET)';
toroid.style.animationDuration = '5s';
core.style.background = 'radial-gradient(circle, var(--purple) 0%, transparent 70%)';
}
}
</script>
</body>
</html>