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

bricks_from_mosaic(mosaic_list, mosaic_height = 6,
  highest_el = "light")

Arguments

mosaic_list

List output from collect_bricks() or image_to_bricks(). Contains an element Img_lego.

mosaic_height

Number of layers in the 3D image.

highest_el

Brick height is determined by brightness of color. Use highest_el = 'dark' for darkest bricks to have mosaic_height.

Value

A list with elements threed_elevation and threed_hillshade to created 3D mosiacs with the rayshader package.

See also