Open hadim opened 5 years ago
Here is a binder that reproduces the issue: https://mybinder.org/v2/gh/hadim/binder-sandbox/master?urlpath=lab/tree/notebooks/Image%20Viewer.ipynb
Very nice!
I am trying to create a 3D-5D viewer to display 2D images with some sliders to navigate along other dimensions such as time, channel and z.
To get the behavior you want, we will likely need true 4D support, discussed in #74. We will need to buffer enough data client side time-wise and transfer it into WebGL buffers for the transitions to be fast.
In 0.27.2, data transmission rates are ~20x faster, so it may be practical without dedicated time support.
I am trying to create a 3D-5D viewer to display 2D images with some sliders to navigate along other dimensions such as time, channel and z.
To update the image I just set the
image
attribute of the widget to the new image:It works well but the image update is slow when moving the sliders. The same issue happens with a low-resolution image.
Here is a binder that reproduces the issue: https://mybinder.org/v2/gh/hadim/binder-sandbox/master?urlpath=lab/tree/notebooks/Image%20Viewer.ipynb