/pythreejs

A Jupyter - ThreeJS bridge

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

pythreejs

A Python / ThreeJS bridge utilizing the Jupyter widget infrastructure.

Screencast

Installation

Using pip:

pip install pythreejs
jupyter nbextension enable --py pythreejs

Using conda

$ conda install -c conda-forge pythreejs

For a development installation (requires npm):

$ git clone https://github.com/jovyan/pythreejs.git
$ cd pythreejs
$ pip install -e .
$ jupyter nbextension install --py --symlink --user pythreejs
$ jupyter nbextension enable --py --user pythreejs

Note for developers: the --symlink argument on Linux or OS X allows one to modify the JavaScript code in-place. This feature is not available with Windows.