On Feb 6, 4:41 pm, Pat LeSmithe <[email protected]> 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 ;) h --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
