Closed RobertGemmaJr closed 2 years ago
Use react event listeners instead of pure javascript.
Which listeners still need to be attached to the document?
Canvas width should be determined by the size of the sidebar.
Will be the same width as the dropdown, sliders, etc.
for...of
loops will probably work best when drawing the canvas
Canvas width should be determined by the size of the sidebar.
Will be the same width as the dropdown, sliders, etc.
Right now the min-content
because the canvas has a hardcoded width. This should be flipped - set a width of the "sidebar" and resize canvas based on that width
The reset button should reset the position, rotation, and scale of the model as well as the transfer function
Issue moved to react-volume-viewer
library
Right now initial node values are hard coded in
OpacityControls.js
, should be read from the global config file