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

Using k3d npm package in react #332

Closed Arhan13 closed 2 years ago

Arhan13 commented 2 years ago

Has anyone tried using the k3d package in a react app? I tried making a k3d instance but wasn't able to. If anyone has successfully made a POC I would like to understand the implementation.

artur-trzesiok commented 2 years ago

K3D is written in vanilla js so can be wrap into react without big effort. I also assume that if we don't have any response since 19 march 2022 that mean that the sample app is not there.

artur-trzesiok commented 2 years ago

I will prepare sample in pure js

artur-trzesiok commented 2 years ago

Please download new version of k3d@2.13.0:

It should be there :)