David, Then what you suggest i should do to intoduce 3D plotting in Sympy or Gamma/Live
On Thu, Mar 20, 2014 at 8:23 AM, SAHIL SHEKHAWAT <sahilshekhawa...@gmail.com > wrote: > I completely agree with you david but > 1.we still need the cameras, lights, canvas, > 2.we are using mathbox.js, I guess that json for it will be different. > 3.Creating a server for the local users which will render the static files > and javascript like Bokeh > > Thanks for pointing out that we also have numpy arrays which i can use.. > > > On Thu, Mar 20, 2014 at 8:17 AM, David Li <li.david...@gmail.com> wrote: > >> And I can focus more on creating a python base which will make the JSON >>> rather than concentrating on graphs and animations (Three.js) >>> >> >> Doesn't SymPy already essentially have this? E.g. >> >> >>> from sympy import * >> >>> from sympy.plotting.plot import SurfaceOver2DRangeSeries >> >>> x, y = symbols('x y') >> >>> series = SurfaceOver2DRangeSeries(x + y, (x, -1, 1), (y, -1, 1)) >> >>> series.get_meshes() >> (array([[-1. , -0.95918367, -0.91836735, ..., 0.91836735, >> 0.95918367, 1. ], >> ... >> >> All that would be left is converting the NumPy arrays to JSON. (This is >> what Gamma does.) >> >> David >> >> >>> >>> On Thu, Mar 20, 2014 at 8:09 AM, SAHIL SHEKHAWAT >>> <sahilshe...@gmail.com>wrote: >>> >>>> Yeah! That will be nice! >>>> >>>> >>>> On Thu, Mar 20, 2014 at 8:02 AM, Jason Moore <moore...@gmail.com>wrote: >>>> >>>>> Is there any reason not to use MathBox.js? Seems like you'll have to >>>>> write very similar code to what is already implemented there. >>>>> >>>>> >>>>> Jason >>>>> moorepants.info >>>>> +01 530-601-9791 >>>>> >>>>> >>>>> On Wed, Mar 19, 2014 at 9:07 PM, SAHIL SHEKHAWAT < >>>>> sahilshe...@gmail.com> wrote: >>>>> >>>>>> Aaron, >>>>>> But i have proposed something different, without using any library >>>>>> other than three.js. >>>>>> can you please take a look at https://github.com/sympy/ >>>>>> sympy/wiki/GSoC-2014-Application-Sahil-Shekhawat% >>>>>> 3A-Three.js-backend-for-SymPy%27s-plotting-module. >>>>>> I just want to user three.js and create a browser/web based backend >>>>>> which will work locally ( on the browsers) as well as on the Gamma and >>>>>> Live. >>>>>> >>>>>> >>>>>> On Thu, Mar 20, 2014 at 6:04 AM, Aaron Meurer <asme...@gmail.com>wrote: >>>>>> >>>>>>> SymPy is also copyrighted. The important thing is the license, which >>>>>>> is BSD (the same as SymPy), which basically says you can take the >>>>>>> source code and do whatever you want with it (read it, it's quite >>>>>>> short). >>>>>>> >>>>>>> The dependencies make it not suitable for the App Engine (though we >>>>>>> don't *have* to stick with the App Engine). My hope is that >>>>>>> Continuum's Wakari platform will develop into something that will be >>>>>>> a >>>>>>> much better replacement for the App Engine for SymPy Live and SymPy >>>>>>> Gamma. >>>>>>> >>>>>>> (by the way, I work for Continuum, so if you have any questions about >>>>>>> Bokeh or Wakari, just let me know and I can pass them on) >>>>>>> >>>>>>> Aaron Meurer >>>>>>> >>>>>>> On Tue, Mar 18, 2014 at 4:20 AM, SAHIL SHEKHAWAT >>>>>>> <sahilshe...@gmail.com> wrote: >>>>>>> > Its been copyrighted by Continuum Analytics, Inc.. will that be >>>>>>> problem? >>>>>>> > But it looks good! >>>>>>> > >>>>>>> > >>>>>>> > On Tue, Mar 18, 2014 at 2:45 PM, Christophe Bal <proj...@gmail.com> >>>>>>> wrote: >>>>>>> >> >>>>>>> >> Hello, >>>>>>> >> you can also look at Bokeh. >>>>>>> >> >>>>>>> >> Christophe BAL >>>>>>> >> >>>>>>> >> >>>>>>> >> 2014-03-18 8:50 GMT+01:00 SAHIL SHEKHAWAT <sahilshe...@gmail.com >>>>>>> >: >>>>>>> >>>>>>> >> >>>>>>> >>> I have been working on a proposal to implement 3D plotting in >>>>>>> SymPyGamma, >>>>>>> >>> and Jason pointed me to the importance of d3.js and Three.js >>>>>>> backend in the >>>>>>> >>> Sympy itself. so, i want to discuss the idea.As only four days >>>>>>> are left >>>>>>> >>> please reply. >>>>>>> >>> My motivation is >>>>>>> >>> https://groups.google.com/forum/#!searchin/sympy/ >>>>>>> plotting$20module/sympy/q3kOnJfRXdw/JAEL6AyJnZQJ >>>>>>> >>> by Stefan Krastanov . SymPyGamma's plotting is based on D3.js >>>>>>> and does not >>>>>>> >>> used SymPy's plotting module which limits the plots that can be >>>>>>> produced by >>>>>>> >>> Gamma BUT if i can implement a D3.js backend for 2D plotting and >>>>>>> Three.js >>>>>>> >>> backend for 3D plotting in SymPy itself which can be directly >>>>>>> used in Gamma >>>>>>> >>> as done by Stefan .here: >>>>>>> >>> http://blog.krastanov.org/2013/05/14/sympy-plots-with- >>>>>>> d3-in-ipyhton will it >>>>>>> >>> be more beneficial than implementing Three.js in Gamma only? >>>>>>> >>> Also, the point about the python execution time limit on App >>>>>>> engine we >>>>>>> >>> can use Ajax to separate the execution into multiple python >>>>>>> executuion as >>>>>>> >>> suggested by Stefan in the discussion and also we can export the >>>>>>> results as >>>>>>> >>> Gist and Query them which will reduce the execution time >>>>>>> significantly, i >>>>>>> >>> have done significant work in my PR >>>>>>> >>> https://github.com/sympy/sympy_gamma/pull/32. >>>>>>> >>> >>>>>>> >>> Please tell me is it any good? should i change my proposal? I >>>>>>> can do this >>>>>>> >>> if everyone think that this is good! >>>>>>> >>> >>>>>>> >>> -- >>>>>>> >>> You received this message because you are subscribed to the >>>>>>> Google Groups >>>>>>> >>> "sympy" group. >>>>>>> >>> To unsubscribe from this group and stop receiving emails from >>>>>>> it, send an >>>>>>> >>> email to sympy+un...@googlegroups.com. >>>>>>> >>> To post to this group, send email to sy...@googlegroups.com. >>>>>>> >>>>>>> >>> Visit this group at http://groups.google.com/group/sympy. >>>>>>> >>> To view this discussion on the web visit >>>>>>> >>> https://groups.google.com/d/msgid/sympy/d2d0fc0b-187a- >>>>>>> 4a16-bf5b-d2ffdc6da826%40googlegroups.com. >>>>>>> >>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >> >>>>>>> >> >>>>>>> >> -- >>>>>>> >> You received this message because you are subscribed to the >>>>>>> Google Groups >>>>>>> >> "sympy" group. >>>>>>> >> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an >>>>>>> >> email to sympy+un...@googlegroups.com. >>>>>>> >> To post to this group, send email to sy...@googlegroups.com. >>>>>>> >>>>>>> >> Visit this group at http://groups.google.com/group/sympy. >>>>>>> >> To view this discussion on the web visit >>>>>>> >> https://groups.google.com/d/msgid/sympy/CAAb4jG% >>>>>>> 3D59KLpO4gazStjR7FLeiDTAHNX2qyng8vZNTPaqCPeaQ%40mail.gmail.com. >>>>>>> >> >>>>>>> >> For more options, visit https://groups.google.com/d/optout. >>>>>>> > >>>>>>> > >>>>>>> > -- >>>>>>> > You received this message because you are subscribed to the Google >>>>>>> Groups >>>>>>> > "sympy" group. >>>>>>> > To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an >>>>>>> > email to sympy+un...@googlegroups.com. >>>>>>> > To post to this group, send email to sy...@googlegroups.com. >>>>>>> >>>>>>> > Visit this group at http://groups.google.com/group/sympy. >>>>>>> > To view this discussion on the web visit >>>>>>> > https://groups.google.com/d/msgid/sympy/CA%2BOR%3DbjhKaoe% >>>>>>> 2BJaY%3DwnpZaXz_ps9S5Zhw%2BgCNGdBv-uwuJ4hnw%40mail.gmail.com. >>>>>>> > >>>>>>> > For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "sympy" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to sympy+un...@googlegroups.com. >>>>>>> To post to this group, send email to sy...@googlegroups.com. >>>>>>> >>>>>>> Visit this group at http://groups.google.com/group/sympy. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/sympy/CAKgW%3D6JkRjgLb5j8Uw0vu01v- >>>>>>> 8QuensWavdf7A_qMoo15Rx2TA%40mail.gmail.com. >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to the Google >>>>>> Groups "sympy" group. >>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>> send an email to sympy+un...@googlegroups.com. >>>>>> To post to this group, send email to sy...@googlegroups.com. >>>>>> >>>>>> Visit this group at http://groups.google.com/group/sympy. >>>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>>> msgid/sympy/CA%2BOR%3DbhuzCPKJF9GSRr_6tghBH7my5QF3GesJ95-i0eua_ >>>>>> zk4Q%40mail.gmail.com<https://groups.google.com/d/msgid/sympy/CA%2BOR%3DbhuzCPKJF9GSRr_6tghBH7my5QF3GesJ95-i0eua_zk4Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "sympy" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to sympy+un...@googlegroups.com. >>>>> To post to this group, send email to sy...@googlegroups.com. >>>>> >>>>> Visit this group at http://groups.google.com/group/sympy. >>>>> To view this discussion on the web visit https://groups.google.com/d/ >>>>> msgid/sympy/CAP7f1AgS_bfC4NDcTJa%3DixA2KtBgf%3DBy2AfBhbEXY%2B3g4ZYT5g% >>>>> 40mail.gmail.com<https://groups.google.com/d/msgid/sympy/CAP7f1AgS_bfC4NDcTJa%3DixA2KtBgf%3DBy2AfBhbEXY%2B3g4ZYT5g%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "sympy" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to sympy+unsubscr...@googlegroups.com. >> To post to this group, send email to sympy@googlegroups.com. >> Visit this group at http://groups.google.com/group/sympy. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sympy/4c75b70e-e1ab-499a-8783-7fbef2fbbc1b%40googlegroups.com<https://groups.google.com/d/msgid/sympy/4c75b70e-e1ab-499a-8783-7fbef2fbbc1b%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at http://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CA%2BOR%3DbjZQ1J7FCN7tuv2dJ8Y7%3DF6s5%2BjS7VDGFFuqZt_0zs5ag%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.