Python Forum

Full Version: Module Advice
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I am looking for some advice on modules suitable for modelling spherical projectiles in a 3D space. Coding the physics is not the issue, however using modules to display the output is very new to me.

So far VPython (v7.4.4) seems to be perfect, however, I cannot get it working with my prefered editor Spyder (v3.2.8). I input a very basic two liner upon installing VPython as a quick test...

from vpython import *
sphere()
...And nothing happens.

I am probably missing something massively fundamental when it comes to integrating VPython and Spyder, but hey, I'm here to learn! Any advice on this would be great!

Thanks,

Martin
Here's a complete example of modeling the motion of a baseball in flight (including code, and why used) that may help: http://www.phyast.pitt.edu/~akl2/Phys017...seball.pdf