View Single Post
Posts: 42 | Thanked: 52 times | Joined on Mar 2010 @ planet earth i guess
#85
hi

analogue clock's hour hand points only to current hour. analogue clock would be more readable if you draw hand according hour's minutes.

add following lines to AnalogClock.py after calculation of h but before drawing of h:

m = self.time.minute
h = h + m / 60.0

remove the m variable assignment later on.

ciao and tx

Last edited by -miniME-; 2010-12-29 at 17:31.
 

The Following 2 Users Say Thank You to -miniME- For This Useful Post: