katiejolly/nationalparkcolors
关于
R package for color themes inspired by national parks
其他项目实测星标增长
- 24小时
- 0
- 7天
- +3
- 15天
- +4
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文nationalparkcolors
The goal of nationalparkcolors is to provide an interface to the beautiful colors in National Park posters and images. The posters are a mix of the WPA originals and more modern remakes.
Installation
You can install the released version of nationalparkcolors from GitHub with:
# install.packages("devtools")
devtools::install_github("katiejolly/nationalparkcolors")


Example
There are 25 total palettes to choose from.
library(nationalparkcolors)
names(park_palettes)
#> [1] "SmokyMountains" "RockyMountains" "Yellowstone" "Arches"
#> [5] "ArcticGates" "MtMckinley" "GeneralGrant" "Hawaii"
#> [9] "CraterLake" "Saguaro" "GrandTeton" "BryceCanyon"
#> [13] "MtRainier" "Badlands" "Redwoods" "Everglades"
#> [17] "Voyageurs" "BlueRidgePkwy" "Denali" "GreatBasin"
#> [21] "ChannelIslands" "Yosemite" "Acadia" "DeathValley"
#> [25] "Zion"
You can create a palette in just one command (+ get an image of the palette).
pal <- park_palette("MtRainier")
If you want a specific number of colors, you can also do that.
pal <- park_palette("MtRainier", 4)
Palettes

























Along with the nice color palettes, I also hope that people think more about the national park system when using this package. I am not affiliated with the Park Service, but if you’d like to support them you can donate here.
探索相关项目
加载中…