Author Topic: Ejs Open Source Real Clock Model Java Applet  (Read 9706 times)

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Ejs Open Source Real Clock Model Java Applet
« on: August 19, 2011, 11:10:50 pm »
Ejs Open Source Real Clock Model Java Applet by Fu-Kwun Hwang remixed by lookang
reference:
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=990.0

Full screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
  • Please feel free to post your ideas about how to use the simulation for better teaching and learning.
  • Post questions to be asked to help students to think, to explore.
  • Upload worksheets as attached files to share with more users.
Let's work together. We can help more users understand physics conceptually and enjoy the fun of learning physics!
« Last Edit: September 01, 2011, 12:23:09 am by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Ejs Open Source Real Clock Model Java Applet
« Reply #1 on: August 19, 2011, 11:11:50 pm »
changes

a bit of color scheme change
font change to ARIAL to bigger display
made text "TIME" drag-gable like in Geogebra
added second slider and field input
added play pause step reset buttons
made second hand drag-gable but some bugs,
01 sept 2011
fix the bug on the hour slider and separate hours12  1200AM to 1159AM to 1200 PM to 1159PM by having defined codes to handle the occurrences
fix the bug on the hour slider and separate hours24, 0000 to 2359
« Last Edit: September 01, 2011, 12:29:45 am by lookang »

lookang

  • Moderator
  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Ejs Open Source Real Clock Model Java Applet
« Reply #2 on: January 26, 2017, 12:06:53 pm »
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
« Last Edit: January 26, 2017, 01:04:50 pm by lookang »