gdritter repos quippy / master
Little image-generation program Getty Ritter 6 years ago
5 changed file(s) with 768 addition(s) and 0 deletion(s). Collapse all Expand all
1 /target/
2 **/*.rs.bk
1 [[package]]
2 name = "adler32"
3 version = "1.0.2"
4 source = "registry+https://github.com/rust-lang/crates.io-index"
5
6 [[package]]
7 name = "bitflags"
8 version = "0.7.0"
9 source = "registry+https://github.com/rust-lang/crates.io-index"
10
11 [[package]]
12 name = "bitflags"
13 version = "0.9.1"
14 source = "registry+https://github.com/rust-lang/crates.io-index"
15
16 [[package]]
17 name = "bitflags"
18 version = "1.0.1"
19 source = "registry+https://github.com/rust-lang/crates.io-index"
20
21 [[package]]
22 name = "byteorder"
23 version = "1.2.1"
24 source = "registry+https://github.com/rust-lang/crates.io-index"
25
26 [[package]]
27 name = "c_vec"
28 version = "1.2.1"
29 source = "registry+https://github.com/rust-lang/crates.io-index"
30
31 [[package]]
32 name = "cairo-rs"
33 version = "0.3.0"
34 source = "registry+https://github.com/rust-lang/crates.io-index"
35 dependencies = [
36 "c_vec 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
37 "cairo-sys-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
38 "glib 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
39 "glib-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
40 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
41 "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
42 ]
43
44 [[package]]
45 name = "cairo-sys-rs"
46 version = "0.5.0"
47 source = "registry+https://github.com/rust-lang/crates.io-index"
48 dependencies = [
49 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
50 "pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
51 "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
52 ]
53
54 [[package]]
55 name = "deflate"
56 version = "0.7.17"
57 source = "registry+https://github.com/rust-lang/crates.io-index"
58 dependencies = [
59 "adler32 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
60 "byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
61 ]
62
63 [[package]]
64 name = "dtoa"
65 version = "0.4.2"
66 source = "registry+https://github.com/rust-lang/crates.io-index"
67
68 [[package]]
69 name = "fuchsia-zircon"
70 version = "0.2.1"
71 source = "registry+https://github.com/rust-lang/crates.io-index"
72 dependencies = [
73 "fuchsia-zircon-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
74 ]
75
76 [[package]]
77 name = "fuchsia-zircon-sys"
78 version = "0.2.0"
79 source = "registry+https://github.com/rust-lang/crates.io-index"
80 dependencies = [
81 "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
82 ]
83
84 [[package]]
85 name = "glib"
86 version = "0.4.0"
87 source = "registry+https://github.com/rust-lang/crates.io-index"
88 dependencies = [
89 "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
90 "glib-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
91 "gobject-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
92 "lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
93 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
94 ]
95
96 [[package]]
97 name = "glib-sys"
98 version = "0.5.0"
99 source = "registry+https://github.com/rust-lang/crates.io-index"
100 dependencies = [
101 "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
102 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
103 "pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
104 ]
105
106 [[package]]
107 name = "gobject-sys"
108 version = "0.5.0"
109 source = "registry+https://github.com/rust-lang/crates.io-index"
110 dependencies = [
111 "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
112 "glib-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
113 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
114 "pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
115 ]
116
117 [[package]]
118 name = "inflate"
119 version = "0.3.3"
120 source = "registry+https://github.com/rust-lang/crates.io-index"
121 dependencies = [
122 "adler32 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
123 ]
124
125 [[package]]
126 name = "itoa"
127 version = "0.3.4"
128 source = "registry+https://github.com/rust-lang/crates.io-index"
129
130 [[package]]
131 name = "lazy_static"
132 version = "0.2.11"
133 source = "registry+https://github.com/rust-lang/crates.io-index"
134
135 [[package]]
136 name = "libc"
137 version = "0.2.34"
138 source = "registry+https://github.com/rust-lang/crates.io-index"
139
140 [[package]]
141 name = "num-integer"
142 version = "0.1.35"
143 source = "registry+https://github.com/rust-lang/crates.io-index"
144 dependencies = [
145 "num-traits 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
146 ]
147
148 [[package]]
149 name = "num-iter"
150 version = "0.1.34"
151 source = "registry+https://github.com/rust-lang/crates.io-index"
152 dependencies = [
153 "num-integer 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)",
154 "num-traits 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
155 ]
156
157 [[package]]
158 name = "num-traits"
159 version = "0.1.41"
160 source = "registry+https://github.com/rust-lang/crates.io-index"
161
162 [[package]]
163 name = "pango"
164 version = "0.3.0"
165 source = "registry+https://github.com/rust-lang/crates.io-index"
166 dependencies = [
167 "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
168 "glib 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
169 "glib-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
170 "gobject-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
171 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
172 "pango-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
173 ]
174
175 [[package]]
176 name = "pango-sys"
177 version = "0.5.0"
178 source = "registry+https://github.com/rust-lang/crates.io-index"
179 dependencies = [
180 "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
181 "glib-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
182 "gobject-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
183 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
184 "pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
185 ]
186
187 [[package]]
188 name = "pangocairo"
189 version = "0.4.1"
190 source = "registry+https://github.com/rust-lang/crates.io-index"
191 dependencies = [
192 "bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)",
193 "cairo-rs 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
194 "cairo-sys-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
195 "glib 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
196 "glib-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
197 "gobject-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
198 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
199 "pango 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
200 "pango-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
201 "pangocairo-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
202 ]
203
204 [[package]]
205 name = "pangocairo-sys"
206 version = "0.6.0"
207 source = "registry+https://github.com/rust-lang/crates.io-index"
208 dependencies = [
209 "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
210 "cairo-sys-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
211 "glib-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
212 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
213 "pango-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
214 "pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
215 ]
216
217 [[package]]
218 name = "pkg-config"
219 version = "0.3.9"
220 source = "registry+https://github.com/rust-lang/crates.io-index"
221
222 [[package]]
223 name = "png"
224 version = "0.11.0"
225 source = "registry+https://github.com/rust-lang/crates.io-index"
226 dependencies = [
227 "bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
228 "deflate 0.7.17 (registry+https://github.com/rust-lang/crates.io-index)",
229 "inflate 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
230 "num-iter 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)",
231 ]
232
233 [[package]]
234 name = "quippy"
235 version = "0.1.0"
236 dependencies = [
237 "cairo-rs 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
238 "pango 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
239 "pangocairo 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)",
240 "png 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
241 "rand 0.3.18 (registry+https://github.com/rust-lang/crates.io-index)",
242 "serde_json 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)",
243 ]
244
245 [[package]]
246 name = "rand"
247 version = "0.3.18"
248 source = "registry+https://github.com/rust-lang/crates.io-index"
249 dependencies = [
250 "fuchsia-zircon 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
251 "libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
252 ]
253
254 [[package]]
255 name = "serde"
256 version = "1.0.24"
257 source = "registry+https://github.com/rust-lang/crates.io-index"
258
259 [[package]]
260 name = "serde_json"
261 version = "1.0.8"
262 source = "registry+https://github.com/rust-lang/crates.io-index"
263 dependencies = [
264 "dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
265 "itoa 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)",
266 "num-traits 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
267 "serde 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)",
268 ]
269
270 [[package]]
271 name = "winapi"
272 version = "0.2.8"
273 source = "registry+https://github.com/rust-lang/crates.io-index"
274
275 [metadata]
276 "checksum adler32 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6cbd0b9af8587c72beadc9f72d35b9fbb070982c9e6203e46e93f10df25f8f45"
277 "checksum bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "aad18937a628ec6abcd26d1489012cc0e18c21798210f491af69ded9b881106d"
278 "checksum bitflags 0.9.1 (registry+https://github.com/rust-lang/crates.io-index)" = "4efd02e230a02e18f92fc2735f44597385ed02ad8f831e7c1c1156ee5e1ab3a5"
279 "checksum bitflags 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b3c30d3802dfb7281680d6285f2ccdaa8c2d8fee41f93805dba5c4cf50dc23cf"
280 "checksum byteorder 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "652805b7e73fada9d85e9a6682a4abd490cb52d96aeecc12e33a0de34dfd0d23"
281 "checksum c_vec 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6237ac5a4b1e81c213c24c6437964c61e646df910a914b4ab1487b46df20bd13"
282 "checksum cairo-rs 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b6b5695f59fd036fe5741bc5a4eb20c78fbe42256e3b08a2af26bbcbe8070bf3"
283 "checksum cairo-sys-rs 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7c6e18fecaeac51809db57f45f4553cc0975225a7eb435a7a7e91e5e8113a84d"
284 "checksum deflate 0.7.17 (registry+https://github.com/rust-lang/crates.io-index)" = "4dddda59aaab719767ab11d3efd9a714e95b610c4445d4435765021e9d52dfb1"
285 "checksum dtoa 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "09c3753c3db574d215cba4ea76018483895d7bff25a31b49ba45db21c48e50ab"
286 "checksum fuchsia-zircon 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f6c0581a4e363262e52b87f59ee2afe3415361c6ec35e665924eb08afe8ff159"
287 "checksum fuchsia-zircon-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "43f3795b4bae048dc6123a6b972cadde2e676f9ded08aef6bb77f5f157684a82"
288 "checksum glib 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "450247060df7d52fdad31e1d66f30d967e925c9d1d26a0ae050cfe33dcd00d08"
289 "checksum glib-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d9693049613ff52b93013cc3d2590366d8e530366d288438724b73f6c7dc4be8"
290 "checksum gobject-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "60d507c87a71b1143c66ed21a969be9b99a76df234b342d733e787e6c9c7d7c2"
291 "checksum inflate 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "10ec05638adf7c5c788bc0cfa608cd479a13572beda20feb4898fe1d85d2c64b"
292 "checksum itoa 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "8324a32baf01e2ae060e9de58ed0bc2320c9a2833491ee36cd3b4c414de4db8c"
293 "checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
294 "checksum libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)" = "36fbc8a8929c632868295d0178dd8f63fc423fd7537ad0738372bd010b3ac9b0"
295 "checksum num-integer 0.1.35 (registry+https://github.com/rust-lang/crates.io-index)" = "d1452e8b06e448a07f0e6ebb0bb1d92b8890eea63288c0b627331d53514d0fba"
296 "checksum num-iter 0.1.34 (registry+https://github.com/rust-lang/crates.io-index)" = "7485fcc84f85b4ecd0ea527b14189281cf27d60e583ae65ebc9c088b13dffe01"
297 "checksum num-traits 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)" = "cacfcab5eb48250ee7d0c7896b51a2c5eec99c1feea5f32025635f5ae4b00070"
298 "checksum pango 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3e81c404ab81ea7ea2fc2431a0a7672507b80e4b8bf4b41eac3fc83cc665104e"
299 "checksum pango-sys 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "34f34a1be107fe16abb2744e0e206bee4b3b07460b5fddd3009a6aaf60bd69ab"
300 "checksum pangocairo 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "41a8620ece55098d741bacf4d3aa52398f85ce83cfe0d8f670fa11de88f52c40"
301 "checksum pangocairo-sys 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e34ec010b38a2a6dafdf3d86ffe1251a0ae759208ec85f78c66c0445481bd5a8"
302 "checksum pkg-config 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "3a8b4c6b8165cd1a1cd4b9b120978131389f64bdaf456435caa41e630edba903"
303 "checksum png 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f0b0cabbbd20c2d7f06dbf015e06aad59b6ca3d9ed14848783e98af9aaf19925"
304 "checksum rand 0.3.18 (registry+https://github.com/rust-lang/crates.io-index)" = "6475140dfd8655aeb72e1fd4b7a1cc1c202be65d71669476e392fe62532b9edd"
305 "checksum serde 1.0.24 (registry+https://github.com/rust-lang/crates.io-index)" = "1c57ab4ec5fa85d08aaf8ed9245899d9bbdd66768945b21113b84d5f595cb6a1"
306 "checksum serde_json 1.0.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7cf5b0b5b4bd22eeecb7e01ac2e1225c7ef5e4272b79ee28a8392a8c8489c839"
307 "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
1 [package]
2 name = "quippy"
3 version = "0.1.0"
4 authors = ["gdritter"]
5
6 [dependencies]
7 cairo-rs = { version = "*", features = ["png"] }
8 pango = "*"
9 pangocairo = "*"
10 png = "*"
11 rand = "*"
12 serde_json = "*"
1 ["\"i will say this. when I finally ascend to the final plane of consciousness .nerds will get extremely yelled at\"",
2 "A belief is just a thought you keep having.",
3 "under communism there are no sugar mamas or daddies, but everyone is the sugar comrade of everyone else\n",
4 "Is it that time again? Wasn't it already then? So does it have to be the time it was again?",
5 "These are stolen moments and you're a criminal and I'm a criminal and here we all are. Now.",
6 "we shall celebrate with such fierce dancing the death of your institutions",
7 "someone turn the dial / the radio station in my head / it's blaring",
8 "\"It was like smuggling organs past a baby.\"",
9 "Don't look at fat people! They know what you're up to.",
10 "In the U.S., you have to be a deviant or die of boredom.",
11 "\"Well, one day, nothing flinched, and there I was, and instantly it regretted me.\"",
12 "the past is a grotesque animal\n",
13 "My god is bigger.",
14 "Trust me. I'm a doktor.",
15 "We gladly feast on those who would subdue us.",
16 "it's a cold ass fashion when she stole my passion / it's an everlasting, it's a ghettoblasting",
17 "Don't listen to the graph paper in your head!",
18 "Outside of a dog, a book is man's best friend. Inside of a dog, knowledge manifests itself in radiant dreams that shimmer like the wild sun.\n",
19 "Oh my god. They explode! My life has taken on new meaning.",
20 "You shall know the truth, and the truth shall make you odd.",
21 "You're like a worst-thing-ever saying machine.",
22 "if at first you don't succeed try a larger thermonuclear reaction",
23 "\"The first rule of Wittgenstein Club is thereof one must be silent.\"",
24 "By all the entropy in the universe! Confound the programming of that useless biological matter!",
25 "O mito é o nada que é tudo.",
26 "WHAM WHAM WHAM WHAM WHAM HONK",
27 "manic pixie dream tarantula\n",
28 "Donald Sutherland and Nicolas Cage's Personal Pan Pizza Space Shuttle",
29 "to thine own self be wicked sexy",
30 "It's common knowledge that whenever you get two or more CS grad students together, the conversation will inevitably drift to the same topic: automatic weapons.",
31 "Mockery Science, Sadofuturistics, Megaphysics, Scatalography, Schizophreniatrics, Morealism, Sarcastrophy, Cynisacreligion, Apocolyptionomy, ESPectorationalism, Hypno-Pediatrics, Subliminalism, Satyriology, Disto-Utopianity, Sardonicology, Fascetiouism, Ridiculophagy, and Miscellatheistic Theology.",
32 "you figure that's just gotta be jelly 'cause jam just don't shake like that",
33 "You will find that every occultist uses some variety of extremely hardcore toothpaste.",
34 "I for one will try to deduct rum expenses under fuel costs.\n",
35 "no one in the world ever gets what they want and that is beautiful / everybody dies frustrated and sad and that is beautiful",
36 "'Tis an ill wind that blows no minds.",
37 "\"most cutting thing you can say is 'who's this clown?' because it implies they're a) a clown & b) not even one of the better-known clowns\"",
38 "i have learned nothing from this and also unlearned a bunch of things as well",
39 "A woman's best curve is her smile, unless, of course, she is equipped with a properly-curved boomerang or machete for self-defense.",
40 "in the beginning was Eru, the One, who in Arda is called Ilúvatar",
41 "Sometimes it's damned hard to tell the dancer from the dance.",
42 "I believe ghosts are like dogs and just sort of do things arbitrarily.",
43 "No one man should have all that flour.",
44 "siberian traps in her head / tunguska event in her heart",
45 "Today in the news: the world is a horrible place and it will hurt your feelings.\n",
46 "The last thing I want to do is hurt you. And after that, the to-do list is complete and I can go home and watch TV.\n",
47 "СЧАСТЬЕ ДЛЯ ВСЕХ, ДАРОМ, И ПУСТЬ НИКТО НЕ УЙДЁТ ОБИЖЕННЫЙ",
48 "Well, I died and turned into a Roman. It's very distracting.",
49 "A blaster at your side is no match for hokey religions and ancient weapons, kid.",
50 "I'm the Sheik of Araby... with no pants on!",
51 "I do not know! Perhaps it means nothing, or perhaps everything!",
52 "even if you dont like bad stupid shit that fucking sucks, you gotta respect it for doing its thing",
53 "The best things in life are ridiculous.",
54 "Abraham Lincoln shot first.",
55 "They Marked Scars Of Light In Pitch Born In Fiercest Purpose And Beheld As The Signet Sealed Upon Our Pact",
56 "No, I ain't got a fax machine! I also ain't got an Apple IIc, polio, or a falcon.",
57 "i don't care about anybody's opinion unless it is good. before you type, please ask yourself. \"Is my opinion good\" if it's bad dont write it",
58 "...over-the-counter malt antidepressant.",
59 "That's what forgiveness sounds like. Screaming, and then silence.",
60 "\"Growing up in Korea, did your bedroom have a ceiling fan?\" \"Obviously not, since I survived.\"",
61 "Tangerine\n",
62 "\"The calm, / Cool face of the river / Asked me for a kiss\"",
63 "...a giant step in no direction at all.",
64 "an alien universe brightly lit but invisible",
65 "shorty said i look like the gecko from the geico commercials / plus the caveman too\n",
66 "\"'Gentlemen, consider: of course the Ancient Egyptians made beer cans; where else would they have kept their beer?'\"",
67 "truely u r just a bunch of sexy atoms / u sir r just the way matter has decided to organise itself today\n",
68 "ok réta na fášku, to isána voštenok",
69 "time itself dies screaming\n",
70 "not all who wander are found\n",
71 "anagram for mongo",
72 "in fact it's easy now",
73 "\"i am skeptical of the concept 'Too Big To Fail' mainly because i am extremely big and i fail constantly\"",
74 "And that's a rock fact!\n",
75 "dial with it\n",
76 "Guns don't kill people. Bullets do.",
77 "My friends and I were working for the local tangerine.",
78 "NEXTWAVE IS LOVE",
79 "Personal computers can have users, but social media has livestock.\n",
80 "haderachs gonna haderach\n",
81 "she wears short skirts / I wear t-shirts / she's cheer captain and / I'm going to steal the Declaration of Independence",
82 "boing boom tschak",
83 "\"we sing from our asses while burning in purgatory / the butt song from hell\"",
84 "The best hypothesis is that you are wrong.",
85 "so yes i am the spooky janitor character in the direct-to-video movie of your life",
86 "YEW BOYS QUIT THAT WHIPPIN'",
87 "its the year 2021. you download designer drugs for your 3d printer off the bit torrent network. you go to get the drugs out of the printer but instead of drugs it printed a cop. Youre under arrest",
88 "Now where did I put that rat's ass I could give?",
89 "It menaces with spikes of bread.",
90 "cannibal children are lucky because their breakfast isn't just a bacon smile with two egg eyes. it's a real face.",
91 "DEWEY DEFEATS MOTHRA",
92 "If you believe in solipsism, you're not alone.",
93 "stab like no one can arrest you\n",
94 "\"soylent green is......updog....\"",
95 "What is stopping you from doing something so cool that it renders you immortal?",
96 "Sometimes she just can't deal with anything verbal. The world for her becomes a parade of amusing lights and colors; words are just pretty noises that the big-pink-things make.",
97 "We should follow this trail. And also \"blaze\" it.",
98 "to wound the autumnal city",
99 "Thants.\n",
100 "all things turn to rust by and by / and that's fine",
101 "\"I wish many guns. Floating around me. Controlled by murder thoughts.\"",
102 "Change or Die.",
103 "I only regret that I have but one mind to lose.",
104 "THUSLY, THE PANTS COME OFF AND TEST SCORES RISE!!!!!!",
105 "When you are engulfed in flames, and so on.",
106 "\"Bike lane? Where we're going, we don't need bike lanes!\"",
107 "en arkhē ēn ho lógos, kai ho lógos ēn pròs tòn órnitha, kai ho órnis ēn ho lógos",
108 "Time and space died yesterday.",
109 "where you get this place from, the hellhole store?",
110 "Attention Workers it has been 127 days since our last dumbest workplace sentence",
111 "Lost children!! Come get your free Sears wish catalog free rebates.",
112 "SOMEONE NEEDS TO GET WITH THE PROGRAM AND THAT SOMEONE IS EVERYONE",
113 "I am sitting in a room, different from the one you are in now.\n",
114 "ladies call me piltdown man because upon rigorous scientific investigation im wack as hell\n",
115 "Magic is just the idiot's word for science.",
116 "Delicious hot dogs. They can't run from me.",
117 "WORST SONG, PLAYED ON UGLIEST GUITAR",
118 "I have to find a didactic musing. From a skeleton. It's for school.",
119 "You know the type---loud as a motorbike, but wouldn't bust a grape in a fruit fight?\n",
120 "These people ought to know who we are and tell that we are here.",
121 "Imagine a boot stamping on a human face - forever. Imagine the sound of it. That is my ringtone.",
122 "Be the cryptid you want to see in the woods.",
123 "everybody party time / some of us will never sleep again\n",
124 "David, listen. I'm buried alive where the blossoms shed by the cherry tree across from the pet shop are the thickest.",
125 "QUICK QUESTION ABOUT THE WATERSHIP",
126 "OUR COMRADE THE ELECTRON",
127 "liberals / on skates / pass through / park gates",
128 "If this isn't nice, I don't know what is.",
129 "a girl's measurements should be: pupil size in picas, warmth of breath in kelvin and diary page count. now, add it up and tell ((no one)).",
130 "See! Now! Our sentence is up!\n",
131 "It has been 127 days since our last workplace give-a-fuck.",
132 "It's like—run from the shadow people, or become one. Make up your mind, lady.",
133 "I'm driven by white-hot anger. And my mom, sometimes, when I miss the bus.",
134 "someday somebody else besides me will call me by my stage name they will—",
135 "...the night is very large and full of wonders.\n",
136 "Jay-Z thought, \"I know, I'll use regular expressions\". Now he has 100 problems.",
137 "san francisco is going to make a great looking crater\n",
138 "\"Pain is nature's way of telling you that you're stupid.\"",
139 "Take thee this thing covered with that stuff and give it unto that guy, that he may do things with it.",
140 "\"listen every victim unit is special in its own way\"",
141 "anything you wanna be you oughta be / except a cop 'cause a cop is wack tho\n",
142 "baby ocean fatdog\n",
143 "THE SUN IS MORE BEAUTIFUL AND VIOLENT THAN ANYTHING THAT HAPPENS ON EARTH / BUT, LIKE, DON'T LET THAT STOP YOU FROM TRYING",
144 "she wears short skirts / I wear short skirts / I'm her doppelganger / I'm going to replace her some day",
145 "Mr. Gorbachev, tear up this club.",
146 "society's just another word for let's all pretend we're not skeletons",
147 "where my gerunds at\n",
148 "I am from Truck Stop India. It's like India, but smaller and more like a truck stop.",
149 "We know the classic scene from cartoons: Zizek reaches a precipice but goes on running, ignoring the fact that there is no ground underfoot.\n",
150 "\"Order some golf shoes,\" I whispered. \"Otherwise we'll never get out of this place alive...\"",
151 "\"I didn't know you could stop being a god.\" \"You can stop being anything.\"",
152 "if nobody stops lizards from doing pushups they will become too strong",
153 "And I think that's most of the reason I'm so obsessed with Ryan Seacrest, is that he is basically the Kermit the Frog of our reality.\n",
154 "\"dress for the au you want, not the canon you’re in\"",
155 "Or: how to turn and face one's self so that the two faces become one.",
156 "She's the kind of girl who gets her slings and arrows from the dumpster.",
157 "the finest qualities of our nature like the bloom on fruits can be preserved",
158 "True love is overrated.",
159 "\"What'll you do if that doesn't work?\" \"Well... I'll drink heavily and shout at you.\"",
160 "Your words are full of virtue and consonants.",
161 "I propose a return to traditional values. Eating people to gain their strength and wisdom, for example.",
162 "I carry a log—yes. Is it funny to you? It is not to me.\n",
163 "The Factory of All: A Labor of Hate",
164 "that is one sweet earth you might say",
165 "I'm not a god, but if I was, I'd be an angry god.",
166 "You're invited to: BANG YOUR HEAD AGAINST A WALL",
167 "...and there will be some who will not fear even that void.",
168 "\"This place is not a place of honor. No highly esteemed deed is commemorated here. Nothing valued is here.\"",
169 "the highest purpose is to have no purpose at all\n",
170 "To be good is to be lonesome.",
171 "\"It's cute that you said that 'cause you're a frickin' idiot.\"",
172 "the cooling embers of a god's verse",
173 "Sorry. I'm a Doctor. I'm very clever.",
174 "My mistress' eyes are nothing like the Sun, though they do exhibit granulations, flares, and coronal mass ejections.",
175 "we are the machines of loving grace",
176 "I'm gonna see the cow beneath the sea.",
177 "Consistency is a rationalist fetish.",
178 "dúlrai kétraudh",
179 "\"im at the commmbination anime and anthro con\"",
180 "Nothing real can defeat us. Nothing unreal exists.",
181 "\"...I'm not a 'strong female character.' I am a mutant mother of destruction.\"",
182 "walk without rhythm / it won't attract the worm\n",
183 "And now, what's going to happen to us without barbarians?",
184 "There is a Policeman Inside All Our Heads: He Must Be Destroyed",
185 "\"It is like a bullethole in the world.\"",
186 "I'll see you in hell or in Uqbar\n",
187 "What do you get if you cross an elephant with a grape? |grape| * |elephant| * sin(theta).",
188 "\"Maybe the real Slim Shady was the friends we made along the way.\"",
189 "THUMBS",
190 "Give me a thousand men crazy enough to conquer hell, and I will do it.",
191 "All is not lost! Some of it is hidden.\n",
192 "I love Harambe, the ape who died. I love the dead ape Harambe.",
193 "there's a hobo shed and some paint made of lead / you'll know you're done painting when you wake up dead",
194 ".neatly partitioned meats and cheeses appeal to me on an aesthetic level ok mfer",
195 "\"You can ponder this question while I ponder a variety of ways to express that you are an idiot.\"",
196 "\"I will answer the question so good that no one needs to answer it ever again! We will lay it to rest like a little baby… who… is dead.\"",
197 "dril and horse_ebooks at tanagra",
198 "YOU ARE MADE OF WORDS AND YOU ARE AFRAID THAT MAYBE YOU HAVE FORGOTTEN WHAT MOST OF THEM MEAN\n",
199 "I am a liar and I do not know why there is something instead of nothing.",
200 "The rubber axe, in particular, was poor execution.",
201 "IF THE STATE BANS ME FOR MAKING CUBIST PAINTINGS I WILL FACE STALIN AND WALK BACKWARDS INTO HELL.\n",
202 "Now I'm checkin' out the furniture, wanna buy some, might buy a wheelchair and roll out of this town",
203 "We stopped checking for monsters under our bed when we realized they were inside of us.",
204 "It is like God, but also like a discus.",
205 "I am the signifier \r\nThey are the signifiers \r\nI am the signifier \r\nGoo goo g'joob",
206 "sadanak iiqshtrypaad um dweeŋqhom !kvensiq",
207 "Let's not dwell on our corpse-strewn past. Let's celebrate our corpse-strewn future!",
208 "Hi, I'm calling about your ad. From inside the house.",
209 "The Super Bowl would be better if the winning team was allowed to live.\n",
210 "You couldn't have a university at the center of the earth. The library would melt.",
211 "aníron teithad i lam thingol a daeron o beleriant iuithad i thiw feanor",
212 "crimes are just lifehacks so good they made them illegal",
213 "because I have important pancakes to flip and flap",
214 "And she tells me she's a liar but I don't believe her / she'll tell me almost anything",
215 "And here, now, dancing is enough.\n",
216 "flavor tripping at the gates of hell",
217 "Please stop fueling my silent rage.",
218 "Maybe every quasi-fitting bungle-choir makes a human type happy.",
219 "Everything makes sense. Just not a lot.",
220 "wugs not drugs",
221 "The difference between jokes and tragedies is that jokes aren't always funny.",
222 "For all we know this is all we need.",
223 "WHAT IF ALIENS LOOK EXACTLY LIKE HORSES AND ALSO ARE JUST ACTUALLY REGULAR HORSES",
224 "I think I just don't like evil Russo-Finnish grandmas.",
225 "The milkman came in the moonlight and the moonlight was less than moonlight.",
226 "Some days the stars speak in obscure languages.",
227 "\"I wanted to spend more time freaking out on the side of the road with a gun.\"",
228 "\"I brought some marshmallows. Let's burn this world down.\"",
229 "'Twas like where you're from weren't never there. Where you're going doesn't matter. And where you are ain't no good unless you can get away from it.",
230 "вы хотите, чтобы купить несколько незаконных мемы",
231 "I want to do terrible things to you.",
232 "My robot brain needs beer. Also? I want to die.",
233 "rrrrevereth my buttockth, thergeant major!\n",
234 "it's me. i'm jesus. i'm space communist jesus.",
235 "them what make the rules and them what live the dream",
236 "That which can be destroyed by the truth should be.",
237 "judges are bullshit, your honor\n",
238 "\"I have to go hand in my special report on how you're going to die alone. Thanks for all the evidence.\"\n",
239 "\"even armed with the ultimate weapon: some swords\"",
240 "Welcome to the citadel of eternal wisdom. Behold, this crystal contains the sum of all human knowledge -- Except Rap And Country\n",
241 "\"I think you're very nice. I think twinkle's a nice word. So's viridian. I met a lady once who had an imaginary fish.\"",
242 "I should... eat a pony.",
243 "It's quite easy to reason logically and still be wrong.",
244 "BE THE SLOTH\n",
245 "Attention all planets of the solar federation: we have assumed control.",
246 "All data becomes obfuscated by reacting teens. The Serpent Consumes Its Tail",
247 "\"new tecnologie develop ! you can throw you'r emotions into an dumpstr . you can burn them for insuranc purpose . who even needs ??\"\n",
248 "\"We should put these petty differences aside and focus on what really matters: how attractive I am.\"",
249 "jinglin' a wish coin that I stole from a fountain that was drownin' all the cares in the world\n",
250 "if the dirtpig sees his shadow it means he is opaque",
251 "The tamagotchis will be freed from their cages, and all will be released.",
252 "EVERYTHING ABOUT YOU I'M GOING TO PUNCH",
253 "Nietzsche: \"He who fights monsters, blah. Abyss.\"",
254 "No Rap Or Country For Old Men",
255 "\"I don't understand why they say, 'I love you.' Why don't they say, 'egg'?\"",
256 "i'am not even going to cap- ensnare him. i am - - - - ashamed of him and this entire pond.",
257 "It is good to find one's self in agreement with the gods. It shows that the gods have some wisdom.",
258 "Well, we *are* idiots.",
259 "Carefully-written fact-checked essay in the streets, unmoderated comments section in the sheets.\n",
260 "you seem to think i'm random, but i'm only psuedorandom. you would be exactly this way, were you seeded at the very same time and place.",
261 "\"Remember, no matter where you go... there you are.\"\n",
262 "Would you like to join me for drinking 'alcohol' and/or watching 'movie' starring 'conventionally attractive white people?'",
263 "I do not lie about such things except when I feel like lying which is all the time.",
264 "The only thing that's going to bring me inner peace is a beard-seeking missile.",
265 "\"You're a wonderful pink human being! Except you're not. Because you're a lion.\"",
266 "\"Are you boys cooking up there?\" \"No.\" \"Are you making an inerocitor?\" \"No!\"",
267 "Valentimes is serious times.\n",
268 "the sky was candy luminous",
269 "\"Cha mhór is fheairrde thu iad, tha iad coltach ri cat air a dhathadh.\"",
270 "building up enough information to infer the ghost by the hole it leaves in the information\n",
271 "Everything's so tiny in there, almost manageable.",
272 "\"*Bob Belcher voice* I love you but you’re all terrible\"",
273 "(╯°□°)╯︵ ⅋​",
274 "I cut people open to find out where their dreams live.",
275 "Sometimes she is a cat in the dark and other times she is the darkness.",
276 "noot noot\n",
277 "I was late to class struggle again today.",
278 "They're like the people chained up in the cave in the allegory of the people in the cave by the Greek guy.",
279 "\"You roll up to the club in your flashiest ride: a much fancier club on Baba Yaga-style chicken legs.\"",
280 "Beats me, man. Beats me why most dudes suck. Sure as hell ain't my scene.\n",
281 "\"was frankenberry the name of the monster or the scientist\"\n",
282 "Molecules? In my day, we only had atoms!",
283 "MIXED BERRY SOCIAL ANXIETY DISORDER",
284 "how are you doing I'm doing angry",
285 "\"The Lord works in mysterious, convoluted, and intensely ineffective ways.\"",
286 "At the Consortium for Slower-Than-Light Travel...",
287 "My thing is to work more than the others to show them how useless they are.",
288 "Drink alcohol. Quite a bit. Mostly bourbon.",
289 "\"My name is Ozymandias, king of kings: Look on my works, ye Mighty, and remember to like, comment and subscribe if you’d like to see more works like these!\"",
290 "Guns don't kill people. It's impossible to be killed by a gun. We are all immune to bullets and it's a miracle.",
291 "...your web browser is Ronald Reagan.",
292 "Imagine a boot stamping on a human face a whole buncha times, like, a whole buncha times... At least five times\n",
293 "I guess you could say I'm the Michael Jordan of crying in the shower\n",
294 "Today a young man on acid realized that all matter is merely energy condensed to a slow vibration, that we are all one consciousness experiencing itself subjectively, there is no such thing as death, life is only a dream, and we are the imagination of ourselves. Here's Tom with the weather.",
295 "And yea, though I walk through the valley of the shadow of death, I will fear no evil, for I am the baddest sonovabitch in the valley.",
296 "seamfulness, with beautiful seams",
297 "Can I give you some fucking fruit juice?",
298 "endless digital now",
299 "YOU CAUSED THIS SOMEHOW. SOMETHING YOU DID ON THE INTERNET.\n",
300 "My grandparents went to a planet with no bilateral symmetry, and all I got was this lousy F-shirt.",
301 "I am Dune.",
302 "Pimpin' ain't easy, but it's necessary.",
303 "\"i'm not racist, but, *cranes neck to see if anyone's around. keeps craning. head unscrews entirely. out of the hole pour jewels & mysteries*\"",
304 "\"Ya don't sell yer chickens before they hatch.\" \"That's... you do... do that. It's a whole... it's a big thing.\"",
305 "In Pug Davis, no one can hear you Pug Davis.",
306 "Seriously man Carolus Linnaeus would classify this as Shitty\n",
307 "I WOULD DESCRIBE MYSELF AS IMPLACABLE AND STRANGE.",
308 "I detest life-insurance agents: they always argue that I shall some day die, which is not so.",
309 "bears see things pretty much the way they are\n",
310 "We've both said a lot of things you're going to regret.",
311 "*encounters the real world* ugh god all this diversity for the sake of diversity",
312 "I'd like to sail a ship into the sun.",
313 "just goes to show you can't trust people who aren't you\n",
314 "haters gonna make some good points\n",
315 "...digging too deep into the spaces between sanity, madness, and radically bad taste.",
316 "I just dropped your mic. Dropped all the mics.\n",
317 "lifehack: piss off everyone who shows you affection",
318 "the solar orientation of the number seven is more than death but less than total eradication",
319 "Fire: Too Complex\n",
320 "Everything happens for a reason, you know. Well, everything except you that is.",
321 "\"I have to go hand in my special report on how you're going to die alone. Thanks for all the evidence.\"",
322 "I am not slow. I am just not very fast and I am not sure I want to get there.",
323 "I don't think you can win. It says on the box it's a tragedy.",
324 "Idealists have a hard time understanding that the universe doesn't give a fuck what they believe in.",
325 "I can't see anything else anymore. My eyes are filled with gods.",
326 "minds must see a time cube that eyes cannot comprehend",
327 "I love you, which is why I'm not going to eat you. For now.",
328 "Don't mistake my attitude for humility: my position is that everything on earth is equally unimportant.",
329 "\"Emilio Lizardo is a top scientist, dumkopf.\" \"So was Mr. Wizard.\"",
330 "I am the milkman. My milk is delicious.",
331 "If you think that by threatening me you can get me to do what you want... well, that's where you're right.\n",
332 "It's not a penis. It's a tentacle. Lovecraft is screaming.",
333 "\"Also, can you change things so that the variable lexical-scope is itself lexically scoped? Because at that point I think you'll be able to taste colors.\"",
334 "\"Point is, Max, we live in a world of similar things. Lots of stuff is the same as other stuff. I forget where I was going with this but the takeaway is your parents don't love each other.\"",
335 "Lenny Bruce was not afraid.",
336 "Which is to say: who is to say.\n",
337 "I've got good news. That gum you like is going to come back in style.",
338 "made with: bitter struggle, blind faith, licorice and sugar\n",
339 "THAT'S WHAT HAPPENS WHEN COMPUTER",
340 "Your advanced intelligence is no match for our puny weapons!",
341 "In the words of Archimedes, give me a long enough lever and a place to rest it or I will kill one hostage every hour.",
342 "Give my regrets to god.",
343 "\"In general, we can think of data as collections of bits and the representation of data as defined by some collection of selectors and constructors. This is the law of the LORD\"",
344 "the library of the bog kingdom is a cave what has fat horses scribbled on the walls",
345 "TANJ",
346 "\"i only stare into the abyss for the commercials\"",
347 "I KICK YOUR FACE\n",
348 "Rule number one: don't fuck with librarians.",
349 "Andrey Semyonovich went over to the table and took a drink from the cup of blackened water. And Andrey Semyonovich's soul turned lucent.",
350 "Plastic melts but souls only wear away.",
351 "Too big too fail. TBTF. It's the rich man's YOLO.",
352 "\"CAN I GHOSTNAP IN YR BOOTS / WHEN YR NOT WEARING THEM?\"",
353 "\"everyone who died and was killed on my quest to get really good hair and fashion deserved it and i dont care\"",
354 "...kaj estos netimantoj eĉ tiu malplenon.",
355 "I calculated the odds of this succeeding versus the odds I was doing something incredibly stupid... and I went ahead anyway.",
356 "Last night I traded my soul's innermost for some pickled fish.",
357 "ah, well, in terms of politics, you see, my views are *lights us both on fire* well that's basically it",
358 "The dog who is so angry he cannot move. He cannot eat. He cannot sleep. He can just barely growl. Bound so tightly with tension and anger, he approaches the state of rigor mortis.",
359 "Electricity can only be replenished by whisky. This is actual physics. Don't argue with me, I am a doktor.",
360 "THINK OF ME AS THE DEEPAK CHOPACABRA",
361 "he is unholy radiance destroying all enlightenment, HTML tags leaking from your eyes like liquid pain",
362 "[cetacean needed]\n",
363 "\"Previously: The kids are attacked with imprecations and fruit.\"",
364 "ja tvoj robotnik",
365 "EVERYTHING'S AN ALTAR IF YOU PUT ENOUGH DEAD STUFF ON IT\n",
366 "strange times call for strange words",
367 "Oh, right! Thanks, Mr. I-Know-What-Day-It-Is Fish.",
368 "GATHER IN A PILE ALL THE FUTURES YOU CANNOT ACCEPT AND THEN BOLDLY STRIDE IN THE OPPOSITE DIRECTION",
369 "žmádor kui thakhádrok\n",
370 "leave the blueprint / i'll need that for the end of time",
371 "You had me at annihilation.",
372 "...pharmacist gangs that fight with those knives they use to separate pills / and I'm gonna take over the pharmacies when they're gone",
373 "the good thing about camping is you can see every star in the universe the bad thing about camping is fish have eyes and theyre filled with curses\n",
374 "It may be futile, but it's not pointless.",
375 "Life is truly quite absurd, but with a little effort we could make it completely ridiculous.",
376 "i'mma gonna throw a brick at your cellist",
377 "If you are sitting, just sit. If you are walking, just walk. Above all, don't wobble.",
378 "LIVE SINGLES IN YOUR AREA CANNOT BE CAPTURED ON FILM.",
379 "man dont put me on speaker crab",
380 "Slithering isn't just for snakes any more.",
381 "\"Such a thing! Such an octopus of a thing!\"",
382 "you have barely any science and your husband is trapped in space / i'll just take these two children and those sheets over there\n",
383 "I was prayin' to the Lord for some fun but I guess he didn't have some",
384 "make install; not war",
385 "We could have built them to look like anything, but we made them look like us.",
386 "There's someone in my head but it's not me",
387 "\"ok well snausages notwithstanding this is bullshit\"",
388 "what if you named one... what if you named one 'BIG WEED CITY'\n\nwhat if you did that\n",
389 "eye of all\n",
390 "If it's not an airplane, then what is it?",
391 "You can lead a horse to water, but you can't prove that anything is real.\n",
392 "I heard you and your city sold your superhighway and bought a small dog.",
393 "We will create and destroy ten art movements in ten years.",
394 "Somewhere, over the rainbow, there's the cold dark of space.\n",
395 "\"I am a secret wizard. Behold my robes.\" Behold robes? Y/N",
396 "\"There's a monster at the end of this book. It's the blank page where the story ends and you're left alone with yourself and your thoughts.\"",
397 "Curiosity killed the cat; loathsome rituals BROUGHT IT BACK.",
398 "Does nobody understand?",
399 "adramin lekem las"
400 ]
1 extern crate cairo;
2 extern crate pango;
3 extern crate pangocairo;
4 extern crate rand;
5 extern crate serde_json;
6
7 use rand::Rng;
8 use pango::LayoutExt;
9
10 fn main() {
11 let surf = cairo::ImageSurface::create(
12 cairo::Format::Rgb24,
13 3840,
14 2160
15 ).unwrap();
16
17 let mut rng = rand::thread_rng();
18 let ctx = cairo::Context::new(&surf);
19 let w = rng.gen::<u8>() % 3;
20 ctx.set_source_rgb(
21 if w == 0 { 0.4 } else { 0.2 },
22 if w == 1 { 0.4 } else { 0.2 },
23 if w == 2 { 0.4 } else { 0.2 },
24 );
25 ctx.paint();
26
27 let quips: Vec<String> = serde_json::from_str(include_str!("../quips.json")).unwrap();
28 let quip: &str = &quips[rng.gen::<usize>() % quips.len()];
29 println!("{}", quip);
30
31 ctx.set_source_rgb(1.0, 1.0, 1.0);
32 let layout = pangocairo::functions::create_layout(&ctx).unwrap();
33 layout.set_width(2880 * 1024);
34
35 let mut font = pango::FontDescription::from_string("Fira Sans 92");
36 font.set_weight(pango::Weight::Bold);
37 layout.set_font_description(&font);
38
39 ctx.move_to(480.0, 480.0);
40 layout.set_text(quip);
41 pangocairo::functions::show_layout(&ctx, &layout);
42
43 {
44 let mut f = std::fs::File::create("/home/gdritter/.background.png").unwrap();
45 surf.write_to_png(&mut f).unwrap();
46 }
47 }