light_directional: Plot illumination
Description
Plot illumination
Usage
light_directional(color = "#eeeeee", position = c(0, 0, 0))
Arguments
position
the light position as an (x, y, z) coordinate vector with entries in [-1, 1]
Value
An object for use with the lights
argument in scatterplot3js
and graphjs
.