OK, what about VPython? Can we do animations such as these

http://showmedo.com/videotutorials/series?name=pythonThompsonVPythonSeries

with jmol or tachyon?

TIA,
A. Jorge Garcia
Applied Math and CompSci
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009


-----Original Message-----
From: William Stein <[email protected]>
To: sage-edu <[email protected]>
Sent: Sun, Nov 20, 2011 8:55 pm
Subject: Re: [sage-edu] turtle.py and vpython

On Sun, Nov 20, 2011 at 1:35 PM, A. Jorge Garcia <[email protected]> wrote:
I'm curious if anyone has had success with turtle graphics in python.
Can this be done in SAGE?

Hi,

Given that this [1] is called "Turtle Graphics for Tk" (which is
included standard in Python 2.6, 2.7, etc.), it will not work in the
Sage notebook remotely.

That said, for me with Sage-4.7.3 on OS X turtle graphics *just work*
already on the command line.  Whether it works or not with a random
Sage install will depend on whether or not one has Tk graphics
support.

Looking over the API from [1], I think it would be really cool to make
a version of this that does work in the notebook.   It would be a
great project for somebody to make something with the same API at [1]
that works in the Sage notebook cleanly, using perhaps HTML5 canvas or
something.   I would try to do this right now (simply because it would
be really fun), but I don't have infinite time anymore.   I don't know
whether I would use (or reuse) any of the code in Python's turtle
module or not.

[1] http://docs.python.org/library/turtle.html




Also, can we use VPython in SAGE?

TIA,
A. Jorge Garcia
Applied Math and CompSci
http://shadowfaxrant.blogspot.com
http://www.youtube.com/calcpage2009

--
You received this message because you are subscribed to the Google
Groups "sage-edu" group.
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-edu?hl=en.





--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

--
You received this message because you are subscribed to the Google Groups "sage-edu" group.
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-edu?hl=en.




--
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
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-edu?hl=en.

Reply via email to