It is currently Wed Jul 06, 2011 5:51 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 3 posts ] 
Author Message
 Post subject: Fireworks (Day 29)
PostPosted: Mon May 23, 2011 7:43 pm 

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

Today's clock was going to be fireworks, with the time zooming upwards and exploding, but I ran out of time to design the particle animation system. Instead only the hours, minutes and seconds are animated with a primitive key-frame system using the Hershey vector font and anti-aliased line drawing code. There are some screen redraw bugs, too, and lots of messy hand-coded coordinates.

Video: http://www.flickr.com/photos/osr/575365 ... 084215019/
Source: https://bitbucket.org/hudson/watches/src/tip/fireworks


Offline
 Profile  
 
 Post subject: Re: Fireworks (Day 29)
PostPosted: Tue May 24, 2011 3:09 am 

Joined: Sun Feb 27, 2011 11:32 am
Posts: 71
In the middle of the night, I added color to the seconds as they expand. And ran into code size issues, so the version of fill() no longer checks boundary conditions. The Hershey font should be moved into a resource so that it doesn't take up code space.


Offline
 Profile  
 
 Post subject: Re: Fireworks (Day 29)
PostPosted: Tue May 24, 2011 8:38 am 
User avatar

Joined: Fri Mar 04, 2011 8:54 pm
Posts: 82
Once fixed, this is definitely going to be a very visually appealing clock app!



_________________
Image
Get the most out of your watch - http://www.inpulsewatch.com
Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 3 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: