-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsupporting-materials.Rmd
320 lines (237 loc) · 13.6 KB
/
supporting-materials.Rmd
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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
---
title: Supporting materials
date: '`r Sys.Date()`'
output: html_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
echo = FALSE,
message = FALSE,
warning = FALSE
)
options(crayon.enabled = TRUE)
old_hooks <- fansi::set_knit_hooks(knitr::knit_hooks,
which = c("output", "message", "error")
)
library(fs)
# remotes::install_github("EdwinTH/dutchmasters")
library(dutchmasters)
library(ggplot2)
library(tibble)
library(dplyr)
library(patchwork)
library(aRtsy)
```
## Color palette
Colors based on [`{dutchmasters}`](https://github.com/EdwinTh/dutchmasters), semi.joan's [instagram](https://www.instagram.com/semi.joan/), and Blackbird Fabrics collection of [linen](https://www.blackbirdfabrics.com/en-us/collections/linen).
```{r palette-values}
dutch_white <- dutchmasters$pearl_earring["white(colar)"]
brick <- colorRampPalette(c("#A65746", dutch_white))
midnight <- colorRampPalette(c("#5A6E73", dutch_white))
clay <- colorRampPalette(c("#59302D", dutch_white))
taupe <- colorRampPalette(c("#BFB3A4", dutch_white))
acorn <- colorRampPalette(c("#BF895A", dutch_white))
seaweed <- colorRampPalette(c("#262001", dutch_white))
noil_black <- colorRampPalette(c("#0D0D0D", dutch_white))
white <- colorRampPalette(c(dutch_white, "#FFFFFF"))
```
```{r create_palette_ramp()}
create_palette_ramp <- function(x = 50){
tibble::tibble(
family = c(rep("brick", x),
rep("midnight", x),
rep("clay", x),
rep("taupe", x),
rep("acorn", x),
rep("noil_black", x),
rep("white", x),
rep("seaweed", x)),
level = c(rep(1:x, 8)),
code = c(brick(x),
midnight(x),
clay(x),
taupe(x),
acorn(x),
noil_black(x),
white(x),
seaweed(x))
) %>%
dplyr::arrange(-level)
}
palette_ramp50 <- create_palette_ramp()
saveRDS(palette_ramp50, "data/palette.RDS")
```
```{r palette-display, dpi=300}
ggplot(palette_ramp50,
aes(x = level,
y = family,
color = code)) +
geom_point(size = 18.4,
shape = 15) +
scale_color_identity() +
scale_y_discrete(limits = rev) +
labs(title = "Color palette") +
theme_minimal() +
theme(axis.title = element_blank(),
axis.text.x = element_blank(),
panel.grid = element_blank(),
axis.text.y = element_text(hjust = 0))
```
## Intro slide
Some generative aRt ideas?
### Gradients with dots
```{r single-gradients, dpi=300}
set.seed(24601)
split_palette <- create_palette_ramp(200) %>%
filter(family != "white") %>%
arrange(family, -level) %>%
group_by(family) %>%
group_split()
purrr::map(split_palette,function(x){
p <- ggplot(x,
aes(x = family,
y = level,
color = code)) +
geom_jitter(
size = 38,
width = .55,
height = 0,
alpha = 0.90) +
scale_color_identity() +
# scale_y_discrete(limits = rev) +
coord_cartesian(clip = "off") +
theme_minimal() +
theme(axis.title = element_blank(),
axis.text.x = element_blank(),
panel.grid = element_blank(),
axis.text.y = element_blank(),
plot.background = element_rect(fill = dutch_white,
colour = NA))
})
```
```{r bubble-bar-gradients, dpi=300}
set.seed(24602)
split_palette_bubble <- create_palette_ramp(200) %>%
filter(family != "white") %>%
arrange(family, -level) %>%
group_by(family) %>%
group_split()
purrr::map(split_palette_bubble, function(x){
max_level = max(x$level)
ggplot(x,
aes(x = family,
y = level,
color = code)) +
geom_jitter(
size = 20,
width = 0.5,
height = 0.2,
alpha = 0.5) +
scale_color_identity() +
# scale_y_discrete(limits = rev) +
coord_cartesian(clip = "off") +
geom_hline(yintercept = max_level * 0.55,
color = x$code[max_level * 0.45],
size = 8) +
geom_hline(yintercept = max_level * 0.5,
color = x$code[max_level * 0.5],
size = 10) +
geom_hline(yintercept = max_level * 0.45,
color = x$code[max_level * 0.55],
size = 8) +
theme_minimal() +
theme(axis.title = element_blank(),
axis.text.x = element_blank(),
panel.grid = element_blank(),
axis.text.y = element_blank(),
plot.background = element_rect(fill = x$code[max_level * 0.5],
colour = NA))
})
```
```{r combined-gradient, dpi=300}
set.seed(24601)
select_pal <- create_palette_ramp(400) %>%
filter(family %in% c("brick",
"clay",
"acorn"
# "taupe"
)) %>%
arrange(family, level)
p <- ggplot(select_pal,
aes(y = family,
x = level,
color = code)) +
geom_jitter(
size = 38,
height = .45,
width = 0,
alpha = 0.90) +
scale_color_identity() +
scale_y_discrete(limits = rev) +
coord_cartesian(clip = "off") +
theme_minimal() +
theme(axis.title = element_blank(),
axis.text.x = element_blank(),
panel.grid = element_blank(),
axis.text.y = element_blank(),
plot.background = element_rect(fill = dutch_white,
colour = NA))
p + (p + scale_x_reverse())
```
### Watercolor style abstracts
```{r watercolor-plot, dpi = 300, cache = TRUE}
load(file = "data/seed_state.RData")
wat <- canvas_watercolors(colors = c(acorn(1),
brick(1),
clay(1),
acorn(1),
brick(2),
clay(3)),
background = dutch_white,
layers = 20,
resolution = 300,
depth = 5)
wat +
coord_cartesian(ylim = c(100,200),
xlim = c(75,175))
```
## Satisfying media
https://i.imgur.com/g5fnn24.mp4
<blockquote class="tiktok-embed" cite="https://www.tiktok.com/@fenitas.nl/video/7093892979659738373" data-video-id="7093892979659738373" style="max-width: 605px;min-width: 325px;" > <section> <a target="_blank" title="@fenitas.nl" href="https://www.tiktok.com/@fenitas.nl">@fenitas.nl</a> Reply to @m_aloma.3 <a target="_blank" title="♬ Better Together - Jack Johnson" href="https://www.tiktok.com/music/Better-Together-6939780361380366338">♬ Better Together - Jack Johnson</a> </section> </blockquote> <script async src="https://www.tiktok.com/embed.js"></script>
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/v4ue9y/this_transition_of_colour/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/uxtpz2/hay_this_is_pretty_satisfying/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/vctpqm/self_aligining_nails_how/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/v4mn16/log_splitting_the_water/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/uw2xah/the_making_of_pastry_art/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/u92s9k/new_warehouse_floor/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/qtqeys/cleaning_up_the_lines/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/taxpo9/i_work_in_a_steel_mill_and_we_were_rolling_one_of/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="446" width="640" scrolling="no"></iframe>
<div style='position:relative; padding-bottom:calc(177.78% + 44px)'><iframe src='https://gfycat.com/ifr/FlawlessNiftyCatbird' frameborder='0' scrolling='no' width='100%' height='100%' style='position:absolute;top:0;left:0;' allowfullscreen></iframe></div>
<div style='position:relative; padding-bottom:calc(125.00% + 44px)'><iframe src='https://gfycat.com/ifr/NeedyGivingBufeo' frameborder='0' scrolling='no' width='100%' height='100%' style='position:absolute;top:0;left:0;' allowfullscreen></iframe></div>
<blockquote class="tiktok-embed" cite="https://www.tiktok.com/@mama_mila_/video/7031854261164117249" data-video-id="7031854261164117249" style="max-width: 605px;min-width: 325px;" > <section> <a target="_blank" title="@mama_mila_" href="https://www.tiktok.com/@mama_mila_">@mama_mila_</a> Add some cheer this year 🎁 <a title="christmas2021" target="_blank" href="https://www.tiktok.com/tag/christmas2021">#christmas2021</a> <a title="christmastiktok" target="_blank" href="https://www.tiktok.com/tag/christmastiktok">#christmastiktok</a> <a title="giftwrapping" target="_blank" href="https://www.tiktok.com/tag/giftwrapping">#giftwrapping</a> <a target="_blank" title="♬ original sound - ✰ Christmas sounds ✰" href="https://www.tiktok.com/music/original-sound-6755198984157186821">♬ original sound - ✰ Christmas sounds ✰</a> </section> </blockquote> <script async src="https://www.tiktok.com/embed.js"></script>
glazing a waxed pot
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/w4cpi3/the_way_the_glaze_runs_off_the_wax_resist_pattern/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
product display unit
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/w3po0m/a_product_display_unit/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
trucks parking on a ship
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/rhp1xg/these_trailer_trucks_parking_on_a_ship_is_so/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
brick laying
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/w2r30e/never_knew_brick_laying_is_this_satisfying/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
Cake decor
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/Satisfyingasfuck/comments/vb8ykv/the_way_colors_flow_is_so_satisfying/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="620" width="640" scrolling="no"></iframe>
### Stills
dumplings!
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/l3gct2/a_pan_of_freshly_made_dumplings/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="527" width="640" scrolling="no"></iframe>
perfect tree and sidewalk
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/rjb6yr/clean_straight_line/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="527" width="640" scrolling="no"></iframe>
cranberry tart
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/tvdddr/this_cranberry_tart/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="527" width="640" scrolling="no"></iframe>
THIS ADORABLE CRAB
<iframe id="reddit-embed" src="https://www.redditmedia.com/r/oddlysatisfying/comments/vv6g4g/i_dont_know_why_but_this_image_is_so_pleasing/?ref_source=embed&ref=share&embed=true" sandbox="allow-scripts allow-same-origin allow-popups" style="border: none;" height="527" width="640" scrolling="no"></iframe>
### Gift wrapping
https://pin.it/5J7DmHS - brown, slow wrapping
https://pin.it/60dWxaS - pink, wrapping utensils
This entire pinterest https://www.pinterest.com/westwinges/_created/
https://pin.it/4V7t4zy - green, plain box
https://pin.it/17b4esj - tree, dark green on brown