Skip to contents

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()
Create rayrender board game piece objects
piece_mesh()
Create rayvertex board game piece objects
piece3d()
Render board game pieces with rgl
scale_x_piece() scale_y_piece() label_letter() label_counting() breaks_counting()
ggplot2 game diagram scales
cropmarkGrob() grid.cropmark()
Draw crop marks with grid
crosshairGrob() grid.crosshair() segmentsCrosshairGrob() squaresCrosshairGrob()
Draw crosshairs with grid

Data frame processors

Functions that process data frame input

pmap_piece()
Create graphics using data frame input
animate_piece()
Animate board game pieces
render_piece()
Render image of game pieces
op_transform() marbles_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

Install packages from the piecepackr universe

Functions to install packages from the piecepackr universe

install_ppverse() pkgs_ppverse()
Install additional packages from the piecepackr universe

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.

Developer helper data

Data intended for developers

spdx_license_list
SPDX License List data

Overall package description

Overall package description including supported package options

piecepackr piecepackr-package
piecepackr: Board Game Graphics

Defunct functions

Defunct functions that have been removed