On Fri, Feb 6, 2009 at 11:33 AM, Harald Schilly <harald.schi...@gmail.com> wrote: > > On Feb 6, 4:41 pm, Pat LeSmithe <qed...@gmail.com> wrote: >> The custom editor would definitely be cool. I was referring to the >> possibility of running some of Sage's computations in the browser. For >> example, if the server had access to Python... > > Ah, now i understand. The problem is, python alone doesn't help. There > are always points where you have to call some library. Also, the cell- > input-output system implies, that the current sage-state depends on > previous calculations (i.e. if you define a variable in cell 1, it is > there in cell 2) - that makes it necessary to sync this and you > essentially have the reverse problem of transferring data from the > client ot the server. which is probably slower than a usual roundtrip, > before you can do the next calculation. > > What could really be speeded up is some kind of new "interactive/ > dynamic" plotting with zoom and resize. Like the following: client > issues a special plot command, server evaluates it, creates a > compressed data object containing all the plot-points (or plot data), > transfer via network to the client, it decompresses the data and draws > it by itself on a html-canvas object [that's something where you can > draw with javascript commands]. Then, you could do things like zoom, > crop, move, ... on the canvas object with dynamic update without a > roundtrip to the server. You could also do things like showing the > value of the function at a point under the mouse cursor or rotating > things if it is a 3d-plot. Well, that's all i could imagine that would > work and make sense ;)
I just want to point out that the above *is* what the 3d plotting in Sage currently does. Doing something similar for 2d plots would be great. William --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---