20

Shortly

One can connect Wolfram Engine / Kernel to the Jupyter notebook thanks to github / WRI / WLforJ and following manuals: How to add a front-end to the free Wolfram Engine?

Can I rotate Graphics3D @ Sphere[] generated in Jupyter notebook interface?

Background

The question was raised here. I assumed the answer is no. But while looking for an answer to TraditionalForm-like typesetting in Jupyter notebook I found a nice feature.

Kuba
  • 136,707
  • 13
  • 279
  • 740

2 Answers2

21

Wolfram Kernel <-> Jupyter loop related definitions can be read from files in

https://github.com/WolframResearch/WolframLanguageForJupyter

One can learn that within a loop a special wrapper is defined: Interact.

When connected to the Wolfram Cloud, input that is wrapped with Interact will be deployed to the Cloud and embedded in the jupyter notebook:

enter image description here

Kuba
  • 136,707
  • 13
  • 279
  • 740
6

This is not a Jupyter-based solution, but might be still useful.

WolframJSFrontned

enter image description here

enter image description here

enter image description here

The project is based purely on Wolfram Engine/ Kernel and minimal notebook interface written in JS. It brings similar experience with cells, interactive Graphics (recreated using Three.js and Ploty.js), editable output cells and the paradigm of Mathematica, where everything is a syntax sugar. Exporting to standalone .html file is also possible. Web server is written in Wolfram Language and connects via websockets to the very primitive Wolfram language JS interpreter. The architecture is flexible and easy to expand, adding a new functions (js representation s for the graphical functions) is not a big deal.

It is still is early alpha stage and actively developing. Manipulate and other dynamics are on the way.

Use git clone and run a single wolframscript file via CMD, after that - just open http://127.0.0.1:8090

Hope it can help you

Kirill Vasin
  • 1,235
  • 12
  • 14