Monday, September 29, 2014

EJSS Projectile customized after brownbag

EJSS Projectile customized after brownbag


http://weelookang.blogspot.sg/2014/09/ejss-projectile-customized-after.html
https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejss_model_projectile/projectile_Simulation.xhtml
source: https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejss_src_projectile.zip
authors: lookang
author of EJS 5: Paco.



http://weelookang.blogspot.sg/2014/09/ejss-projectile-customized-after.html
https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejss_model_projectile/projectile_Simulation.xhtml
source: https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejss_src_projectile.zip
authors: lookang
author of EJS 5: Paco.

made changes

  1. added TE
  2. added legend for the color
  3. added ref. PE = 0 line GREEN  (discussion with ravi, MTT)
  4. noted the decrease in KE after each collision with the floor ( discussion with boon leong)
  5. made ref PE = 0 to coincide with C.G. of the ball
  6. made ball drawing 35x35 pixel smaller to reflect the floor at y= yground +sizey/2
  7. made _pause() if ball y lower than the floor