It is currently Wed Jul 06, 2011 7:17 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: Lunar phase (Day 30)
PostPosted: Mon May 30, 2011 7:04 pm 

Joined: Sun Feb 27, 2011 11:32 am
Posts: 71

The final watch in my 30-days of watches: a lunar phase with sunrise/sunset on a 24-hour analog dial. I'm a bit late in posting this one due to work constraints and some technical issues. There are some new techniques demonstrated in the code: 8-bit grayscale images for the phases are packed into an RGB image so that the resource packer can handle it, the sunrise/sunset times for the local timezone are packed into a fake PNG so that they will appear as a resource in the inpulse_resources.bin file, and the draw_line_bg() function will replace a previously drawn line with pixels from the background image instead of just redoing them in black.

Later in the week I hope to make an omnibus post with some lessons learned and hopefully refactor a bunch of the code into libraries that will be useful to other programmers on the inPulse platform. It has been a very fun, challenging month!

Video: http://www.flickr.com/photos/osr/577935 ... 084215019/ (showing demo mode of moon phase changing since tonight's new moon doesn't make for good video)
Source: http://bitbucket.org/hudson/watches/src/tip/lunar/


Offline
 Profile  
 
 Post subject: Re: Lunar phase (Day 30)
PostPosted: Thu Jun 02, 2011 6:11 pm 
User avatar

Joined: Fri Mar 04, 2011 8:54 pm
Posts: 82
Very nice watch app Hudson and congrats on creating this many watch apps in such a short amount of time. I looked like a near impossible challenge but you dit it - congrats! Can't wait to see what else you're going to develop :)



_________________
Image
Get the most out of your watch - http://www.inpulsewatch.com
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: