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
921 stars 123 forks source link

Is there any way we can use k3d in flutter, has anyone tried it? #330

Closed Arhan13 closed 2 years ago

Arhan13 commented 2 years ago

I was working on a mobile application using flutter, and I wanted to use k3d as a visualization library. If yes can anyone explain how?

tgandor commented 2 years ago

Tough question -- you're writing in Dart? Well, k3d is for Python and JS. However, K3D snapshots work in mobile browsers, and they can be generated 'headless' (although Python and Jupyter are still a dependency).

So, if your application can have a 'browser widget', which would support OpenGL ES, and you could generate a snapshot (for write-once visualization, which is interactive for viewing) or run Jupyter inside it (for a modifiable scene), it could be possible. Still, this is a very daring idea.