HoloDraw Program Documentation: stardraw

Documentation | Download | Examples | Frequently Asked Questions (FAQ)

Program Summary

Filename stardraw.pl
Author Marvin Simkin
Program Created 2004-08-05
Last Updated Jan 28 13:06
Purpose convert Digital Universe ".speck" files to draw format
syntax stardraw.pl < stars.speck > stars.draw

Discussion

This is currently a "half-baked" example of how you could write
your own custom program to read a unique data format and output
draw instructions.

As written this reads two specific .speck files but it is not
robust enough to handle all .speck files, partly because I
don't have complete documentation on the file format nor
data files to test against.


Input format examples:
   0.0000     0.0000     0.0000     0.650      0.89130      4.85    -26.72     1       0.00    0      0.000       0 # Sun
 -18.1007   143.5620  -242.6120     0.396     14.19036      1.85      9.10     1     920.90    2      3.540       1 # HIP1 HD224700  
   5.0098     9.8817   -44.2976     1.038      0.31704      5.97      9.27     1     148.86    2     21.900       2 # HIP2 HD224690  
-104.7563   258.1110  -117.8261    -0.005    161.18233     -0.79      6.61     1     986.00    1      2.810       3 # HIP3 HD224699  



Written by Marvin Simkin
Filename stardraw.html
Last updated April 5, 2005
Arizona State University Valid HTML 4.01!
Freedom to Choose ANY Browser