Convert a matrix table into a brickr 3D object

bricks_from_table(matrix_table, color_guide = brickr::lego_colors, .re_level = TRUE, increment_level = 0, max_level = Inf, increment_x = 0, max_x = Inf, increment_y = 0, max_y = Inf, exclude_color = NULL, exclude_level = NULL)

matrix_table | A data frame of a 3D brick model desigh. Left-most column is level/height/z dimension, with rows as Y axis and columns as X axis. See example. Use |
---|---|

color_guide | A data frame linking numeric |

.re_level | Logical to reassign the Level/z dimension to layers in alphanumeric order. Set to FALSE to explicitly provide levels. |

increment_level | Default '0'. Use in animations. Shift Level/z dimension by an integer. |

max_level | Default 'Inf'. Use in animations. Any Level/z values above this value will be cut off. |

increment_x | Default '0'. Use in animations. Shift x dimension by an integer. |

max_x | Default 'Inf'. Use in animations. Any x values above this value will be cut off. |

increment_y | Default '0'. Use in animations. Shift y dimension by an integer. |

max_y | Default 'Inf'. Use in animations. Any y values above this value will be cut off. |

exclude_color | Numeric array of color ID numbers to exclude. |

exclude_level | Numeric array of Level/z dimensions to exclude. |

A list with elements `Img_lego`

to pass to `collect_bricks()`

.

Other 3D Models: `bricks_from_coords`

,
`bricks_from_excel`

,
`bricks_from_mosaic`

,
`bricks_from_rayshader`

,
`build_bricks_rayshader`

,
`build_bricks`