brickr 0.3.5 Unreleased

  • Error fixes for tidyr 1.1.1 release.

brickr 0.3.4 2020-05-09

  • Error fixes for dplyr 1.0.0 release.

Mosaics

  • When uploading a png with a transparent background, those bricks will default to White. Change input ‘trans_bg’ to any LEGO color name.

brickr 0.3.2 2020-04-06

  • An overall leaner package to ensure optimal performance and remove experimental features.

  • Updated documentation to increase accessibility and usability.

3D Models

  • Optional new coordinate system to allow for varying piece shape and 1-height plates & pieces. (Most bricks are 3-height)

  • New shapes! Plates, cheese slopes, round 1x1 bricks, conical 1x1 bricks.

  • Removed bricks_from_rayshader() and build_bricks_rayshader() to decrease the complexity of package.

ggplot Extension

  • Removed from brickr. Will be rewritten as its own package.

brickr 0.2.0 Unreleased

Documentation

3D Models

  • build_bricks() now renders models in {rgl}, rather than {rayshader}. Most options for the rendering have changed. Use build_brick_rayshader() for previous output.
  • Support for transparent bricks. See build_colors() for list of color names.

brickr 0.1.1 Unreleased

  • House release video

  • Breaking: Pretty much EVERY function. Seriously, check out the README and start fresh.

  • Breaking: Data “lego_colors.rda” has been updated with more accurate RGB values and new brickrID numbers. This will impact previously created mosaics and 3D models.

Documentation

  • pkgdown site
  • Vignettes

Mosaics

  • New rendering of mosaics in ggplot2. Includes embossed text with custom labels.
  • Color_palette allows option to choose brick colors by rarity. ‘universal’ (most common), ‘generic’, and ‘special’ (least common).
  • New color matching options to convert image to available brick colors. Previous option still available, but results will look different due to changed RGB values.
  • Color dithering option for large, photo-realistic mosaics.
  • Updated brick collection algorithm to allow for custom brick input.
  • 3D mosaics have been rewritten as 3D models using plates with bricks_from_mosaic().

3D Models

  • brick_res input options to render models in higher definition (‘sd’, ‘hd’, ‘uhd’)
  • bricks_from_rayshader() to render LEGO models from rayshader plot_3d() input.
  • Option to use plates rather than bricks. Combining the two involves some hacking.
  • Updated brick collection algorithm to allow for custom brick input.
  • Updated brick collection algorithm staggers bricks over layer, though still prioritizes larger bricks.
  • build_instructions generates building instructions for 3D models, as well as mosaics.

ggplot Extension

  • geom_brick_col for bar charts in the shape of bricks. Negative values are fine, but position = stack is not available.
  • coord_brick to prevent chart brick distortion. coord_brick_flip for horizontal bars.
  • scale_fill_brick and theme_brick for different LEGO color options.

brickr 0.0.0.9200 Unreleased


brickr 0.0.0.9150 Unreleased

  • Added bricks_from_coords() function to convert a long data frame with x, y, z, and Color columns into input for display_bricks().
  • Aesthetic updates to the README and logo.
  • Added a NEWS.md file to track changes to the package.