Method to translate returns from Date(); to degrees to revolve a jpg/gif
Joined: Mar 27, 2008
Dear Programmers, I wanted to post a new thread as the earlier I get started with it the sooner I can make progress on it.
I want to create a program which would use a circular image- say a jpg, or gif that would revolve. I could get the rate of degrees that the jpg/gif would revolve from the return of one of the Date(); methods.
The shifting image itself wouldn't have to be operant, ie contain any operating buttons or scrollbars etc, but the gui into which it is projected upon, being faithful to its name (user interface), might return the current time, date etc.
My aim is to create an two dimensional orrery that'd give an accurate representation of the layout of the planets at the given time of day it is logged onto, hence there would be a different rate of revolution for each superimposed circular images of planet represented thereon.
Perhaps it sounds complicated - but it is quite a simple concept, provided I could get a means to get the image/s to revolve at specified amount/s of degrees.
Are there any methods out there that could effect this?
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus