NEWS
cptcity 2026-07-20
- 38 Spider-Verse palettes — every dimension, hero, and villain:
Heroes:
spider_man, spider_miles_morales, spider_gwen,
spider_noir, spider_2099, spider_ham, spider_peni,
spider_punk, spider_pavitr, spider_scarlet, spider_superior,
spider_symbiote, spider_byte, spider_1602.
Villains: spider_spot, spider_green_goblin, spider_venom,
spider_doc_ock, spider_kingpin, spider_vulture, spider_mysterio,
spider_sandman, spider_lizard, spider_electro, spider_rhino,
spider_carnage.
Dimensions: spider_earth_1610 (Miles), spider_earth_65 (Gwen),
spider_earth_90214 (Noir), spider_earth_928 (2099),
spider_earth_50101 (Pavitr), spider_mumbattan, spider_nueva_york.
Effects: spider_glitch, spider_multiverse, spider_web,
spider_venom_symbiote, spider_silk.
- Total palettes: 7464 (7140 original + 324 curated).
- R >= 3.5.0 now required (serialized data format).
- Passes
R CMD check with zero errors, zero warnings, zero notes.
- 138 new palettes in 13 categories:
Music (16), Anime (13), Cities (10), Mythology (8),
Scientific (10), Brazil (11), Films (11), Gemstones (10),
Weather (10), Comics (9), Food (10), Albums (10),
Photography (10).
- Total palettes: 7426 (7140 original + 286 curated).
- Music: jazz, blues, metal, punk, hip-hop, bossa nova, samba...
- Anime: Studio Ghibli, Evangelion, Cowboy Bebop, Dragon Ball...
- Cities: Tokyo neon, Rio, Paris, Marrakesh, Havana, Berlin...
- Brazil: Carnival, Amazon, Bossa Nova, Tropicalia, Niemeyer...
- Films: Star Wars, Jurassic Park, Inception, Pulp Fiction...
- Gems: Amethyst, Emerald, Ruby, Sapphire, Opal, Turquoise...
- Weather: Hurricane, Rainbow, Blizzard, Lightning, Twilight...
- Science: Thermal, X-Ray, DNA, MRI, Electromagnetic spectrum...
- Mythology: Norse, Greek, Egyptian, Aztec, Celtic, Hindu...
- Comics: Marvel, DC, Watchmen, Sin City, Hellboy, Tintin...
- Food: Coffee, Wine, Sushi, Matcha, Chocolate, BBQ...
- Albums: Dark Side of the Moon, Abbey Road, Nevermind...
- Photography: Kodachrome, Tri-X, Portra, Polaroid, Lomography...
- 148 new colour palettes spanning 12 thematic categories:
Art Movements (15), Architecture (12), Decades (18), Books (14),
Cyberpunk (7), Space Agencies (14), Cinema (8), Video Games (18),
TV & Era (8), Historical Eras (9), Nature (14), Miscellaneous (11).
- Total palettes: 7288 (up from 7140).
- Palette highlights:
cyber_2077_night_city, space_nasa,
game_street_fighter_ryu, nature_aurora_borealis,
decade_1980s_synthwave, book_dune_arrakis, art_impressionism_monet,
arch_fallingwater_wright, tv_stranger_things.
- All new palettes prefixed by category (
art_, arch_, decade_, etc.)
for easy discovery with find_cpt().
- Generation script at
build_v2_palettes.R for reproducibility.
- URL: cpt-city archive moved from
soliton.vm.bytemark.co.uk to phillips.shef.ac.uk. All documentation updated.
cpt(): added error message for unknown palette names.
cpt(): improved documentation explaining colorRampPalette vs character-vector return — sf users need colorRampPalette = TRUE.
find_cpt(): now case-insensitive by default (ignore.case = TRUE). Added fixed argument for literal (non-regex) matching.
lucky(): deduplicated internal runif call. Guards against out-of-range index.
show_cpt(): moved on.exit(par(oldpar)) to top of function. Cleaner grid layout logic and better margins.
- Tests: added tests for sf integration,
find_cpt case sensitivity, frgb scaling, unknown palette error, and colorRampPalette return type.
- Documentation: all
.R files re-documented with comprehensive roxygen2 entries.
cptcity 2023-08-13
cptcity 2019-11-07
- Add argument frgb to change internal rgb composition
cptcity 2018-04-17
- Add argument colorRampPalette to return this function
cptcity 2018-03-09
cptcity 2018-03-06
- Fix documentation
- Included lucky function!
cptcity 2018-02-23
- Incorporated 7140 colour gradients cpt-city_2.19-1 http://soliton.vm.bytemark.co.uk/pub/cpt-city/pkg/
- Only two gradients were not incorporated: http://soliton.vm.bytemark.co.uk/pub/cpt-city/gmt/tn/GMT_cyclic.png.index.html
http://soliton.vm.bytemark.co.uk/pub/cpt-city/jjg/hatch/tn/diag5.png.index.html
- Added the function find_cpt.
- Renamed the existing gradients to the new names, for instance, "inferno" is
now "mpl_inferno".
- Added a dataset with the names of the colour gradients.
cptcity 2018-02-16
- Adding 4 gradients
- cptcity renamed as cpt which nows is a function
cptcity 2018-02-06
- release including 4 gradients