-
Notifications
You must be signed in to change notification settings - Fork 3
/
demo.R
37 lines (27 loc) · 795 Bytes
/
demo.R
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
# Demo - picking colours
colorspace::hcl_color_picker()
# Demo - evaluating colours
# http://hclwizard.org/
# Demo - evaluating ggplots
loadd(map_high_temp)
loadd(map_high_temp_bom)
loadd(map_high_temp_viridis)
# Assessing colour palettes?
## Demoplot
## Specplot
## Protan/Deutan/Tritan (w demoplot / specplot)
# How to assess existing images / plots?
# - If it's a ggplot object, `colorblindr::cvd_fig`
# How to create your own?
# - Specify start/end points to travel through:
# - qualitative_hcl()
# - sequential_hcl()
# - diverge_hcl()
# - Tweak Hue/Chroma/Luminance?
# - lighten/darken
# - desaturate() (by chroma removal)
# - Want to pick and point at an app?
# - hclwizard
# - colorspace::choose_color()
# - colorspace::choose_palette()
# - colorspace::hcl_wizard()