-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
98 lines (97 loc) · 4.96 KB
/
Copy pathindex.html
File metadata and controls
98 lines (97 loc) · 4.96 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Teaching Demos</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, sans-serif; background: #0d1117; color: #e6edf3; min-height: 100vh; padding: 2rem; }
.container { max-width: 800px; margin: 0 auto; }
h1 { font-size: 2rem; margin-bottom: 0.3rem; }
.subtitle { color: #7d8590; margin-bottom: 2rem; font-size: 1.05rem; }
.demo-grid { display: grid; gap: 1rem; }
.demo-card {
background: #161b22; border: 1px solid #30363d; border-radius: 10px;
padding: 1.5rem; text-decoration: none; color: inherit;
transition: border-color 0.2s, transform 0.15s;
}
.demo-card:hover { border-color: #58a6ff; transform: translateY(-2px); }
.demo-card h2 { font-size: 1.2rem; color: #58a6ff; margin-bottom: 0.4rem; }
.demo-card p { color: #7d8590; font-size: 0.95rem; line-height: 1.5; }
.tag { display: inline-block; font-size: 0.75rem; padding: 2px 8px; border-radius: 12px;
background: #1a3050; color: #58a6ff; margin-right: 6px; margin-bottom: 8px; }
.footer { margin-top: 3rem; color: #484f58; font-size: 0.85rem; text-align: center;
display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; }
.footer a { color: #58a6ff; text-decoration: none; }
.footer-segment { display: inline-flex; align-items: center; white-space: nowrap; }
@media (max-width: 480px) {
body { padding: 1rem; }
h1 { font-size: 1.5rem; }
.subtitle { font-size: 0.9rem; margin-bottom: 1.2rem; }
.demo-card { padding: 1.2rem; }
.demo-card h2 { font-size: 1.05rem; }
}
</style>
</head>
<body>
<div class="container">
<h1>Teaching Demos</h1>
<p class="subtitle">Interactive visualizations for engineering and science education</p>
<div class="demo-grid">
<a class="demo-card" href="demos/feedback-control/">
<div>
<span class="tag">Controls</span>
<span class="tag">2nd Order Systems</span>
<span class="tag">Interactive</span>
</div>
<h2>Feedback Control: Depth Tracking</h2>
<p>Proportional control of an underwater robot. Adjust gain, mass, and drag to explore overshoot, damping, and rise time. Based on HMC E79.</p>
</a>
<a class="demo-card" href="demos/two-body-orbit/">
<div>
<span class="tag">Mechanics</span>
<span class="tag">Gravity</span>
<span class="tag">Kepler's Laws</span>
</div>
<h2>Two-Body Orbits: Newtonian Gravity</h2>
<p>Two masses orbiting their common center of mass. Adjust masses, semi-major axis, and eccentricity to explore Kepler's laws and orbital mechanics.</p>
</a>
<a class="demo-card" href="demos/figure-critique/">
<div>
<span class="tag">Scientific Writing</span>
<span class="tag">Figures</span>
<span class="tag">Assessment</span>
</div>
<h2>Figure Critique: E80 Guidelines</h2>
<p>Identify issues in scientific figures using the HMC E80 rubric. Click on problem areas, classify issues, then check your answers against the key.</p>
</a>
<a class="demo-card" href="demos/progressive-rendering/">
<div>
<span class="tag">Signal Processing</span>
<span class="tag">Compression</span>
<span class="tag">JPEG</span>
</div>
<h2>Progressive Rendering: Why Basis Functions Matter</h2>
<p>Compare pixel-by-pixel vs. DCT frequency ordering to see why JPEG compression works. Same data, different basis — dramatically different quality.</p>
</a>
</div>
<div class="footer">
<span class="footer-segment">
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" style="margin-right:4px;">
<path d="M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5"/>
<path d="M9 18h6"/>
<path d="M10 22h4"/>
</svg>
<span>Built by <a href="https://joshbrake.com">Josh Brake</a> cooking with <a href="https://claude.ai/claude-code">Claude Code</a>.</span>
</span>
<span class="footer-segment" style="margin-left:6px;">
<svg width="14" height="14" viewBox="0 0 16 16" fill="#484f58" style="margin-right:4px;">
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"/>
</svg>
<a href="https://github.com/joshbrake/teaching-demos">View source code on GitHub.</a>
</span>
</div>
</div>
</body>
</html>