pythreejs icon indicating copy to clipboard operation
pythreejs copied to clipboard

Using pythreejs output in a Jupyter kernel?

Open nickc92 opened this issue 6 years ago • 2 comments

Hi, I am interested in writing a Jupyter kernel which, upon execution of some code, will generate a pythreejs rendering. But it is unclear to me how I would do that. Is that a simple thing to do?

nickc92 avatar Dec 02 '18 16:12 nickc92

I don't have a lot of experience writing kernels, so I'm maybe not your best bet for an answer here, but it would very much depend on what kind of kernel you are writing (which language / run-time?). The first milestone would be to have support for jupyter-widgets (equivalent of ipywidget's nbextension). Maybe @SylvainCorlay can be more helpful here?

vidartf avatar Dec 05 '18 08:12 vidartf

Hi @nickc92: you can get this effect by opening up a python kernel and then run some pythreejs commands in python. Jupyter will then display the rendering in the notebook. Any reason why this would not meet your needs?

boustrephon avatar Apr 17 '19 14:04 boustrephon