Phase of the Moon
Average Rating: 8
Yours: -1
File Size: .93MB
Downloads Today: 0 Downloads Total: 9696

Phase of the Moon

Updated Aug 27, 2004 by Will Rose

Comment #1 Sunday, August 29, 2004 2:50 AM
Wow! Great work!

I wonder if it's possible to create this object:

Earth showing the side of earth I want, and showing where the night/day line is? Something like this but with earth, with option of choosing the area I want it to show?
Will Rose
Comment #2 Sunday, August 29, 2004 3:25 AM
Thanks, I'm glad you like it!

Yes, what you suggest is certainly possible. But presumably you want the earth to stay still, and the shadow to move with the current time. If that's right, and the following two things are true:
1. We want realistic, true-to-nature shadowing, AND
2. We have to render the earth from 360 degrees because you might change your mind or someone else might want to use it.

then for several somewhat technical reasons, this becomes a much larger and more complicated project than the moon-phase simulation. If people would like to collaborate on it with me, I would be happy to participate in a discussion on the message board about it.

It's not something I would want to do by myself right now, because my standards for quality and realism would dictate it would be a larger project than I want to bite off.
Comment #3 Sunday, August 29, 2004 1:18 PM
Indeed. I wonder if desktopx supports animation control at all? If so, you could pause the animation at right spot.

If not, it would be nightmare splitting all that frames up and making a state for each of them. I went trough that before with my crystalized desktop.

My crystalized desktop clocks were very hard to do, since I had to create a state for each minute. Desktopx had a limit of about 25 states then, so I had to split it to 3 objects.
Will Rose
Comment #4 Wednesday, September 1, 2004 2:37 PM
re animation control, not that I know of. I'm not worried about splitting frames or making states I have ways around those sorts of things The real issue is rendering the shadow properly. It's the sort of thing people will notice if done wrong, because they can look out their window and see how light or dark it is. For example, one issue is the "fuzziness" of the terminator, which is based on the observers latitude, the size of the sun, the time of year, and the rotational velocity of the earth. Based on those factors, it varies between 36 miles and hundreds of miles. If you show a location in daylight, while it's actually twilight, that will give people a negative impression on the work, and rightfully so.
Comment #5 Thursday, September 2, 2004 5:35 PM
Ahh I see. I didn't know about that. Thanks for explaining that to me very clearly!
Comment #6 Tuesday, September 21, 2004 4:54 AM
in my pc the phase of the moon are not correctly show..... the phase of the moon are inverts...
Will Rose
Comment #7 Saturday, October 2, 2004 6:14 PM
I see someone selected this as the "Featured Skin" today... Thanks!
Comment #8 Friday, November 19, 2004 8:04 AM
You might want to edit
Function MoonAge(mDate)
like this:
mMonth = Month(mDate)
mDay = Day(mDate)
mYear = Year(mDate)

It's simpler and works also for non-english locales.

Comment #9 Wednesday, November 24, 2004 6:26 AM
Hi, very great !
But how can i edit and save the script ?
Comment #10 Saturday, March 4, 2006 12:40 PM
Can this be transdormed into a docklet for ObjectDock?

Chris TH
Comment #11 Monday, March 6, 2006 7:01 AM
Can this be transformed into a docklet for ObjectDock?

FWIW, I have done this following your posting in the Wincustomize forums.

For Mr Rose's info, from his DXObject I have used the moon images and a slightly modified version of his VBScript, so essentially it's 95% his work.

If Will Rose wishes to give his permission for me to upload it I can do that.
Will Rose
Comment #12 Thursday, March 16, 2006 2:34 PM
Chris TH,

I'm glad someone has made something else useful out of my Moonphase object... You have my permission to upload it to the docklet library so that others may benefit; please just give me appropriate attribution.

I'm not interested in doing docklets myself, but I have an animated moonphase indicator that might interest you as another project. You can get my email address from Koasati so we can discuss.

Chris TH
Comment #13 Thursday, March 16, 2006 6:44 PM
This is good news, thanks!

It is a very well-crafted object if I may say. There was very little work for me to convert it, so my concience would never permit me to take very much credit. Attributions to you will be prominent!

Thanks again.
Comment #14 Friday, June 26, 2009 3:17 PM
Can this be put into windows icons so you can choose the size too???

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading files.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!
Downloads remaining: 5
User Level: Visitor

Featured DesktopX Objects

Popular DesktopX Objects

Top DesktopX Objects Skinners

Yesterday  |   Last 30 Days  |   All Time
1. _Martin_ 413
2. Frogboy 235
3. mormegil 191
4. DaWebMassa 190
5. deggy 177
6. ChaosMachine 172
7. BoXXi 164
8. JamesT 164
9. pjpowell 163
10. c242 145
11. Carlitus 133
12. SS GOKU 130
13. ragxuns 113
14. XX 110
15. theAVMAN 108