Die epileptics, die!
Die epileptics, die!
donderdag, 09 juli 2009 15:58
Werk
Testing random functions at random with random variables. the result is... well, random. If you stare at it for more then five minutes you will see a 3D-image appearing in the middle. I swear. look at all the random randomness in the code-snippet. Even the comments have random explainations, handy.
if (Math.random() < 0.9){
iFace32._alpha = (Math.random() * 50) ;
}
iFace1._width = 224 ;
iFace1._height = 256 ;
if (iFace2._alpha <= 40){ //Math.random() < 0.2){
iFace1._width = Math.random() * 500 ;
iFace1._height = Math.random() * 500 ;
}