APS Excellence in Physics Education Award November 2019
Science SPORE Prize November 2011
The Open Source Physics Project is supported by NSF DUE-0442581.
Return to the EJS Modeling forum Login to post to this thread
any example EJSS of color change from Math.floor((Math.random()*255)+1)
i am trying to generate different color and different runs of the EJSS.
any easier method i can explore?
my current method used is not scalable. i have created arrays and make them visible when certain conditions are true. source: https://dl.dropboxusercontent.com/u/44365627/lookangEJSworkspace/export/ejss_src_SHMresonance01.zip
http://weelookang.blogspot.sg/2014/03/ejss-shm-model-with-resonance-showing.html
any examples in EJSS for me to study?
thanks!
Post edited March 27, 2014 at 11:23 PM EST.
Post edited March 27, 2014 at 11:26 PM EST.
Attached File: yjcresonanance_2014-03-24_1340.png
OSP@SG blog OSP@SG Digital Library