| Title: | Make LGBT Hexes and Flags |
|---|---|
| Description: | Generates a variety of LGBT flags (e.g., rainbow, transgender) overlaid with the R logo, using the magick package. Also generates hex stickers based on LGBT flags and tilings thereof. |
| Authors: | Danielle Navarro [aut, cre] (ORCID: <https://orcid.org/0000-0001-7648-6578>) |
| Maintainer: | Danielle Navarro <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.0.0.9000 |
| Built: | 2026-05-16 08:51:57 UTC |
| Source: | https://github.com/djnavarro/rainbowr |
List of LGBT Flags
list_flags()list_flags()
A character vector
Creates an LGBT Pride Flag with R Logo
make_banner( flag = "rainbow", width = 1000, palette = c("#cbced0", "#84838b", "#505050", "#a0a0a0") )make_banner( flag = "rainbow", width = 1000, palette = c("#cbced0", "#84838b", "#505050", "#a0a0a0") )
flag |
character string (e.g., rainbow) naming the flag to be drawn |
width |
numeric (width of the flag in pixels) |
palette |
character vector of colours 1, 2 or 4 colours |
An object of class "magick-image"
Creates an LGBT Pride Hex Sticker with R Logo
make_hex( flag = "rainbow", width = 1000, palette = c("#cbced0", "#84838b", "#505050", "#a0a0a0"), background = "white" )make_hex( flag = "rainbow", width = 1000, palette = c("#cbced0", "#84838b", "#505050", "#a0a0a0"), background = "white" )
flag |
character string (e.g., rainbow) naming the flag to be drawn |
width |
numeric (width of the flag in pixels) |
palette |
character vector of colours 1, 2 or 4 colours |
background |
character string specifying the background colour (default = "white") |
An object of class "magick-image"
Creates a Tiling of LGBT Hex Stickers
make_hextile(data, width = 1000)make_hextile(data, width = 1000)
data |
data frame or tibble specifying the tiling |
width |
width of each hex tile in pixels |