The Javascript Viewer¶
The javascript viewer is developed on the library THREE.js.
We have a collection of classes, Renderers and each renderer has its own functionality.
-
class
PointRenderer
(coords, colors, sizes)¶ Arguments: - coords (Float32View) – Coordinates as a flat typed array.
- colors (List) – Colors as hexadecimal values passed as a string.
- sizes (List) – The size of the points passed as a list. Note that the sizes may not be representative and they have a max cap of 16.
Renders the coordinates as round points in space.