Dear sage-developers, as Markus said, JSXGraph is a viewer for the web browser: it can a) display geometric construction in the GEONExT file format (http:// geonext.de) or the evolving Intergeo file format (http://i2geo.net/), b) display constructions coded directly in JavaScript. This second point b) may be the interesting part of JSXGraph for sage. The URL http://jsxgraph.uni-bayreuth.de/wiki/index.php/Analyze_data_with_the_Statistics_software_R contains an example where on every mouseUp event data is sent from the client to some high-level functions of the statistics package R on server side. Finally, the result of the R computation is sent back to the web browser and the construction is updated accordingly. The client-server connection is easily done with AJAX. Hopefully, this is one step closer to Robs idea of a tool for output and *input*.
Best wishes, Alfred On 21 Jul., 03:39, William Stein <wst...@gmail.com> wrote: > (Just in case Markus isn't subscribed.) > > ---------- Forwarded message ---------- > From: Markus Hohenwarter <mar...@geogebra.org> > Date: Mon, Jul 20, 2009 at 6:24 PM > Subject: Re: [sage-devel] Re: Sage and JSXGraph > To: William Stein <wst...@gmail.com> > > Cc: sage-devel@googlegroups.com, Alfred Wassermann > <alfred.wasserm...@uni-bayreuth.de>, Michael Borcherds > <mich...@geogebra.org> > > Dear William, > > I have created a first version of a "geogebra_basic.jar" file (under > GPL) that you can include in Sage. It is under GPL, allows to open ggb > files, and does not use any user interface elements of GeoGebra like > toolbar, menubar, spreadsheet, etc. Please see an example > athttp://www.geogebra.org/webstart/test/test.htmland find the jar file > athttp://www.geogebra.org/webstart/test/ > By setting up the webserver to support pack200, the jar file size is > only about 200K (without much optimizing from my side). > > Note that you can communicate with the GeoGebra applet (also the > "basic" version) via a public interface > (seehttp://www.geogebra.org/en/wiki/index.php/GeoGebra_JavaScript_Methods). > We'd be happy to help extend this interface to include special methods > for interaction with Sage if necessary. > > Concerning JSXGraph: this is an interesting project (successor project > of Geonext) and I guess that Sage could include both GeoGebra and > JSXGraph. You will probably want to do some testing with both systems > in various browsers. JSXGraph is a viewer, while GeoGebra also makes > authoring easy (seehttp://www.geogebra.org/webstart/) and has a large > community (half a million visitors per month) with many ggb files out > there already (seehttp://www.geogebra.org/wiki). > > We'll be happy to work together both with Sage and JSXGraph in the future! > > All the best, > Markus > > On Mon, Jul 20, 2009 at 15:19, William Stein<wst...@gmail.com> wrote: > > On Mon, Jul 20, 2009 at 5:36 AM, Jason Grout<jason-s...@creativetrax.com> > > wrote: > > >> William Stein wrote: > >>> On Tue, Jul 14, 2009 at 2:05 AM, Alfred > >>> Wassermann<alfred.wasserm...@uni-bayreuth.de> wrote: > >>>> Dear William, > >>>> Tatsuyoshi Hamada from the Knoppix/Math project told me about > >>>> your wonderful projects Sage (in fact I have heard about it before) > >>>> and Sage notebook. > >>>> Do you think our project JSXGraph (http://jsxgraph.org) would be > >>>> interesting for you and we can cooperate in some way? > >>>> (JSXGraph does function plotting and Dynamic Geometry in JavaScript.) > > >>> Probably I've cc'd this respond to the sage-devel mailing list to see > >>> what > >>> the many other sage developers think: > > >>>http://groups.google.com/group/sage-devel > > >> This is very interesting! I've wondered if there was a nice solution to > >> integrate an interactive geometry environment, for example. > > >> Ondrej: would this be a nice interface to Sympy's geometry capabilities? > >> Does Sympy export to the "geonext" format. I've never heard of that > >> format before. > > >> (for the jsxgraph developers) How does JSXGraph compare with Geogebra? > > > One is written in Java and another in Javascript, which has major > > implications. > > E.g., geogebra can run as a standalone desktop app. I think Geogebra is > > also > > more mature and well developed (it's been under very active development > > for about 4 years, at least), and has several hundred thousand users. > > > I think JSXGraph is very cool though, and having immediate > > no-annoying-java javascript is very nice, and has the benefit of being > > able to work nicely with other javascript libraries such as jquery. > > > I could see both a lightweight "geogebra viewer" and JSXGraph having a > > place in the Sage notebook, personally. > > > I've cc'd Markus Hohenwarter (lead developer of Geogebra) in case he > > can look at JSXGraph and make some comments comparing it to Geogebra. > > > Markus: Have you worked more on making a standalone "geogebra viewer", > > which could get embedded in the Sage notebook? I would love to make > > that easily available/usable in Sage... > > >> I couldn't find much on the web comparing the two. > > >> Thanks, > > >> Jason > > > -- > > William Stein > > Associate Professor of Mathematics > > University of Washington > >http://wstein.org > > -- > Markus Hohenwarter, PhD > Florida Center for Research in Science, Technology, Engineering, and > Mathematics > Florida State University,www.fcrstem.org > > GeoGebra:www.geogebra.org > IGI:www.geogebra.org/IGI > CPALMS:www.cpalms.org > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://wstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---