Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
205 lines (177 loc) · 6.44 KB
/
Copy pathindex.html
File metadata and controls
205 lines (177 loc) · 6.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Interactive Playground</title>
<style>
:root {
--bg-color: #0f0f13;
--card-bg: #1e1e24;
--text-main: #ffffff;
--text-sub: #a0a0b0;
--accent: #4af;
}
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-main);
margin: 0;
padding: 40px 20px;
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
}
header {
text-align: center;
margin-bottom: 60px;
}
h1 {
font-size: 2.5rem;
margin-bottom: 10px;
background: linear-gradient(45deg, #4af, #f55);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
p.subtitle {
color: var(--text-sub);
font-size: 1.1rem;
}
/* Grid Layout */
.app-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
width: 100%;
max-width: 1000px;
}
/* Card Styles */
.card {
background: var(--card-bg);
border-radius: 16px;
overflow: hidden;
text-decoration: none;
color: inherit;
transition: transform 0.2s, box-shadow 0.2s;
box-shadow: 0 4px 20px rgba(0,0,0,0.3);
border: 1px solid #333;
display: flex;
flex-direction: column;
}
.card:hover {
transform: translateY(-5px);
box-shadow: 0 8px 30px rgba(74, 175, 255, 0.15);
border-color: var(--accent);
}
/* Image Placeholders (Replace these with <img> tags later) */
.card-image {
height: 180px;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1.2rem;
text-transform: uppercase;
letter-spacing: 2px;
color: rgba(255,255,255,0.8);
}
/* Specific styles for placeholders if you don't have screenshots yet */
.img-solar {
background: linear-gradient(135deg, #000428, #004e92);
position: relative;
}
.img-solar::after {
content: "☀️";
font-size: 3rem;
}
.img-tilings {
background: linear-gradient(135deg, #11998e, #38ef7d);
position: relative;
}
.img-tilings::after {
content: "🔷";
font-size: 3rem;
}
.card-content {
padding: 25px;
}
.card h2 {
margin: 0 0 10px 0;
font-size: 1.4rem;
}
.card p {
margin: 0;
color: var(--text-sub);
line-height: 1.5;
}
footer {
margin-top: auto;
padding-top: 50px;
color: #555;
font-size: 0.9rem;
}
</style>
</head>
<body>
<header>
<h1>Interactive Library</h1>
<p class="subtitle">A collection of statistics, math, and physics simulations</p>
</header>
<div class="app-grid">
<a href="solar-sim/" class="card">
<img src="solar-sim/preview.png" alt="Solar Simulation Preview" style="height: 180px; object-fit: cover;">
<div class="card-content">
<h2>Solar vs. Sidereal</h2>
<p>Visualize why the Earth rotates 366 times in a 365-day year. Inspired by Martin Gardner.</p>
</div>
</a>
<a href="tilings/" class="card">
<img src="tilings/preview.png" alt="Tilings Preview" style="height: 180px; object-fit: cover;">
<div class="card-content">
<h2>Geometric Tilings</h2>
<p>Explore tessellations and patterns. An interactive playground for generating geometric art.</p>
</div>
</a>
<a href="mystery-box/" class="card">
<img src="mystery-box/preview.png" alt="Tilings Preview" style="height: 180px; object-fit: cover;">
<div class="card-content">
<h2>Mystery Box Game</h2>
<p>A game where you try to guess the proportion of red balls in a box. But it will cost you.</p>
</div>
</a>
<a href="fourier/" class="card">
<img src="fourier/preview.png" alt="Harmonics Preview" style="height: 180px; object-fit: cover;">
<div class="card-content">
<h2>Fourier Series Explorer</h2>
<p>Explore the Fourier series of different waveforms.</p>
</div>
</a>
<a href="least-squares/" class="card">
<img src="least-squares/preview.png" alt="Least-squares projection geometry preview" style="height: 180px; object-fit: cover;">
<div class="card-content">
<h2>Geometry of Least Squares</h2>
<p>Connect a line through three observations to projection onto a model plane in three-dimensional observation space.</p>
</div>
</a>
<a href="gravity-experiment/" class="card">
<img src="gravity-experiment/preview.png" alt="Landed spacecraft beside a drop tower on an unknown world" style="height: 180px; object-fit: cover;">
<div class="card-content">
<h2>Gravity Unknown</h2>
<p>Measure a falling probe, estimate local gravity, identify the hidden moon, and launch home.</p>
</div>
</a>
<a href="visual-trigonometry/" class="card">
<img src="visual-trigonometry/preview.png" alt="Unit circle showing cosine, sine, and a complex point" style="height: 180px; object-fit: cover;">
<div class="card-content">
<h2>Visual Trigonometry</h2>
<p>Connect the unit circle, sine and cosine waves, complex numbers, and identities in one synchronized instrument.</p>
</div>
</a>
</div>
<footer>
Hosted on GitHub Pages
</footer>
</body>
</html>