Revision: 20333 http://sourceforge.net/p/jmol/code/20333 Author: hansonr Date: 2015-02-25 19:57:02 +0000 (Wed, 25 Feb 2015) Log Message: ----------- Jmol.___JmolVersion="14.3.12_2015.02.25c"
new feature: random(low,high,seed) -- provides a new seed for the random() function -- seed may be any 48-bit integer. -- x = random(0.0,1.0,121231223) -- low and high are simply placeholders -- does return the first number from this seed -- note that Java and JavaScript will have DIFFERENT seedings -- utilizes https://github.com/davidbau/seedrandom/blob/released/seedrandom.js (appended to java.util.Random.js) Modified Paths: -------------- trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-02-25 18:38:17 UTC (rev 20332) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-02-25 19:57:02 UTC (rev 20333) @@ -14,7 +14,7 @@ TODO: remove HTML5 dependency on synchronous file loading (check SCRIPT command for problems) -Jmol.___JmolVersion="14.3.12_2015.02.25b" +Jmol.___JmolVersion="14.3.12_2015.02.25c" new feature: random(low,high,seed) -- provides a new seed for the random() function @@ -22,6 +22,9 @@ -- x = random(0.0,1.0,121231223) -- low and high are simply placeholders -- does return the first number from this seed + -- note that Java and JavaScript will have DIFFERENT seedings + -- utilizes https://github.com/davidbau/seedrandom/blob/released/seedrandom.js + (appended to java.util.Random.js) JmolVersion="14.3.12_2015.02.25" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits