mirror of
https://github.com/ryantimpe/brickr.git
synced 2026-01-04 12:51:15 -06:00
3.7 KiB
3.7 KiB
brickr 0.3.4
- 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
-
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
- Castle release video
- 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
-
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.