Python Forum
Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Module Advice
#1
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
Reply
#2
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
Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020