mirror of
https://github.com/ryantimpe/brickr.git
synced 2026-02-20 05:38:41 -06:00
3.0 KiB
3.0 KiB
Current dev version
##brickr 0.2.0.9003
- Issues after updating to farver 2.0. Temporarily set color method back to 'brickr_classic'.
brickr 0.2.0 - a.k.a. Castle
- Lots of bug fixes. More to come.
Documentation
- Issues and bugs are now actively tracked on GitHub Issues.
3D Models
build_bricks()now renders models in {rgl}, rather than {rayshader}. Most options for the rendering have changed. Usebuild_brick_rayshader()for previous output.- Support for transparent bricks. See
build_colors()for list of color names.
brickr 0.1.1 - a.k.a. brickr House
-
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
brickrIDnumbers. 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_resinput 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_instructionsgenerates building instructions for 3D models, as well as mosaics.
ggplot Extension
geom_brick_colfor bar charts in the shape of bricks. Negative values are fine, butposition = stackis not available.coord_brickto prevent chart brick distortion.coord_brick_flipfor horizontal bars.scale_fill_brickandtheme_brickfor different LEGO color options.
brickr 0.0.0.9200
- Added
bricks_from_excel()as a way to decrease the starting cost of using brickr. - See https://github.com/ryantimpe/brickr_toybox
brickr 0.0.0.9150
- Added
bricks_from_coords()function to convert a long data frame with x, y, z, and Color columns into input fordisplay_bricks(). - Aesthetic updates to the README and logo.
- Added a
NEWS.mdfile to track changes to the package.