Re: [sage-devel] Re: Graphical Physics Program Suggestions

2009-11-28 Thread Pat LeSmithe
On 11/28/2009 01:14 PM, kstueve wrote: inkscape. Pyparsing seems to meet my needs. This is a third party Pyparsing is already part of the Sage distribution: sage: from matplotlib import pyparsing -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-27 Thread kstueve
I need help integrating a Python/Cython program (calculation/ simulation) with Java (GUI front-end with Swing, mouselistener, animating graphics). If anyone has experience integrating different languages with Sage and the notebook, experience combining Python (and Cython/C) with other languages,

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread kstueve
I need my program to have a graphical interface when run either locally or on a remote server. My options are either JavaScript and Java for the GUI front-end that communicates with the main Python program. Does anyone have any thoughts on using one over the other? Although Java has the

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread Pat LeSmithe
On 11/15/2009 03:42 PM, kstueve wrote: I would appreciate it if anyone has any links to JavaScript libraries (or general suggestions on making a JavaScript GUI front-end that communicates with a Python program) that might be helpful. There are some links at

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread kstueve
SVG looks useful. But it doesn't work on Internet Explorer without special software. http://en.wikipedia.org/wiki/Scalable_Vector_Graphics When I developed a Java applet, I had to spend great amounts of time researching the idiosyncrasies of different browsers on how to embed a Java applet with

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread Pat LeSmithe
On 11/15/2009 06:08 PM, kstueve wrote: If using JS (and related libraries) on all platforms may require extra plugins, would Java make more sense, or do I just need to find ways to use JS effectively? Does anyone have any general suggestions on how I might want to develop a GUI with

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread kstueve
Pat, thanks for the links and suggestions. They were helpful. GeoGebra and Jmol are written in Java. Jmol and GeoGebra can use JavaScript to simplify embedding in a web-page. Is this what you mean by JS-able? On Nov 15, 8:45 pm, Pat LeSmithe qed...@gmail.com wrote: On 11/15/2009 06:08 PM,

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-15 Thread Pat LeSmithe
On 11/15/2009 09:51 PM, kstueve wrote: GeoGebra and Jmol are written in Java. Jmol and GeoGebra can use JavaScript to simplify embedding in a web-page. Is this what you mean by JS-able? Yes. Although Sage, for now, does not make extensive use of either project's JS API, we could use them,

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-13 Thread kstueve
Tom, Thanks. I just bought Hibbeler's Engineering Mechanics: Statics and Engineering Mechanics: Dynamics on Amazon. I saved 99% (and spent $1.57 + 2 * 3.99) because I bought old editions. Kevin Stueve On Sep 22, 2:25 pm, Tom Boothby tomas.boot...@gmail.com wrote: I spent a while thinking

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-13 Thread kstueve
To sage-dev Can someone please explain to me what traits are in the context of tvisual? The wiki page for it (http://www.enthought.com/traits from the page https://svn.enthought.com/enthought/wiki/TVTKIntroduction) is a dead link. A google search of either vpython.org or svn.enthought.com

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-13 Thread William Stein
On Fri, Nov 13, 2009 at 5:09 PM, kstueve kevin.stu...@gmail.com wrote: To sage-dev Can someone please explain to me what traits are in the context of tvisual?  The wiki page for it (http://www.enthought.com/traits from the page https://svn.enthought.com/enthought/wiki/TVTKIntroduction) is a

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-13 Thread kstueve
On Nov 13, 7:44 pm, William Stein wst...@gmail.com wrote: On Fri, Nov 13, 2009 at 5:09 PM, kstueve kevin.stu...@gmail.com wrote: To sage-dev Can someone please explain to me what traits are in the context of tvisual?  The wiki page for it (http://www.enthought.com/traitsfrom the

[sage-devel] Re: Graphical Physics Program Suggestions

2009-11-03 Thread kstueve
I am trying to make/find collision response code for arbitrary 2D rigid bodies with rotation and friction (single point collisions). I posted a question to the message board https://sourceforge.net/projects/mjbworld/forums/forum/122133/topic/3448212/index/page/1 for the site

[sage-devel] Re: Graphical Physics Program Suggestions

2009-10-24 Thread brandon.bar...@gmail.com
On Sep 22, 6:25 pm, Tom Boothby tomas.boot...@gmail.com wrote: I spent a while thinking that I was going to be a mechanical engineer, and took a few of the ME intro courses.  Engineering statics and dynamics can be phrased entirely in terms of linear algebra, though the courses I took

[sage-devel] Re: Graphical Physics Program Suggestions

2009-10-23 Thread kstueve
Have any of you heard of Erik Neumann? He published some excellent Java physics demos at http://www.myphysicslab.com/ He is in Seatle, and has attended UW. I have been looking into vector graphics with javascript. It appears that circles, lines, and other curves are made out of lots of div

[sage-devel] Re: Graphical Physics Program Suggestions

2009-10-23 Thread Maurizio
I don't want to add confusion, but I hope you can also think about the similarity between mechanical and electrical problems. After all, it's always matter of solving differential equations, having voltage, current, and so on, instead of mechanical quantities. The good thing, from this

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-23 Thread Prabhu Ramachandran
On Wednesday 23 September 2009 07:20 AM, Fernando Perez wrote: https://svn.enthought.com/enthought/wiki/TVTKIntroduction#visual I've used vpython too, and I thought it was really nice and simple. Prabhu may comment with more information, but in the meantime, it's worth keeping in mind that

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-23 Thread Jaap Spies
Fernando Perez wrote: On Tue, Sep 22, 2009 at 11:14 AM, kstueve kevin.stu...@gmail.com wrote: An example of the desired functionality is to either with a few lines of code from within a Sage worksheet, or by clicking buttons in a graphical user interface (GUI) create a physics problem with

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-23 Thread Fernando Perez
On Wed, Sep 23, 2009 at 4:41 AM, Prabhu Ramachandran pra...@aero.iitb.ac.in wrote: Thanks Fernando.  The speed issue is still true but I wouldn't blame traits since that isn't the source of the bottleneck. I think there are a little too many events and too many renders. I have not had the time

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-22 Thread Fernando Perez
On Tue, Sep 22, 2009 at 11:14 AM, kstueve kevin.stu...@gmail.com wrote: An example of the desired functionality is to either with a few lines of code from within a Sage worksheet, or by clicking buttons in a graphical user interface (GUI) create a physics problem with components such as

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-22 Thread William Stein
On Tue, Sep 22, 2009 at 12:27 PM, Fernando Perez fperez@gmail.com wrote: On Tue, Sep 22, 2009 at 11:14 AM, kstueve kevin.stu...@gmail.com wrote: An example of the desired functionality is to either with a few lines of code from within a Sage worksheet, or by clicking buttons in a

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-22 Thread Jason Grout
William Stein wrote: Maybe he could provide an AJAX-style web-based interface to some vpython functionality? Since we also already have momentum for incorporating mayavi, we should also point out the mayavi tvtk visual module, whose api is modeled after vpython:

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-22 Thread Ondrej Certik
On Tue, Sep 22, 2009 at 11:14 AM, kstueve kevin.stu...@gmail.com wrote: As my work on prime_pi and nth_prime is drawing to a close, William Stein and I have discussed the possibility of me making a graphical physics program to be included in Sage, the free open source math program. An

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-22 Thread Tom Boothby
I spent a while thinking that I was going to be a mechanical engineer, and took a few of the ME intro courses. Engineering statics and dynamics can be phrased entirely in terms of linear algebra, though the courses I took didn't present them as such. Materials analysis is highly computational

[sage-devel] Re: Graphical Physics Program Suggestions

2009-09-22 Thread Fernando Perez
On Tue, Sep 22, 2009 at 12:41 PM, Jason Grout jason-s...@creativetrax.com wrote: Since we also already have momentum for incorporating mayavi, we should also point out the mayavi tvtk visual module, whose api is modeled after vpython: