-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
470 lines (425 loc) · 16.9 KB
/
index.html
File metadata and controls
470 lines (425 loc) · 16.9 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
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
<html lang="en">
<!-- InstanceBegin template="/Templates/interactive.dwt" codeOutsideHTMLIsLocked="true" -->
<head>
<link rel="stylesheet" href="https://isocialpractice.github.io/interactive-html/css/style.css">
<link rel="icon" type="image/svg+xml" href="https://isocialpractice.github.io/interactive-html/img/favicon.svg">
<!-- InstanceBeginEditable name="head" -->
<title>Computer Science Interactive Tools | Binary, Logic Gates & Programming Concepts</title>
<meta name="description" content="Interactive tools for learning computer science fundamentals. Explore binary conversion, logic gates, programming concepts, and more with visual, hands-on demonstrations.">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: linear-gradient(0deg, #2a5298 0%, white 50%);
font-family: 'Inter', 'Segoe UI', -apple-system, system-ui, sans-serif;
color: #1A1A1A;
line-height: 1.6;
min-height: 100vh;
}
header {
background: linear-gradient(180deg, white 0%, #4a7bb7 65%, #2a5298 90%);
color: white;
box-shadow: 0 4px 16px rgba(42, 82, 152, 0.3);
padding: 48px 0;
margin-bottom: 48px;
}
header h1 { color: #1e3c72; }
.header-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
text-align: center;
}
h1 {
font-size: 48px;
font-weight: 700;
margin-bottom: 16px;
text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
a { color: #2a5298 !important; }
a.nav-link { color: #6c757d !important; }
.tagline {
font-size: 20px;
font-weight: 500;
opacity: 0.95;
}
.intro-section {
max-width: 1200px;
margin: 0 auto 48px;
padding: 0 24px;
}
.intro-card {
background: white;
border-radius: 16px;
padding: 32px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
border-left: 4px solid #2a5298;
}
.intro-card h2 {
color: #2a5298;
font-size: 24px;
margin-bottom: 16px;
}
.intro-card p {
color: #6C757D;
line-height: 1.8;
margin-bottom: 12px;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px 48px;
}
.tools-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 24px;
margin-bottom: 48px;
}
.tool-card {
background: #FFFFFF;
border-radius: 16px;
padding: 28px;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
border: 2px solid #d4e3f7;
transition: all 0.3s;
text-decoration: none;
color: inherit;
display: block;
}
.tool-card:hover {
transform: translateY(-6px);
box-shadow: 0 12px 32px rgba(42, 82, 152, 0.25);
border-color: #2a5298;
}
.tool-icon {
width: 64px;
height: 64px;
background: linear-gradient(135deg, #4a7bb7 0%, #2a5298 100%);
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
font-size: 32px;
margin-bottom: 20px;
color: #FFFFFF;
box-shadow: 0 4px 12px rgba(42, 82, 152, 0.3);
}
.tool-title {
color: #1A1A1A;
font-size: 20px;
font-weight: 700;
margin-bottom: 12px;
}
.tool-description {
color: #6C757D;
font-size: 15px;
line-height: 1.6;
margin-bottom: 16px;
}
.tool-features {
list-style: none;
margin: 16px 0;
padding-left: 0;
}
.tool-features li {
color: #495057;
font-size: 14px;
padding: 6px 0;
padding-left: 24px;
position: relative;
}
.tool-features li:before {
content: "✓";
position: absolute;
left: 0;
color: #2a5298;
font-weight: bold;
}
.tool-badge {
display: inline-block;
background: linear-gradient(135deg, #4a7bb7 0%, #2a5298 100%);
color: white;
padding: 6px 14px;
border-radius: 8px;
font-size: 12px;
font-weight: 700;
margin-top: 12px;
}
.coming-soon {
background: white;
border-radius: 16px;
padding: 32px;
text-align: center;
box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.coming-soon h2 {
color: #1e3c72;
font-size: 28px;
margin-bottom: 16px;
}
.coming-soon p {
color: #2a5298;
font-size: 16px;
line-height: 1.6;
}
.coming-soon-list {
list-style: none;
margin: 24px 0;
padding: 0;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 12px;
}
.coming-soon-list li {
color: #1f2328 !important;
font-size: 15px;
padding: 12px;
background: #F8F9FA;
border-radius: 8px;
border-left: 3px solid #2a5298;
}
footer {
background: #FFFFFF;
border-top: 1px solid #E1E4E8;
padding: 32px 0;
margin-top: 48px;
text-align: center;
}
.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 24px;
color: #6C757D;
font-size: 14px;
}
.footer-links {
margin-top: 16px;
}
.footer-links a {
color: #2a5298;
text-decoration: none;
margin: 0 12px;
font-weight: 500;
}
.footer-links a:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
h1 {
font-size: 36px;
}
.tools-grid {
grid-template-columns: 1fr;
}
.coming-soon-list {
grid-template-columns: 1fr;
}
}
</style>
<!-- InstanceEndEditable -->
</head>
<body>
<nav class="site-nav">
<div class="nav-container">
<a href="https://isocialpractice.github.io/interactive-html/index.html" class="nav-brand">
<img src="https://isocialpractice.github.io/interactive-html/img/favicon.svg" alt="Electronics Tools" class="nav-logo">
<span>Interactive Tools</span>
</a>
<button class="nav-toggle" aria-label="Toggle menu" onclick="document.querySelector('.nav-menu').classList.toggle('active')">☰</button>
<ul class="nav-menu">
<li class="nav-item">
<a href="https://isocialpractice.github.io/interactive-html/index.html" class="nav-link"><span>🏠</span> <span>Home</span></a>
</li>
<li class="nav-item nav-dropdown">
<a href="https://isocialpractice.github.io/interactive-html/555/index.html" class="nav-link dropdown-toggle"><span>⏱️</span> <span>555 Timer</span></a>
<div class="dropdown-menu">
<a href="https://isocialpractice.github.io/interactive-html/555/555-timer-simulator.html" class="nav-link">Interactive Simulator</a>
<a href="https://isocialpractice.github.io/interactive-html/555/555-astable-calculator.html" class="nav-link">Astable Calculator</a>
<a href="https://isocialpractice.github.io/interactive-html/555/555-monostable-simulator.html" class="nav-link">Monostable Simulator</a>
<a href="https://isocialpractice.github.io/interactive-html/555/555-logic-simulator.html" class="nav-link">Clock Logic Simulator</a>
</div>
</li>
<li class="nav-item nav-dropdown">
<a href="https://isocialpractice.github.io/interactive-html/electronics/index.html#resistorTools" class="nav-link dropdown-toggle"><span>🔌</span> <span>Resistors</span></a>
<div class="dropdown-menu">
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-resistor-calculator.html" class="nav-link">Color Code Calculator</a>
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-parallel-resistor-calculator.html" class="nav-link">Parallel Calculator</a>
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-fusible-resistor-calculator.html" class="nav-link">Fusible Calculator</a>
</div>
</li>
<li class="nav-item nav-dropdown">
<a href="https://isocialpractice.github.io/interactive-html/electronics/index.html#ledAndPowerTools" class="nav-link dropdown-toggle"><span>💡</span> <span>LED & Power</span></a>
<div class="dropdown-menu">
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-ohms-law-calculator.html" class="nav-link">Ohm's Law</a>
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-led-current-calculator.html" class="nav-link">LED Calculator</a>
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-voltage-divider-calculator.html" class="nav-link">Voltage Divider</a>
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-varistor-simulator.html" class="nav-link">Varistor Simulator</a>
</div>
</li>
<li class="nav-item nav-dropdown">
<a href="https://isocialpractice.github.io/interactive-html/electronics/index.html#components" class="nav-link dropdown-toggle"><span>🔧</span> <span>Components</span></a>
<div class="dropdown-menu">
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-potentiometer-simulator.html" class="nav-link">Potentiometer Simulator</a>
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-potentiometer-decoder.html" class="nav-link">Potentiometer Decoder</a>
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-surface-mount-decoder.html" class="nav-link">SMD Decoder</a>
<a href="https://isocialpractice.github.io/interactive-html/electronics/electronics-breadboard-simulator.html" class="nav-link">Breadboard Simulator</a>
</div>
</li>
<li class="nav-item nav-dropdown">
<a href="https://isocialpractice.github.io/interactive-html/general/index.html" class="nav-link dropdown-toggle"><span>📐</span> <span>General</span></a>
<div class="dropdown-menu">
<a href="https://isocialpractice.github.io/interactive-html/general/general-volume-measurement.html" class="nav-link">Volume Measurement</a>
<a href="https://isocialpractice.github.io/interactive-html/general/general-area-and-perimeter-calculator.html" class="nav-link">Area & Perimeter</a>
</div>
</li>
<li class="nav-item nav-dropdown">
<a href="https://isocialpractice.github.io/interactive-html/computerScience/index.html" class="nav-link dropdown-toggle"><span>💻</span> <span>Computer Science</span></a>
<div class="dropdown-menu">
<a href="https://isocialpractice.github.io/interactive-html/computerScience/computerScience-number-converter.html" class="nav-link">Number Converter</a>
<a href="https://isocialpractice.github.io/interactive-html/computerScience/computerScience-logic-gates.html" class="nav-link">Logic Gates</a>
<a href="https://isocialpractice.github.io/interactive-html/computerScience/computerScience-stackPointer.html" class="nav-link">Stack Pointer Visualizer</a>
<a href="https://isocialpractice.github.io/interactive-html/computerScience/computerScience-binaryHexMemoryMapConverter.html" class="nav-link">Binary/Hex Memory Map</a>
<a href="https://isocialpractice.github.io/interactive-html/computerScience/computerScience-chipTimingWaveform.html" class="nav-link">Chip Timing Waveform</a>
</div>
</li>
</ul>
</div>
</nav>
<!-- InstanceBeginEditable name="page" -->
<header style="margin-top: -72px; padding-top: 96px;">
<div class="header-content">
<h1>💻 Computer Science Tools</h1>
<p class="tagline">Interactive tools for learning programming fundamentals and computer science concepts</p>
</div>
</header>
<div class="intro-section">
<div class="intro-card">
<h2>Learn by Doing</h2>
<p>Computer science concepts come alive when you can see them in action. Our interactive tools help you understand binary systems, logic gates, memory management, and programming fundamentals through hands-on experimentation.</p>
<p>Whether you're studying for a course, building your first computer, or exploring low-level programming, these visualizations make complex concepts clear and intuitive.</p>
</div>
</div>
<div class="container">
<!-- Current Tools -->
<div class="tools-grid">
<a href="computerScience-number-converter.html" class="tool-card">
<div class="tool-icon">🔢</div>
<h3 class="tool-title">Number System Converter</h3>
<p class="tool-description">Convert between binary, hexadecimal, decimal, octal, and ASCII characters. Understand how computers represent numbers and text at the fundamental level.</p>
<ul class="tool-features">
<li>Binary ↔ Hex ↔ Decimal ↔ Octal</li>
<li>ASCII/UTF-8 character encoding</li>
<li>Byte-grouped binary display</li>
<li>Powers of 2 reference table</li>
<li>Real-time conversion</li>
</ul>
<span class="tool-badge">Number Systems</span>
</a>
<a href="computerScience-logic-gates.html" class="tool-card">
<div class="tool-icon">⚡</div>
<h3 class="tool-title">Logic Gate Truth Tables</h3>
<p class="tool-description">Explore digital logic gates and Boolean algebra. Generate truth tables for AND, OR, NOT, NAND, NOR, XOR, and XNOR gates with multiple inputs.</p>
<ul class="tool-features">
<li>All 7 fundamental logic gates</li>
<li>Support for 2-4 input gates</li>
<li>Interactive truth tables</li>
<li>Boolean algebra formulas</li>
<li>Real-world applications</li>
</ul>
<span class="tool-badge">Digital Logic</span>
</a>
<a href="computerScience-stackPointer.html" class="tool-card">
<div class="tool-icon">🔄</div>
<h3 class="tool-title">6502 Stack Pointer Visualizer</h3>
<p class="tool-description">Understand how the 6502 processor's stack works. Visualize push/pull operations and see why RAM is essential for subroutine calls in the Ben Eater 6502 computer.</p>
<ul class="tool-features">
<li>Interactive stack memory view</li>
<li>PHA/PLA operations</li>
<li>Stack pointer tracking</li>
<li>JSR/RTS explanation</li>
<li>Stack overflow detection</li>
</ul>
<span class="tool-badge">Assembly & Architecture</span>
</a>
<a href="computerScience-binaryHexMemoryMapConverter.html" class="tool-card">
<div class="tool-icon">🗺️</div>
<h3 class="tool-title">Binary/Hex Memory Map Converter</h3>
<p class="tool-description">Interactive memory address decoder for the Ben Eater 6502 computer. Toggle address bits, see chip select logic, and understand how A15/A14/A13 decode RAM, ROM, and I/O regions.</p>
<ul class="tool-features">
<li>16-bit address bit toggles</li>
<li>Chip select logic visualization</li>
<li>Memory map bar chart</li>
<li>Truth table decoder</li>
<li>Real-time region detection</li>
</ul>
<span class="tool-badge">6502 Architecture</span>
</a>
<a href="computerScience-chipTimingWaveform.html" class="tool-card">
<div class="tool-icon">⏱️</div>
<h3 class="tool-title">Chip Timing Waveform Analyzer</h3>
<p class="tool-description">Visual timing diagram analyzer for the 62256 RAM chip interfacing with the W65C02S CPU. Adjust clock frequency and gate delays to see timing margins and understand bus timing requirements.</p>
<ul class="tool-features">
<li>Interactive timing waveforms</li>
<li>Adjustable clock frequency</li>
<li>Gate delay simulation</li>
<li>Timing margin analysis</li>
<li>Multiple RAM speed grades</li>
</ul>
<span class="tool-badge">Bus Timing</span>
</a>
</div>
<!-- Coming Soon -->
<div class="coming-soon">
<h2>🚀 More Computer Science Tools Coming Soon</h2>
<p>We're building more interactive learning tools to help you master computer science fundamentals:</p>
<ul class="coming-soon-list">
<li>🧮 Two's Complement Calculator</li>
<li>📊 Sorting Algorithm Visualizer</li>
<li>🌳 Data Structure Explorer (Trees, Graphs, Lists)</li>
<li>⚙️ CPU Instruction Simulator</li>
<li>💾 Memory Management Visualizer</li>
<li>🔐 Encryption/Hashing Demos</li>
<li>📈 Big O Complexity Calculator</li>
<li>🔄 State Machine Designer</li>
<li>🧩 Bitwise Operations Playground</li>
<li>📚 Call Stack Debugger</li>
</ul>
<p style="margin-top: 24px; font-style: italic;">Have a suggestion? Let us know on <a href="https://github.com/isocialPractice/interactive-html" target="_blank" style="color: #2a5298; font-weight: 600;">GitHub</a>!</p>
</div>
</div>
<footer>
<div class="footer-content">
<p>Computer Science Tools - Part of the Interactive Tools collection. Licensed under <a href="../LICENSE" style="color: #2a5298; text-decoration: none; font-weight: 500;">MIT</a>.</p>
<div class="footer-links">
<a href="../index.html">← Back to All Tools</a>
<a href="https://github.com/isocialPractice/interactive-html" target="_blank">GitHub</a>
</div>
</div>
</footer>
<!-- InstanceEndEditable -->
<script>
// embeddedScript
// Debugging tool to adjust root link per localhost test, and github pages.
var href = location.href;
var pgHref = document.querySelectorAll("[href], [src]");
if (href.indexOf("localhost") > -1) {
let pgHrefLen = pgHref.length;
for (i = 0; i < pgHrefLen; i++) {
let curVal;
if (pgHref[i].hasAttribute("href")) {
curVal = pgHref[i].getAttribute("href");
pgHref[i].setAttribute("href", curVal.replace("https://isocialpractice.github.io/interactive-html", ""));
}
if (pgHref[i].hasAttribute("src")) {
curVal = pgHref[i].getAttribute("src");
pgHref[i].setAttribute("src", curVal.replace("https://isocialpractice.github.io/interactive-html", ""));
}
}
}
</script>
</body>
<!-- InstanceEnd --></html>