Computer Science Canada nifty analog clock |
Author: | zylum [ Sun Feb 22, 2004 12:01 am ] | ||
Post subject: | nifty analog clock | ||
here's a simple procedure that draws an analog clock. you can set the length of each hand and it will automatically adjust. the first parameter is for the hour hand, the second is for the minute hand and the last is for the second hand...
- zylum |
Author: | recneps [ Sun Feb 22, 2004 11:08 am ] |
Post subject: | |
Purdy, but could use some numbers and i think it moves slower than 1 move per second on my comp..? ![]() |
Author: | jonos [ Sun Feb 22, 2004 11:24 am ] |
Post subject: | |
thats really nice, it works perfectly on my computer, even has the right time!!! wasn't expecting that |
Author: | zylum [ Sun Feb 22, 2004 12:28 pm ] |
Post subject: | |
lol, well of course it has the right time, it gets the values from your system clock. ![]() |
Author: | jonos [ Mon Feb 23, 2004 7:37 am ] |
Post subject: | |
what did you use to get the system clock time? i couldn't find it in the reference |
Author: | apomb [ Mon Feb 23, 2004 3:53 pm ] | ||
Post subject: | |||
umm well to get the system clock time by using
and Zylum very nice program |
Author: | jonos [ Mon Feb 23, 2004 4:02 pm ] |
Post subject: | |
thanks, so its just the a time() function. |
Author: | apomb [ Tue Feb 24, 2004 1:24 pm ] |
Post subject: | |
yep... pretty simple eh? i think its in the reference... if you want a complete description. It also only works in the newest version .. so you should get yourself that if you dont already have it |