Yep, processing.js is just a parser to turn the processing java code into javascript. At the end of the day its all executred through HTML canvas (thats why it wont run in IE). Its was just easier for me to write the java code than the javascript code because of the OOP.
On Jun 30, 9:27 pm, William Cauchois <wcauch...@gmail.com> wrote: > On Tue, Jun 30, 2009 at 2:41 AM, Rob Beezer<goo...@beezer.cotse.net> wrote: > > > On Jun 29, 12:09 pm, William Cauchois <wcauch...@gmail.com> wrote: > >> At the behest of William I took a stab at implementing this very type > >> of renderer in Sage. My work, [with patch], is available at > >> <http://trac.sagemath.org/sage_trac/ticket/6447> for anyone who might > >> be interested. > > > Bill - Nicely done! Are 2D, interactive graphics, like Rado's graph > > editor > > >http://www.math.uiuc.edu/~rkirov2/processing/grapheditor_live.html > > > possible on an HTML canvas? > > Definitely! I mean, the linked example is implemented using canvas > after all. I think there are many areas where we could make the Sage > notebook more interactive using HTML canvas and clientside JavaScript. > For anyone interested in this technology, there is an excellent > tutorial available at the Mozilla Developer Center > <https://developer.mozilla.org/en/Canvas_tutorial>. > > > Rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---