Page 1 of 1

Date Converter

Posted: 20.04.2004, 19:49
by don
A script that allows you to enter either a Calendar or Julian date/time, and then displays the converted date/time for you. This replaces the GetJulianDate script I posted yesterday.

Get the file here: http://www.donandcarla.com/Celestia/celx_scripting/DateConverter_v1-0.celx.txt

Enjoy!

Re: Date Converter

Posted: 20.04.2004, 22:35
by Harry
don wrote:A script that allows you to enter either a Calendar or Julian date/time, and then displays the converted date/time for you. This replaces the GetJulianDate script I posted yesterday.


Woohoo, Don, seems you really got into celx-scripting! Keep up the good work.

This is really nice - using Celestia to convert dates seems more "natural" than using an external converter :)

Harald

Posted: 20.04.2004, 22:42
by don
Thanks Harald. Just havin' some fun! :D

Got any good ideas for more utilities or functions?

Posted: 20.04.2004, 23:19
by Harry
don wrote:Thanks Harald. Just havin' some fun! :D

Got any good ideas for more utilities or functions?

Not really. Had some "fun" two days ago with writing a script to display azimuth (and eventually altitude/elevation) of your current view relative to the ground below you of the selected planet (typically earth). It's not ready yet (I am not even sure if the result is correct ;), for some part because I used it to test a method to display it's text in the normal celestia HUD (above the speed display) instead of the big white overlay.

Harald

Posted: 21.04.2004, 00:07
by don
Harry wrote:Had some "fun" two days ago with writing a script to display azimuth (and eventually altitude/elevation) of your current view ...

That sounds like a fun project.

Since you're still working on it, here are a couple of ideas to consider...

Now That Celx has data entry, how about allowing the user to enter the coordinates and then having Celestia center on them?

What about switching between azimuth / elevation and RA / Dec (Right Ascention and Declination) values?

Posted: 21.04.2004, 09:18
by Harry
don wrote:Now That Celx has data entry, how about allowing the user to enter the coordinates and then having Celestia center on them?
Good idea, thanks!
What about switching between azimuth / elevation and RA / Dec (Right Ascention and Declination) values?

Thought about this too, and it should be a simple addition (perhaps simply display both).

Harald