Edon Freiner
Lurker
This might be a crazy question. I'm making an app that uses the sunrise and sunset of every day.
I wanted to make the visuals of the app similar to that of the Solar watch face on the Apple Watch.
The back ground would change color based on the position of the sun.
So far I got all the pixels of the png file that is not white. Pretty much the picture.
My next step is to take all of those pixels divide it by the seconds in the day and move it that many pixels 1 second per day.
How would I go about taking the array of pixels and dynamically dividing it?
There are 86,400 seconds in a day, so making that many arrays I would assume be ridiculous. Any other ideas of what to do?
Thank you so much!
Here are some pictures to get you an idea of what I am talking about.
I wanted to make the visuals of the app similar to that of the Solar watch face on the Apple Watch.
The back ground would change color based on the position of the sun.
So far I got all the pixels of the png file that is not white. Pretty much the picture.
My next step is to take all of those pixels divide it by the seconds in the day and move it that many pixels 1 second per day.
How would I go about taking the array of pixels and dynamically dividing it?
There are 86,400 seconds in a day, so making that many arrays I would assume be ridiculous. Any other ideas of what to do?
Thank you so much!
Here are some pictures to get you an idea of what I am talking about.