poultrygeist at the warhol
entertainment :: a night with lloyd kaufman
to kick off the pittsburgh zombie film festival, lloyd kaufman and the troma crew, made the venture down to the iron city to premiere their new film poultrygeist at the andy warhol museum. my buddy smitty and his girlfriend amanda decided that they would accompany nina and i. we didn't want to miss the show...
Read: poultrygeist at the warhol »
another as3 range seeded randomizer
code :: random number in flash
just another take on a classic piece of code. the pseudo-random number generator. this one is almost the same, just a slightly diffrent algorithm.
private function randomizer(low:Number, high:Number):Number { var num:Number = high-low; return (Math.random()*num)+low; }
then use it...
var x:Number = randomizer(5, 50);
i <3 randomization
the lorenz attractor
lab :: with papervision3D
we were discussing recursive algorithms and chaos theory at work yesterday. when one of the chemistry professors brought up the lorenz attractor. he was trying to draw one on the white board for about 10 minutes until i decided it would be easier to draw in flash, lol!
after a quick conversation w/ andy zupko about the new Line3D object, and my new CanvasView3D component for papervision, i made a sweet lorenz attractor!
the algorithm is super simple:
x1 = x0 + h * a * (y0 - x0); y1 = y0 + h * (x0 * (b - z0) - y0); z1 = z0 + h * (x0 * y0 - c * z0);
Read: the lorenz attractor »
pirate themed wedding
random :: on halloween
this year's halloween was a bit different. our friends opie and jessie had a pirate themed wedding! so deciding was to be this time around was pretty obvious. they had the ceremony and the reception at the same hall in pittsburgh, but since we were late as usual, we missed the first part. but they didn't seem to mind, since the actual wedding part took about 10 minutes! LOL!
the reception was crazy! all the guests were dressed as pirates...
Read: pirate themed wedding »
asp.net random number generator
code :: the central randomizer
here is my asp.net randomizer class based on the c R250/512 shift-register sequence random number generator, by kirkpatrick and stoll and published (j. computational physics, vol 40, pp. 517-526) with an added a pseudo-random class redefinition and buffer overflow protection.
example usage:
randomizer x = new randomizer(); int num = x.random();
Read: asp.net random number generator »
actionscript3 randomizer
code :: one line function
here a nice little one liner. this function returns a random number between a user supplied range.
function randomizer (low:Number, high:Number):Number { return Math.floor(low + (Math.random() * (high-low))); }
example useage, will return a number between 5 - 50.
var x:Number = randomizer(5, 50);
NHL draft 2007
random :: i touched the stanley cup
on thursday will calls me up and says...
the nhl draft is this weekend in columbus ohio.
weird willy
you and nina are coming with me, i already have tickets.
...and it was on.
the new area for the blue jackets was really nice! i cant wait until pittsburgh has a new arena. so after our 2 hour drive we arrived in columbus. amazingly i was able to park in the arena lot, right by the entrance...