Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
270 lines (240 loc) · 8.13 KB
/
Copy pathindex.html
File metadata and controls
270 lines (240 loc) · 8.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Programmatic Patterns</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
background: #0e0e0e;
color: #fff;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
min-height: 100vh;
padding: 48px 24px;
}
.header {
max-width: 680px;
margin: 0 auto 48px;
}
h1 {
font-size: 15px;
font-weight: 500;
letter-spacing: 0.08em;
text-transform: uppercase;
color: rgba(255,255,255,0.35);
margin-bottom: 10px;
}
.subtitle {
font-size: 13px;
color: rgba(255,255,255,0.22);
line-height: 1.5;
}
.grid {
max-width: 680px;
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 12px;
}
.card {
display: block;
text-decoration: none;
background: rgba(255,255,255,0.04);
border: 1px solid rgba(255,255,255,0.08);
border-radius: 14px;
padding: 20px 22px;
transition: background 0.15s, border-color 0.15s;
}
.card:hover {
background: rgba(255,255,255,0.07);
border-color: rgba(255,255,255,0.14);
}
.card-top {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 16px;
margin-bottom: 8px;
}
.card-title {
font-size: 14px;
font-weight: 500;
color: rgba(255,255,255,0.85);
}
.card-arrow {
font-size: 14px;
color: rgba(255,255,255,0.2);
flex-shrink: 0;
margin-top: 1px;
transition: color 0.15s;
}
.card:hover .card-arrow {
color: rgba(255,255,255,0.5);
}
.card-desc {
font-size: 12px;
color: rgba(255,255,255,0.3);
line-height: 1.55;
margin-bottom: 12px;
}
.tags {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.tag {
font-size: 10px;
color: rgba(255,255,255,0.3);
background: rgba(255,255,255,0.06);
border-radius: 4px;
padding: 2px 7px;
letter-spacing: 0.02em;
}
.footer {
max-width: 680px;
margin: 40px auto 0;
font-size: 11px;
color: rgba(255,255,255,0.15);
}
</style>
</head>
<body>
<div class="header">
<h1>Programmatic Patterns</h1>
<p class="subtitle">generative html backgrounds. no build step, no dependencies. download any file and open it in a browser.</p>
</div>
<div class="grid">
<a class="card" href="bubble-message-background.html">
<div class="card-top">
<span class="card-title">Bubble Message Background</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">imessage-style pill bubbles in rows across a 1920×1080 canvas. every other row flips so the tails face opposite directions. fill, outline, or liquid glass. animated and exportable.</p>
<div class="tags">
<span class="tag">canvas 2D</span>
<span class="tag">bezier curves</span>
<span class="tag">animation</span>
<span class="tag">1920×1080</span>
</div>
</a>
<a class="card" href="cymatic-plates.html">
<div class="card-top">
<span class="card-title">Cymatic Plates</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">n-fold standing wave interference patterns rendered with bayer ordered dithering. low frequency shows clear geometry. crank it up and it becomes film grain.</p>
<div class="tags">
<span class="tag">canvas 2D</span>
<span class="tag">wave math</span>
<span class="tag">bayer dither</span>
<span class="tag">animation</span>
</div>
</a>
<a class="card" href="caustics.html">
<div class="card-top">
<span class="card-title">Caustics</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">shimmering light patterns, like what you see on the floor of a pool. ported from a 146-character glsl shader to a self-contained webgl2 page.</p>
<div class="tags">
<span class="tag">webgl2</span>
<span class="tag">glsl</span>
<span class="tag">animation</span>
</div>
</a>
<a class="card" href="glass-flame.html">
<div class="card-top">
<span class="card-title">Glass Flame</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">double domain-warped fbm turbulence with surface normals for glass specular highlights and iridescent edge shimmer. three modes: flame (red/orange), glass (aqua/blue), crystal (violet/rose). warp, speed, and glass intensity controls.</p>
<div class="tags">
<span class="tag">webgl2</span>
<span class="tag">glsl</span>
<span class="tag">fbm</span>
<span class="tag">animation</span>
</div>
</a>
<a class="card" href="particle-trace.html">
<div class="card-top">
<span class="card-title">Particle Trace</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">upload any image and watch particles trace its shape. brightness drives a flow field that pulls particles into the light areas. three color pickers, adjustable count, speed, and trail fade. invert toggle for dark-on-white images.</p>
<div class="tags">
<span class="tag">canvas 2D</span>
<span class="tag">particle sim</span>
<span class="tag">image upload</span>
<span class="tag">flow field</span>
</div>
</a>
<a class="card" href="truchet-tiles.html">
<div class="card-top">
<span class="card-title">Truchet Tiles</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">quarter-circle arc tiles that flip between two configs driven by animated fbm noise. large organic blobs of each config drift slowly across the grid. tube highlights and a soft glow make the lines feel lit from within.</p>
<div class="tags">
<span class="tag">webgl2</span>
<span class="tag">glsl</span>
<span class="tag">fbm</span>
<span class="tag">animation</span>
</div>
</a>
<a class="card" href="cellular.html">
<div class="card-top">
<span class="card-title">Cellular</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">animated voronoi noise with rainbow cell coloring. n seeds wander the canvas with toroidal wrapping so nothing ever escapes off-screen. border sharpness, saturation, and hue shift are all adjustable.</p>
<div class="tags">
<span class="tag">webgl2</span>
<span class="tag">glsl</span>
<span class="tag">voronoi</span>
<span class="tag">animation</span>
</div>
</a>
<a class="card" href="gyroid.html">
<div class="card-top">
<span class="card-title">Gyroid</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">raymarched gyroid isosurface with an orbiting camera. the gyroid is a triply periodic minimal surface that looks like someone folded space into itself. phong lighting with key, fill, and rim lights. scale and shell thickness controls.</p>
<div class="tags">
<span class="tag">webgl2</span>
<span class="tag">glsl</span>
<span class="tag">raymarching</span>
<span class="tag">sdf</span>
</div>
</a>
<a class="card" href="flow-ribbons.html">
<div class="card-top">
<span class="card-title">Flow Ribbons</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">colored ribbon waves flowing across the screen. webgl2 fragment shader with lambertian lighting, specular ridge highlights, and iridescent hue shift. light and dark mode.</p>
<div class="tags">
<span class="tag">webgl2</span>
<span class="tag">glsl</span>
<span class="tag">animation</span>
<span class="tag">16:9</span>
</div>
</a>
<a class="card" href="lissajous.html">
<div class="card-top">
<span class="card-title">Lissajous</span>
<span class="card-arrow">↗</span>
</div>
<p class="card-desc">animated lissajous curves — x = sin(a·t + δ), y = sin(b·t) — morphing as the phase δ drifts over time. three-pass neon glow on a dark canvas using screen blending. change the frequency ratio and watch the figure snap to a new knot.</p>
<div class="tags">
<span class="tag">canvas 2D</span>
<span class="tag">parametric curves</span>
<span class="tag">animation</span>
<span class="tag">math</span>
</div>
</a>
</div>
<p class="footer">github.com/adly42/programmatic-patterns</p>
</body>
</html>