K3D-tools / K3D-jupyter

K3D lets you create 3D plots backed by WebGL with high-level API (surfaces, isosurfaces, voxels, mesh, cloud points, vtk objects, volume renderer, colormaps, etc). The primary aim of K3D-jupyter is to be easy for use as stand alone package like matplotlib, but also to allow interoperation with existing libraries as VTK.
MIT License
915 stars 123 forks source link

'Turntable' option for camera_mode? #446

Open CSwigg opened 5 months ago

CSwigg commented 5 months ago

Hello!

I've noticed that when working with certain datasets, the 'orbit' and 'trackball' camera modes often leave me disoriented. I'm wondering if there's a possibility to configure the camera to function similarly to the 'turntable' mode, as utilized by Plotly (https://plotly.com/python/3d-axes/). This mode, as I understand it, restricts the camera from tilting left or right about the Z-axis.

Thank you!

artur-trzesiok commented 5 days ago

@CSwigg Thanks! K3D is build over three.js - I will check if there is ready to adapt and I will come back with feedback