Differences between revisions 4 and 13 (spanning 9 versions)
Revision 4 as of 2016-06-04 11:06:34
Size: 962
Editor: mkostur
Comment:
Revision 13 as of 2017-02-06 20:20:49
Size: 1190
Editor: mrennekamp
Comment: I guess it's not an spkg... added K-3D website
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= 3D visualisation in jupyter notebook =


== K3D ==


 * prototype, developed in september-december 2015
 * uses three.js
 * two separated repos in https://github.com/K3D-tools:
 * K3D-jupyter - interface with jupyter
 * K3D javasctipt part of the widget
 * plotting data rather than algebra


== Getting K3D to work in SageMath ==

The K3D consists of two part: the python widget K3D-jupyter and javasctipt code K3D. There are following repositories:
 
 * K3D-jupyter - widget code
 * K3D - js code
 * K3D-Jupyter-shim - prepackaged jupyter widget
 * K3D-shim - prepackaged js code.


The repo [[https://github.com/K3D-tools/K3D-Jupyter-shim.git|K3D-Jupyter-shim]] contains
prepackaged 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
}}}
----
CategoryCategory
= K3D-jupyter 3D visualisation in jupyter notebook =
[[http://www.k-3d.org/]]
== Intro ==
K3D-jupyter is a jupyter widget for displaying 3D content inside a notebook. It uses notebook ipywidgets 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.
 * 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
 * it plotting data, sampling must be done a priori
== 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 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
}}

K3D-jupyter 3D visualisation in jupyter notebook

http://www.k-3d.org/

Intro

K3D-jupyter is a jupyter widget for displaying 3D content inside a notebook. It uses notebook ipywidgets 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.
  • 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

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 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 }}

K3D-tools (last edited 2017-02-06 20:20:49 by mrennekamp)