Thanks for this. I've actually been thinking for awhile about creating a Python wrapper for MathBox.
I've experimented a bit with VisPy, but found it be very complicated, and couldn't get it to work in Jupyter. I'm thinking it wouldn't be too difficult to create a Python wrapper that generates JavaScript files and displays them using IPython.display. I admit, though, that I don't know JavaScript very well, which is why it's taken me so long to get the project going. I imagine you already know this, but you can run MathBox files in Jupyter without having all the JavaScript in your notebook, with something like this: %%HTML <iframe width="100%" height="350" src="empty.html?inline=true"></iframe> On Wednesday, February 15, 2017 at 9:23:25 AM UTC-5, Alexander Mordvintsev wrote: > > Hi, everybody! > > > I've made a notebook > <https://nbviewer.jupyter.org/github/znah/mathbox/blob/jupyter/examples/notebooks/mathbox.ipynb?flush_cache=true> > that > shows how one can integrate MathBox plots into Jupyter and feed them data > from Python backend. WebGL supporting browser and a decent GPU required. > > > MathBox2 <https://github.com/unconed/mathbox> is an amazing visualization > library created by Steven Wittens <http://acko.net/>. This is a very > promising project, containing some really interesting ideas. > > Unfortunately It's not very mature and haven't been updated for a year > already. I really don't want it to be abandoned, so I decided to make a few > samples to show that it can be useful as a visualization tool for > scientific python community. > > > -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/0a271ac1-32ec-40da-a322-8cade4e46eb5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
