inky_2d_space: Make a 2D colour gradient

Description Usage Arguments Value Examples

View source: R/inky-gradients.R

Description

Make a 2D colour gradient

Usage

1
inky_2d_space(colours, x = 20, y = 14)

Arguments

colours

A vector of length 4, all as valid arguments to col2rgb

x

The length of the x dimension

y

The length of the y dimension

Value

A data.frame

Examples

1
grad_2d <- inky_2d_space(inky_colours()[3:6])

alexwhan/inkyr documentation built on Jan. 26, 2021, 12:28 a.m.