Module Advice - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Module Advice (/thread-10484.html) |
Module Advice - mwatson87 - May-23-2018 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 RE: Module Advice - Larz60+ - May-23-2018 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/Phys0174/files/Baseball.pdf |