Mosaics

Create a LEGO mosaic from an image

build_mosaic()

Display 2D LEGO mosaic as a plot image

image_to_mosaic()

Create a 2D LEGO mosaic from an image array

3D Models

Build 3D models from various inputs

bricks_from_coords()

Convert a data frame with x, y, z & Color columns into a brickr 3D object

bricks_from_excel()

Convert an Excel brickr template into a brickr 3D object

bricks_from_mosaic()

Convert a 2D LEGO mosaic into a brickr 3D object

bricks_from_rayshader()

Build a brickr 3D object from rayshader hillshade & heightmap matrices

bricks_from_table()

Convert a matrix table into a brickr 3D object

build_bricks()

Build 3D brick model with rgl

build_bricks_rayshader()

Build 3D brick model with rayshader.

ggplot Extension

Brick bar charts in ggplot

coord_brick() coord_brick_flip()

Cartesian coordinates for bricks - ggplot2 extension

geom_brick_col()

Bar charts with bricks - ggplot2 extension

geom_brick_rect()

Tile charts as Bricks - ggplot2 extension

scale_fill_brick()

Color scales for bricks - ggplot2 extension

theme_brick()

Brick color themes - ggplot2 extension

Bricks IRL

Helper functions to create bricks and build them IRL.

build_colors()

Display available brick colors

build_instructions()

Create instruction manual for 2D image mosaics

build_pieces()

Display bricks required to build model or mosaic.

build_pieces_table()

Generate required bricks as a data frame.

build_themes()

Display available brick themes for ggplot feature scale_fill_brick()