This repository has been archived by the owner on Jan 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.Rmd
58 lines (39 loc) · 1.76 KB
/
README.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
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# tarantino <img src="man/figures/logo.png" width="160px" align="right" />
<!-- badges: start -->
[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
<!-- badges: end -->
## Overview
This package provides a series of palettes extracted from some classic scenes of Quentin Tarantino's movies. The package itself is a modified version based on the famous [`wesanderson`](https://github.com/karthik/wesanderson) package. The raw data is collected from *[Movies in Color](https://moviesincolor.com)*.
## Installation
You can install the development version of `tarantino` with:
```{r eval=FALSE}
# install package from github
devtools::install_github("rexarski/tarantino")
```
## Palettes
**Update:** 2 new palettes from [_The Hateful Eight (2015)_](https://www.instagram.com/p/CBLdkdeIRK2/) and [_Once Upon a Time in Hollywood (2019)_](https://www.instagram.com/p/B-Pl0PAocL7/).
![img](man/figures/TheHatefulEight.png)
![img](man/figures/OnceUponATimeInHollywood.png)
![img](man/figures/palettes.png)
After loading the package, call `tarantino_palettes` to display all current available palettes, which are stored in the list. Each element within the list is a palette object.
```{r eval=FALSE}
library(tarantino)
tarantino_palettes
```
You can also use `tarantino::print_palette(palette)` to give a showcase of the palette:
```{r eval=FALSE}
tarantino::print_palette(tarantino_palette("PulpFiction", type="discrete"))
```
![img](man/figures/PulpFiction.png)