picturePieceGrobFn
which returns a “grob” function that imports graphics from files found in its directory
argument (#152).game_systems
which returns a list of configuration objects for multiple game systems (#157).to_subpack
and to_hexpack
which given a piecepack configuration attempts to generate an appropriate matching (piecepack stackpack) subpack and hexpack (#161).file2grob
that imports a given image file as a grob.op_transform
for whether two pieces overlap are now more accurate (#150).op_transform
when computing bounding box for shapes when width and height are not equal.op_transform
for inferring width/height of matchsticks and shape/depth of pyramids.pp_cfg
objects when a custom grob function had been set.suit_color.s2="white"
pp_cfg
objects’ get_suit_color
function is now vectorized (and by default now returns the suit colors for each suit).op_transform
and new pmap_piece
argument trans
to facilitate making graphics with an oblique projection (#138).save_print_and_play
function now supports adding piecepack pyramids (#37), matchsticks (#69), and subpacks (aka “travel” piecepacks) (#129) to the print-and-play layout.pp_cfg
function (and R6 class) which on-the-fly builds a cache to speed up component drawing (#112, #122). Can also signal to rule diagram functions whether the piecepack lacks certain components (#130).help("pp_utils")
, help("grob_fn_helpers")
, and help("grid.piece")
for more info.component_opt
color names are now _color
instead of _col
to better match “configuration lists”.draw_component
has been renamed grid.piece
(and many of its arguments vectorized) and draw_components
has been renamed pmap_piece
(#123).make_images
has been renamed save_piece_images
and make_pnp
has been renamed save_print_and_play
.component_side
, i_r
, and i_s
have been renamed piece_side
, rank
, and suit
.make_collection
and make_preview
functions removed.load_configurations
and read_configuration
functions removed.make_pnp
print-and-play layouts have been radically re-configured and renamed to save_print_and_play
(#54).chip
component no longer supported by piecepackr (#114)make_pnp
now gets deck title from the configuration element title
(#118)ribbons
are now mat
(as in picture frame ‘matting’) (#117)draw_preview
function has been removed. Can now do grid.piece("preview_layout", cfg=cfg)
.get_embedded_font
function fixed.make_pnp
function now supports the A5 page size and is more A4 page size friendly (#54).fontface
(#121) as well as width
, height
, and depth
(#106) in configuration lists.pmap_piece
now supports angle=NA
and grid.piece
no longer draws different output for components like tile_back
if you specify a suit or rank (#120).credit
, copyright
, and description
fieldscoin_arrangement
(#136).ghostscript
installed will automatically embed metadata in the print-and-play pdf (#93).border_lex
and gridline_lex
to allow customizing the width of the border and grid lines.save_piece_images
’s format
argument is now vectorized.save_print_and_play
can now save a print-and-play “svg” and “ps” file (besides “pdf”).grid.piece
no longer throws a warning when use_pictureGrob==TRUE
and angle!=0
(#148).pyramid_face
, pyramid_left
, pyramid_left
, pyramid_right
, pyramid_top
, and pyramid_layout
components (progress on #37).matchstick_face
and matchstick_back
components (progress on #69)pawn_layout
, die_layoutLF
, die_layoutRF
, suitdie_layoutLF
, suitdie_layoutRF`',
suitrankdie_layoutLF, and
suitrankdie_layoutRF`` components (#101)Generalized star shape to concave#
and #
shape to convex#
shape (#100). Added “pyramid” triangle shape (progress on #37).
New draw_components
function allows one to draw several piecepack components specified in a data frame (#96).
New load_configurations
function allows one to load in several JSON configuration files and/or internal piecepackr configurations in a layered (cascading) manner (#81).
Made several non-reverse-compatible API changes to configuration and piecepack image making functions and scripts.
Increased the width of a pawn belt from 1.5" to 2" (so can fit around a 5/8" diameter pawn).
Changed the “light”-french-suited symbols in the “dual” demo from “black” symbols to “white” symbols. Thanks Ron-Hale Evans for the suggestion.
Changed default color scheme
Added get_embedded_font
function and executable (#80).
Dropped pdfjoin
from list of system dependencies (#77).
Added ability to configure by individual suits and/or ranks (#44).
Added Yellow Crowns demo (#53)
Added make_piecepack_images
executable (#48). Renamed other executables and functions in API.
Shrunk the pawn down to ½" by ⅞" and made them directional by default (#50).
Exported component drawing function draw_component
(#3, #58).
Allow styles by general component (#57) and open up primary symbol theta and r (#51).
Document exported functions in Rd pages.
Option to configure piecepack dice arrangement (#13)
Expanded Rainbow Deck demo (#64).
Fixed bugs in “orthodox” pawns (#62).
Added --border_color
configuration option and fix bug in PnP border colors (#42).
Added --header_font
, --dm_r
, --dm_r.*
, and --suit_colors.*
options.
Added (or improved) --checker_colors
, --gridline_colors
, and --hexline_colors
options.
Renamed --background_color
option to --background_colors
which can now vary by suit (#52)
Added --shape
, --shape_theta
, --shape.*
, and --shape_theta.*
options.
Add new and rename existing pdf metadata options in exec/collect_piecepacks
.
Improved “preview” layout.
Added additional suit die to accessories pages.
Fix bug in the “suit-rank” die for 5-suited piecepacks (#41).
Added Crown and Anchor suited piecepacks demo (#46).
Added Rainbow Deck suited piecepack demo (#47).
Added Reversi-friendly piecepack demo (#21).
Added Chess-ranked piecepack demo (#24).
Added Hex-friendly piecepack demo.
Fix bugs in “orthodox” demo (#43).
Tweaked configuration in “dual” demo so first two decks are more compatible with other decks.
Tweaked fonts in all demos.
Added Simplified Hanzi decks to Chinese zodiac demo.
Tweaked “chip” shape in orthodox and Chineze zodiac demos.
Tweaked background colors in 3rd hex demo.
Tweaked background colors in 3rd crown-and-anchor demo.