[Etoys] [FUN]Etoy random number

Karl Ramberg karlramberg at gmail.com
Wed May 21 14:06:53 EDT 2008


Bert Freudenberg wrote:
> On 21.05.2008, at 16:57, Karl Ramberg wrote:
>
>   
>> I read this page about random numbers yesterday and thought it would  
>> be fun to do something similar in etoy.
>> http://www.boallen.com/random-numbers.html
>>
>> It turns out the random number generator have some issues and make  
>> big regions of same predictions, so don't base your next encryption  
>> software on etoys ;-)
>>     
>
> Hehe. You are not observing what you think you are. Your script is  
> missing one critical tile to do what you intended it to do. And even  
> then, it does not quite what you want.
>
> To truly fix this, resize your ellipse to 1x1 pixels and use "stamp",  
> not the pen.
Ok here is a fixed version of the script and the results are much 
better. So it seems you can implement encryption software in etoys ;-)

Karl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newRandomScript.jpeg
Type: image/jpeg
Size: 51585 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/etoys/attachments/20080521/7b1f4adf/attachment-0002.jpeg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random.jpeg
Type: image/jpeg
Size: 31609 bytes
Desc: not available
Url : http://lists.laptop.org/pipermail/etoys/attachments/20080521/7b1f4adf/attachment-0003.jpeg 


More information about the Etoys mailing list