But even if you implement something with Mathbox.js then it would be nice if users can use it locally or through Live/Gamma. That is the approach with took with pydy-viz. Right now we can run them locally and if you want embed it in a website you can.
Jason moorepants.info +01 530-601-9791 On Tue, Mar 18, 2014 at 10:57 AM, Jason Moore <moorepa...@gmail.com> wrote: > If we already use matplotlib for 3D plotting, then a long term solution to > this is to add three.js to the web backend of any one of the new plotting > libraries that are popping up (bokeh, mpld3, matplotlib's webagg backend). > Then you can simply use the library for the backend to the matplotlib > calls. Now, that route is more arduous and may not be the fastest course to > having 3D plotting in Gamma. You can certainly implement a custom 3D web > based plotter for SymPy Gamma that only works for SymPy Gamma, but as soon > as these aforementioned libraries mature we will most certainly use them as > the backend for SymPy plotting. I'm not involved in the SymPy plotting > package so I don't know the roadmap for it or what people really want. But > people that are doing plotting want what these new libraries are creating > and one or more of them will become a de facto web plotting library for 3D > graphics. But also having a working 3D plot in Gamma by the end of the > summer will be cool, regardless if we use the more established libs in the > future. If you want to go the fast and dirty route, then the Mathbox.js > looks like a good choice. > > > Jason > moorepants.info > +01 530-601-9791 > > > On Tue, Mar 18, 2014 at 10:32 AM, SAHIL SHEKHAWAT < > sahilshekhawa...@gmail.com> wrote: > >> But we do support 3D plotting by matplotlib and also you mentioned that a >> lot of people are working on making it browser compatible. >> Sorry if i am irritating but i just want to clarify. >> >> >> On Tue, Mar 18, 2014 at 7:55 PM, Jason Moore <moorepa...@gmail.com>wrote: >> >>> My suggestion on melange was just to mention that if you only focus on >>> 3D plotting for SymPy Gamma then we are missing the majority of SymPy >>> users. My hunch is that 99% of people who use SymPy use it locally, not >>> from SymPy live or SymPy Gamma. If we currently don't support 3D plotting >>> locally, then the effort may be more fruitful adding 3D plotting to SymPy >>> for local use. If 3D plotting for SymPy were implemented in such a way that >>> it is web compatible, then the plotting for SymPy Live and SymPy Gamma will >>> be gained almost for "free". >>> >>> >>> Jason >>> moorepants.info >>> +01 530-601-9791 >>> >>> >>> On Tue, Mar 18, 2014 at 9:15 AM, SAHIL SHEKHAWAT < >>> sahilshekhawa...@gmail.com> wrote: >>> >>>> sorry for the slang but if a lot of people are working on the similar >>>> project then what is there that i can work on! >>>> I talked to Ondrej and David and they said that implementing 3D >>>> plotting for Gamma is fine. Please suggest something. >>>> >>>> >>>> On Tue, Mar 18, 2014 at 6:32 PM, SAHIL SHEKHAWAT < >>>> sahilshekhawa...@gmail.com> wrote: >>>> >>>>> So, how can i improve sympy then? >>>>> I mean you said that we want 3D plotting for SymPy as a whole. so , >>>>> how can i improve that? >>>>> >>>>> >>>>> On Tue, Mar 18, 2014 at 6:17 PM, Jason Moore <moorepa...@gmail.com>wrote: >>>>> >>>>>> There are a lot people working on plotting in the browser, many of >>>>>> them tied to python execution. There probably isn't much reason to >>>>>> reinvent >>>>>> the wheel here. This is another more simple project that implements a >>>>>> d3.js >>>>>> backend for matplotlib: mpld3.github.io . Also there matplotlib has >>>>>> a webagg backend. >>>>>> >>>>>> >>>>>> Jason >>>>>> moorepants.info >>>>>> +01 530-601-9791 >>>>>> >>>>>> >>>>>> On Tue, Mar 18, 2014 at 7:41 AM, SAHIL SHEKHAWAT < >>>>>> sahilshekhawa...@gmail.com> wrote: >>>>>> >>>>>>> Indeed they are and for that there is already an option of >>>>>>> downloading from matplotlib's support. >>>>>>> We can give an option to view the plot in the web browser and Live >>>>>>> and Gamma are always there to help us. They can render the plots very >>>>>>> nicely. >>>>>>> I think it is very significant and should be my proposal for GSOC. >>>>>>> Thanks a lot Christophe for your help. >>>>>>> >>>>>>> >>>>>>> On Tuesday, March 18, 2014 4:57:50 PM UTC+5:30, Christophe Bal wrote: >>>>>>>> >>>>>>>> Do not forget that "fixed" pictures are useful for paper reports. >>>>>>>> On the other hand, I think that using web browsers for sliders is the >>>>>>>> better solution to use actually because of the dynamical features and >>>>>>>> the >>>>>>>> JS library that helps to build such sliders. >>>>>>>> >>>>>>> -- >>>>>>> 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/470f4413-08ad-4382-b349-179d35ff3914%40googlegroups.com<https://groups.google.com/d/msgid/sympy/470f4413-08ad-4382-b349-179d35ff3914%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/CAP7f1Ag6G_Hoxq6GqkSnMPVD8h53s2bzWHckoCURY0oMRsEFJA%40mail.gmail.com<https://groups.google.com/d/msgid/sympy/CAP7f1Ag6G_Hoxq6GqkSnMPVD8h53s2bzWHckoCURY0oMRsEFJA%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/CA%2BOR%3DbhVfJc9A3PiTdfb-HcEtEj5GmMTTR0x1B%3DAi%2ByK3idDjQ%40mail.gmail.com<https://groups.google.com/d/msgid/sympy/CA%2BOR%3DbhVfJc9A3PiTdfb-HcEtEj5GmMTTR0x1B%3DAi%2ByK3idDjQ%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/CAP7f1Ah6sPERxrh1CF-nbJa5pq%3DRQrq4K0%3DzHUjkN4mo8%2BKHmg%40mail.gmail.com<https://groups.google.com/d/msgid/sympy/CAP7f1Ah6sPERxrh1CF-nbJa5pq%3DRQrq4K0%3DzHUjkN4mo8%2BKHmg%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/CA%2BOR%3Dbh5HE0XqMpGp1g7FSGpFxMDfo15Ff%2BeW8Rdg4k465GC%2BQ%40mail.gmail.com<https://groups.google.com/d/msgid/sympy/CA%2BOR%3Dbh5HE0XqMpGp1g7FSGpFxMDfo15Ff%2BeW8Rdg4k465GC%2BQ%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/CAP7f1AiqGXomefk2gsAcA3vk%2Bw%2Bakf-12XdZN-WfBbUdtUfcMA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.