JonyEpsilon / gorilla-repl

A rich REPL for Clojure in the notebook style.
http://gorilla-repl.org
MIT License
887 stars 104 forks source link

3D Plotting #223

Closed squest closed 7 years ago

squest commented 9 years ago

Hi,

First of all thanks for this plugin, it helps me a lot in making my daily data analysis tasks much more enjoyable. However, I need to plot some 3d charts/points. From my understanding, it can't do such thing for now, however can someone point me which part of it I can play with so that I can do those 3d stuffs?

Thanks

JonyEpsilon commented 9 years ago

Anything that the web browser can display can be included in Gorilla REPL, so the first step would probably be trying to identify a javascript library that can do what you want to do. Once you got that, then you can build a renderer plugin to make it easy to use. You could look at https://github.com/wiseman/leaflet-gorilla as an example of how to use an external js library to render content in Gorilla.

aadrian commented 8 years ago

Plotly seems to have a few 3d chart representations (3d line and 3d surface seem useful): https://plot.ly/javascript/#3d-charts

But to be able to render all sort of 3D stuff, a more low level lib like http://threejs.org/ would be required.

findmyway commented 7 years ago

Recently I wrote a simple wrapper for plotly integrated with gorilla-repl. May it will help someone else looking for 3d charts in gorilla.

https://github.com/findmyway/plotly-clj

benfb commented 7 years ago

That wrapper is great! I'm going to close this issue, but thanks for your work!

JonyEpsilon commented 7 years ago

That's really nice! :-)