PDA

View Full Version : Carl Friedrich goes to Monte Carlo



RobbeK
25-11-2013, 23:40
Hi all,

Controled by TB - calculated in Lisp and drawn with TBGL ..

Setting up a Gauss curve (the Carl F) by throwing dices (Monte Carlo).
To speed things up , the dices have 20 surfaces - 3200000 throws (i think, used my fingers for counting).

There are some slight problems for the script :

Rawtext convert things as array -> Array , but NewLisp is case sensitive.
string = " something " , not sure how it handles inside quotes , sometimes needed in Lisp.

Anyway just as with O2 expand$ can be used to change dynamically things inside the string while TB is running !

best Rob