Coriolis effect simulation in Python

Today I wrote a small “demonstration of the Coriolis effect”:http://peter.mapledesign.co.uk/code/Coriolis.py in “Python”:http://www.python.org/, using the “VPython library”:http://www.vpython.org/ to provide the 3D graphics. I was inspired to do this by a “Mathematica”:http://www.wolfram.com/products/mathematica/ generated picture in our notes of the same thing, and it looked an interesting shape to model. Plus, writing the demo would help me to follow the formula given in the lecture notes :-)
On a related note, there’s some other good physics demos written using VPython “available”:http://www.physics.syr.edu/%7Esalgado/software/vpython/ and that site also lists many useful links.

I’m finding VPython very basic and not flexible enough, but at least it saves me using “PyOpenGL”:http://pyopengl.sourceforge.net/

0 comments ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment