|
Size: 2886
Comment:
|
Size: 1277
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 1: | Line 1: |
| ---- /!\ '''Edit conflict - other version:''' ---- | |
| Line 15: | Line 14: |
| * plotting data rather than algebra | * it plotting data, sampling must be done a priori |
| Line 20: | Line 19: |
| [[http://mybinder.org/repo/K3D-tools/K3D-jupyter!Binder]] | [[http://mybinder.org/repo/K3D-tools/K3D-jupyter|Binder]] |
| Line 31: | Line 30: |
| ---- /!\ '''Edit conflict - your version:''' ---- = K3D-jupyter 3D visualisation in jupyter notebook = == Intro == K3D-jupyter is a jupyter widget for displaing 3D content inside a notebook. It uses notebook communication for sending data. It is possible to create a plot and interactively change data, add elements etc. * prototype, developed in september-december 2015 * it aims to be small and efficient ( 512x512 mesh is updated in * uses three.js as 3d engine * two separated repos in [[https://github.com/K3D-tools|K3D-tools]]: * K3D-jupyter - interface with jupyter * K3D javascript part of the widget * plotting data rather than algebra == Trying in mybinder == [[http://mybinder.org/repo/K3D-tools/K3D-jupyter!Binder]] == Getting K3D-jupyter to work in SageMath == K3D-jupyter can be installed in SageMath, then it can be used from jupyter notebook (internal one or external). The repo [[https://github.com/K3D-tools/K3D-Jupyter-shim.git|K3D-Jupyter-shim]] contains prepackaged K3D-jupyter so it has less dependencies than K3D-jupyter. It can by easily installed inside SageMath. We tested it with version of Sage - 7.2. ---- /!\ '''End of edit conflict''' ---- |
|
| Line 67: | Line 35: |
---- /!\ '''Edit conflict - other version:''' ---- In `examples` directory there are examples from SageDays 74 demo. ---- CategoryCategory ---- /!\ '''Edit conflict - your version:''' ---- In `examples` directory there are examples from SageDays 74 demo. ---- CategoryCategory ---- /!\ '''End of edit conflict''' ---- |
K3D-jupyter 3D visualisation in jupyter notebook
Intro
K3D-jupyter is a jupyter widget for displaing 3D content inside a notebook. It uses notebook communication for sending data. It is possible to create a plot and interactively change data, add elements etc.
- prototype, developed in september-december 2015
- it aims to be small and efficient ( 512x512 mesh is updated in
- uses three.js as 3d engine
two separated repos in K3D-tools:
- K3D-jupyter - interface with jupyter
- K3D javascript part of the widget
- it plotting data, sampling must be done a priori
Trying in mybinder
Getting K3D-jupyter to work in SageMath
K3D-jupyter can be installed in SageMath, then it can be used from jupyter notebook (internal one or external).
The repo K3D-Jupyter-shim contains prepackaged K3D-jupyter so it has less dependencies than K3D-jupyter. It can by easily installed inside SageMath. We tested it with version of Sage - 7.2.
git clone https://github.com/K3D-tools/K3D-Jupyter-shim.git
cd K3D-Jupyter-shim
make install-user 