Low-level graphics functions

Functions for directly creating board game graphics via various graphic systems

pieceGrob() grid.piece()

Draw board game pieces with grid

geom_piece() aes_piece()

Draw board game pieces with ggplot2

piece()

Render board game pieces with rayrender

piece3d()

Render board game pieces with rgl

Data frame processors

Functions that process data frame input

pmap_piece()

Create graphics using data frame input

render_piece()

Render image of game pieces

op_transform()

Oblique projection helper function

aabb_piece()

Calculate axis-aligned bounding box for set of game pieces

Configuration list creators

Functions that create configuration list objects that customize appearance of board game components

pp_cfg() is_pp_cfg() as_pp_cfg()

Configuration list R6 object

game_systems() to_hexpack() to_subpack()

Standard game systems

Export pieces

Functions to export board game pieces as print-and-play files, individual images, or Wavefront OBJ files.

save_piece_images()

Save piecepack images

save_piece_obj()

Save Wavefront OBJ files of board game pieces

save_print_and_play()

Save piecepack print-and-play (PnP) file

Developer helper functions

Various helper functions intended for developers

pp_shape()

Shape object for generating various grobs

basicPieceGrob() picturePieceGrobFn() pyramidTopGrob() previewLayoutGrob()

Piece Grob Functions

save_ellipsoid_obj() save_peg_doll_obj()

Alternative Wavefront OBJ file generators

get_embedded_font() has_font()

Font utility functions

is_color_invisible() inch() cleave() file2grob()

Miscellaneous piecepackr utility functions

AA_to_R() R_to_AA() R_x() R_y() R_z() to_radians() to_degrees() to_x() to_y() to_r() to_t()

Helper functions for making geometric calculations.

Overall package description

Overall package description including supported package options

piecepackr-package

piecepackr: Board Game Graphics

Deprecated functions

Deprecated functions that may be removed in a future version

halmaGrob() kiteGrob() pyramidGrob() convexGrobFn() concaveGrobFn() gridlinesGrob() matGrob() checkersGrob() hexlinesGrob() get_shape_grob_fn()

Deprecated functions