Canvas#
veux
supports several different rendering technologies through the canvas
abstraction.
"gltf"
-
The
gltf
canvas uses glTF technology to build renderings. This is useful for generating publication-ready renderings and efficiently navigating large complex models. This canvas tends to create the most presentable and responsive renderings. When saved to a .glb file and opened in a 3D model viewer, ray tracing can be used to add realistic shadows.glTF’s internal structure mimics the memory buffers commonly used by graphics chips when rendering in real-time, such that assets can be delivered to desktop, web, or mobile clients and be promptly displayed with minimal processing.
Renderings on the
gltf
canvas can stored as glb or html files. "plotly"
-
The
plotly
canvas is useful for model development and debugging because it can add model property summaries that show up when hovered over by the mouse. However, this canvas tends to be a bit slower and slightly less presentable than thegltf
canvas. This canvas uses the Plotly library.Renderings on the
plotly
canvas can stored as html files and opened in standard browsers.
Note
Renderings produced with the "matplotlib"
canvas are typically of poor quality. For high-quality images, use the "gltf"
canvas and take screen captures.