4

Click here to load reader

Package ‘ghibli’ - R · PDF filePackage ‘ghibli’ December 5, 2017 Title Studio Ghibli Palette Generator Description Colour palettes inspired by Studio Ghibli films, ported

  • Upload
    letruc

  • View
    223

  • Download
    4

Embed Size (px)

Citation preview

Page 1: Package ‘ghibli’ - R · PDF filePackage ‘ghibli’ December 5, 2017 Title Studio Ghibli Palette Generator Description Colour palettes inspired by Studio Ghibli films, ported

Package ‘ghibli’December 5, 2017

Title Studio Ghibli Palette Generator

Description Colour palettes inspired by Studio Ghibli films, ported to R for your enjoyment.

Version 0.1.1

Depends R (>= 3.1)

License MIT + file LICENSE

Encoding UTF-8

LazyData true

Imports ggplot2 (>= 2.2.1)

Suggests knitr, rmarkdown

RoxygenNote 6.0.1

VignetteBuilder knitr

NeedsCompilation no

Author Ewen Henderson [aut, cre]

Maintainer Ewen Henderson <[email protected]>

Repository CRAN

Date/Publication 2017-12-05 20:19:18 UTC

R topics documented:

ghibli_palette . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2ghibli_palettes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Index 4

1

Page 2: Package ‘ghibli’ - R · PDF filePackage ‘ghibli’ December 5, 2017 Title Studio Ghibli Palette Generator Description Colour palettes inspired by Studio Ghibli films, ported

2 ghibli_palettes

ghibli_palette A Studio Ghibli palette generator

Description

These are some color palettes from Studio Ghibli films.

Usage

ghibli_palette(name, n, type = c("discrete", "continuous"))

Arguments

name Name of desired palette.

n Number of colors desired. All palettes now only have seven colors. All colorschemes are derived from this Studio Ghibli retrospective: Studio Ghibli retro-spective. If omitted, uses all colours.

type Either "continuous" or "discrete". Use continuous if you want to automaticallyinterpolate between colours. @importFrom graphics rgb rect par image text

Value

A vector of colours.

Examples

ghibli_palette("PonyoLight")ghibli_palette("LaputaMedium")ghibli_palette("SpiritedDark")ghibli_palette("MarnieMedium2", 3)

# If you need more colours than normally found in a palette, you# can use a continuous palette to interpolate between existing# colourspal <- ghibli_palette(21, name = "YesterdayLight", type = "continuous")

ghibli_palettes Complete list of palettes

Description

Use ghibli_palette to construct palettes of desired length.

Usage

ghibli_palettes

Page 3: Package ‘ghibli’ - R · PDF filePackage ‘ghibli’ December 5, 2017 Title Studio Ghibli Palette Generator Description Colour palettes inspired by Studio Ghibli films, ported

ghibli_palettes 3

Format

An object of class list of length 27.

Page 4: Package ‘ghibli’ - R · PDF filePackage ‘ghibli’ December 5, 2017 Title Studio Ghibli Palette Generator Description Colour palettes inspired by Studio Ghibli films, ported

Index

∗Topic colorsghibli_palette, 2

∗Topic datasetsghibli_palettes, 2

ghibli_palette, 2, 2ghibli_palettes, 2

4