Comments on: Ok then! https://www.lafferty.ca/2004/04/14/ok-then/ Rich Lafferty's OLD blog Wed, 14 Apr 2004 23:50:39 +0000 hourly 1 https://wordpress.org/?v=5.9.2 By: Rich https://www.lafferty.ca/2004/04/14/ok-then/comment-page-1/#comment-1094 Wed, 14 Apr 2004 23:50:39 +0000 #comment-1094 Sigmonster ate it.

]]>
By: dagbrown https://www.lafferty.ca/2004/04/14/ok-then/comment-page-1/#comment-1093 Wed, 14 Apr 2004 20:34:41 +0000 #comment-1093 Well, the way I originally had it was $[RANDOM%90], so it’s mendel who broke it. Boo hiss, mendel.

]]>
By: node https://www.lafferty.ca/2004/04/14/ok-then/comment-page-1/#comment-1092 Wed, 14 Apr 2004 15:35:06 +0000 #comment-1092 Though it should probably be

perl -e '$x=int(rand(5))+2;$y=int(rand(5))+2;print "P3\n$x $y\n255\n";
print int(rand(128))," " for(1..$x*$y*3);print "\n";'|
pnmrotate `expr \( $[RANDOM] % 180 \) - 90` |xv -root -max -quit +noresetroot -smooth -

because $[RANDOM] is often larger than 90. Also, pnmrotate can take values from -90 to 90.

]]>
By: tiredofsleep https://www.lafferty.ca/2004/04/14/ok-then/comment-page-1/#comment-1091 Wed, 14 Apr 2004 10:17:36 +0000 #comment-1091 Haha I like the Hamtaro one.

]]>