On Fri, 6 Apr 2001, heafnerj wrote:
> I want to write a VPython prog that demonstrates flux. I envsion being
> able to display a vector field with a fixed orientation in space and
> simultaneously orient a plane so as to vary the flux of the field through
> the plane. Manipulating the plane is very simple, but what about doing
> that WHILE keeping the field vectors fixed? Is this possible?
>
Well, it's amazing what 30 minutes can do, because that's how long it took
me to figure out how to do this. The trick is to use a rotating frame. Now
if I can get the plane to rotate interactively with the mouse.
Joe
--
My Book <http://www.willbell.com/new/fundephcomp.htm>
My Home Page <http://users.vnet.net/heafnerj/>
CVAC Home Page <http://users.vnet.net/heafnerj/cvac.html>
PLEASE -- no Microsoft attachments! I will not read them!
|