new version
http://iwant2study.org/ospsg/index.php/425-clockgeogebrawee
enjoy!


i used the codes to make this version even better now

if ((vmtest-vm)<-30){ //positive direction example 1 - 59
   detect=1;
// t = Math.floor(t/3600)*3600+3600+ vmtest*60;
// detect=0; // make it do once only
 }
else if ((vmtest-vm)>30){ //negative direction example 59 - 1
   detect=-1;
// t = Math.floor(t/3600)*3600-3600+ vmtest*60;
// detect=0; // make it do once only
 }
 else {
   detect=0;
 
   }
   
 t = Math.floor(t/3600)*3600+ detect*3600+ vmtest*60; // assign value of t based on vmtest