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
|
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$>
<head>
<meta charset="utf-8" />
<meta name="generator" content="pandoc" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
<meta name="color-scheme" content="light dark" />
$for(author-meta)$
<meta name="author" content="$author-meta$" />
$endfor$
$if(date-meta)$
<meta name="dcterms.date" content="$date-meta$" />
$endif$
$if(keywords)$
<meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" />
$endif$
$if(description-meta)$
<meta name="description" content="$description-meta$" />
$endif$
<title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title>
<style>
$styles.html()$
</style>
<style>
/* regular text */
body {
font-family: sans-serif;
}
/* math */
math {
font-family: math;
}
/* code */
pre, code, kbd, samp {
font-family: monospace;
}
video {
max-width: 100%;
height: auto;
}
math[display="block"] {
display: block;
overflow-x: auto;
}
/* Tomorrow theme: https://github.com/chriskempson/tomorrow-theme */
:root {
color-scheme: light dark;
--background-color: #ffffff;
--current-line-color: #e0e0e0;
--selection-color: #d6d6d6;
--foreground-color: #4d4d4c;
--comment-color: #8e908c;
--red-color: #c82829;
--orange-color: #f5871f;
--yellow-color: #eab700;
--green-color: #718c00;
--aqua-color: #3e999f;
--blue-color: #4271ae;
--purple-color: #8959a8;
}
@media (prefers-color-scheme: dark) {
:root {
--background-color: #1d1f21;
--current-line-color: #282a2e;
--selection-color: #373b41;
--foreground-color: #c5c8c6;
--comment-color: #969896;
--red-color: #cc6666;
--orange-color: #de935f;
--yellow-color: #f0c674;
--green-color: #b5bd68;
--aqua-color: #8abeb7;
--blue-color: #81a2be;
--purple-color: #b294bb;
}
}
/* basic styling */
html {
background-color: var(--background-color);
color: var(--foreground-color);
}
a { color: var(--foreground-color); }
a:visited { color: var(--foreground-color); }
a:hover {
color: var(--aqua-color);
}
.article-date {
display: none;
}
#TOC a {
display: grid;
grid-template-columns: minmax(0, 1fr) 9em;
gap: 1em;
align-items: baseline;
}
#TOC .article-date {
display: block;
color: var(--comment-color);
text-align: right;
white-space: nowrap;
font-variant-numeric: tabular-nums;
}
blockquote {
color: var(--foreground-color);
border-left: 4px solid var(--current-line-color);
}
::selection {
background-color: var(--selection-color);
}
/* code */
div.sourceCode {
background-color: var(--current-line-color);
border-radius: 1em;
}
div.sourceCode > pre {
padding: 1em;
background: transparent;
color: var(--foreground-color);
}
/* Pandoc syntax highlighting token classes */
code span.co, code span.an, code span.do, code span.cv { color: var(--comment-color); }
code span.kw, code span.cf, code span.er { color: var(--red-color); }
code span.dt, code span.at, code span.re { color: var(--blue-color); }
code span.fu, code span.st, code span.ss, code span.wa, code span.vs { color: var(--yellow-color); }
code span.dv, code span.bn, code span.fl, code span.al { color: var(--orange-color); }
code span.op, code span.ot, code span.in, code span.sc, code span.ch { color: var(--aqua-color); }
code span.cn, code span.va, code span.bu, code span.ex { color: var(--purple-color); }
code span.im, code span.pp { color: var(--green-color); }
code span.co { font-style: italic; }
code span.er { text-decoration: underline; }
code span.al { font-weight: bold; }
@media print {
html, body {
background-color: white;
color: black;
}
a, a:visited {
color: black;
}
}
/* AI blurb */
.article h1 + p::after {
content: "All prose on this website is written by a human.";
display: block;
margin-top: 1em;
font-style: italic;
}
</style>
$for(css)$
<link rel="stylesheet" href="$css$" />
$endfor$
$for(header-includes)$
$header-includes$
$endfor$
$if(math)$
$math$
$endif$
</head>
<body class="$if(top)$article$else$home$endif$">
$for(include-before)$
$include-before$
$endfor$
$if(title)$
<header id="title-block-header">
<h1 class="title">$title$</h1>
$if(subtitle)$
<p class="subtitle">$subtitle$</p>
$endif$
$for(author)$
<p class="author">$author$</p>
$endfor$
$if(date)$
<p class="date">$date$</p>
$endif$
$if(abstract)$
<div class="abstract">
<div class="abstract-title">$abstract-title$</div>
$abstract$
</div>
$endif$
</header>
$endif$
$if(top)$
$body$
<p><a href="/">back to main page</a></p>
$else$
<h1>articles</h1>
<nav id="$idprefix$TOC" role="doc-toc">
$article-list$
</nav>
<h1>about</h1>
<p>
hello, my name is yum. i am a virtual person interested in realtime
graphics and math. this website is a collection of my stray thoughts that i
feel ought to be written down. i think of it as something slightly more
public than a diary.
</p>
<p>
all prose on this website is written by a human (me). i do use ai when
developing software. i don't disclose it. unless you see something in the
README saying that i *didn't* use AI, assume i did. the skilled reader should
be able to quickly assess quality regardless of how the code is made.
</p>
<p>
my open source code is hosted at
<a href="https://git.yummers.dev">git.yummers.dev</a>. it may be slow to load
(10-20 seconds). i doubt much of it will be of use to others, besides
HLSL_OKLAB and maybe modular_slang.
</p>
<p>
core beliefs:
<ol>
<li>information should be free;</li>
<li>human-caused climate change is real, significant, and solvable;</li>
<li>passive acceptance of cruelty is complicity;</li>
<li>trans rights are human rights;</li>
<li>the web is a vast sea made of individuals with feelings;</li>
<li>your actions matter.</li>
</ol>
</p>
$endif$
$for(include-after)$
$include-after$
$endfor$
</body>
</html>
|