Properties:
color
(type: color) — default: whitecoords
(type: coord[]) — array of sphere centersopacity
(type: number) — default: 1
radius
(type: number) — default: 1
Draw spheres.
{
"type": "sphere",
"color": [0.6, 0.6, 0.6],
"coords": [
[[0, 0, 0]]
],
"radius": 1
}
{
"type": "sphere",
"color": [1, 1, 1],
"coords": [
[[0, 0, 0]]
],
"opacity": 0.5
}