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