Skip to contents

3D rendering functions

Functions for rendering 2D/3D cubes/cuboids

oblicubesGrob() grid.oblicubes()
Render 2D/3D cubes via an oblique projection
oblicuboidsGrob() grid.oblicuboids()
Render 2D/3D cuboids via an oblique projection
geom_oblicubes()
Draw 2D/3D cubes with ggplot2
geom_oblicuboids()
Draw 2D/3D cuboids with ggplot2

Construct coordinates of cubes/cuboids

Functions for constructing x,y,z coordinates (and colors)

xyz_heightmap()
Calculate x,y,z coordinates from a height matrix

Helper color functions

Functions to help create a pseduo-light effect

cheap_darken() darken_face()
'light' effect helper functions