Sunday, August 27, 2017

Creating a 3D Plot of Data


  One may ask how the 3D plot of the Moon's position was created. First one needs to convert distance, RA and DEC data into x, y & z coordinates. Then one needs to select a point for the focus of attention, f, and the relative observer position and the positions of eyes.


The direction vectors associated with spherical coordinates were used to determine a frame of reference for each eye. To keep track of everything it helps to run a check on the intersection of the lines of sight of each eye, f '.


After translating the original x, y, z positions one gets the following 3D image.


The left eye is the cyan curve and the right eye is red.

No comments: