Analog Clock

i want to make a analog clock in asp.net with images

Page 1 of 1

3 Replies - 3734 Views - Last Post: 22 January 2010 - 05:48 AM Rate Topic: -----

#1 hasan_lad  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 20-January 10

Analog Clock

Posted 20 January 2010 - 10:07 PM

i want to make a analog clock in asp.net with images
Is This A Good Question/Topic? 0
  • +

Replies To: Analog Clock

#2 Jayman  Icon User is offline

  • Student of Life
  • member icon

Reputation: 415
  • View blog
  • Posts: 9,532
  • Joined: 26-December 05

Re: Analog Clock

Posted 21 January 2010 - 08:33 AM

That is great. I look forward to seeing what you come up with.

Let us know if you get stuck and I'm sure we can provide you with some guidance.
Was This Post Helpful? 0
  • +
  • -

#3 ThatThatGuy  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 33
  • Joined: 15-January 10

Re: Analog Clock

Posted 22 January 2010 - 05:40 AM

then you will have to load up an image for every second.....

1 min =60sec 60 images

1 hr=3600 sec 3600 images

1 day =24 hr = 86400 sec 86400 images

go ahead
Was This Post Helpful? 0
  • +
  • -

#4 baavgai  Icon User is online

  • Dreaming Coder
  • member icon

Reputation: 4887
  • View blog
  • Posts: 11,282
  • Joined: 16-October 07

Re: Analog Clock

Posted 22 January 2010 - 05:48 AM

View PostThatThatGuy, on 22 Jan, 2010 - 06:40 AM, said:

then you will have to load up an image for every second.....

1 min =60sec 60 images

1 hr=3600 sec 3600 images

1 day =24 hr = 86400 sec 86400 images

go ahead


Kidding, right? The clock face doesn't change, just the hands do.

Assuming I wanted reasonably accurate movement on my minute and hour hands, it would be 1+ 60+60+60 = 181 images. I'd probably reuse the hour and minute by making the page scale it, so 121 images.

In reality, you'd use the ASP.NET framework to render the images you needed at a give rotation and them merge them. So 4 images total, hour, minute, second and clock face.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1