This directory bundle ArcticViewer for Tomviz usage.
To update and build the given viewer, just run the following commands:
$ npm install$ npm run build:release
Then you need to position a
<div> into your web content with the following informations.
Look for an actual export to see what the viewer could actually look like based on the data visualized.
Additional arguments can be provided to remove control UI, disable mouse interaction, create animation...
In order to remove the control UI, you can do so by adding
In order to remove the control via mouse interaction, you can do so by adding
Addition information can be provided to chose the exact camera angle and/or parameter setting.
To achieve that you will have to provide a
data-initialization attribute like the following example:
An animation can be achieved by changing several parameter at the same time but not the same time step.
Below is an example that will make the data spin changing
phi and while also changing the
contour value but using a different pace. The unit is actually in milliseconds.
For local rendering and rotation animation, you may want to provide what is the amount you want to change a given parameter.
To do so, just provide the step information for those parameters with the attribute
When a viewer is used with
data-animation, you may feel helpless if you want to use the actual control panel to tune some parameter or the view. To do so, you will just need to double click on the view to toggle the current mode you are in. This will stop the animation and you will gain back the mouse interaction.