Trig Help : Analogue Clock hands

Blitz3D Forums/Blitz3D Beginners Area/Trig Help : Analogue Clock hands

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi!

Being crap at trig, I am havin real difficulty plotting the position/direction for analogue clock hands.

Something similar to this:

Timer=Millisecs()

While Not KeyDown(1)

Oval 50,50,100,100,0
Line 100,100,XXX,YYY

If Millisecs()-Timer>1000
   Seconds=Seconds+1
   If Seconds>59 Then Seconds=0
   Timer=Millisecs()
End If

Flip
Wend




I need the functions/formulae for XXX and YYY to convert Seconds into coordinates.