Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art.animation, 24 Aug 2000.
Re: Please wait... [was: Perl - Blinking Text]

Re: Please wait... [was: Perl - Blinking Text]

In article <slr...@thislove.dyndns.org>, Gwyn Judd wrote:
>I was shocked! How could Ilmari Karonen <ilt...@sci.invalid>
>say such a terrible thing:
>>
>>  perl -e '$|=1; print "\rPlease wait", grep tr/01/ ./ => unpack "b*"
>>	   => pack "v" => $i while ++$i and sleep 1'
>>
>>  perl -e '$|=1; print "\rPlease wait", grep tr/01/ ./ => unpack "b*"
>>	   => pack "v" => $i^$i/2 while ++$i and sleep 1'
>
>rand $i makes a nice effect too :)

A bit too, well, random for my taste.  $i^$i/4 looks somewhat less
repetitive than the above two, yet sufficiently ordered that one could
probably stare at it quite some time trying to figure out the pattern.

Another somewhat simpler looking animation I came up with is:

  perl -e '$i=$|=1; print "\rPlease wait", grep tr/01/ ./ =>
           unpack "b*" => pack "V" => $i^=$i<<1 while sleep 1'

-- 
Ilmari Karonen - http://www.sci.fi/~iltzu/
"True, but the user receiving the e-mailed password might think
 'Strange, I don't remember choosing "&\xe7?\x9b\x3f\t\xef\xb7"
 as my password, and how do I type it?'"  -- Keith C. Ivey

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd588,7ad72948312cb279
X-Google-Attributes: gidfd588,public
X-Google-Thread: fa0ae,85d37e30d034d7ec
X-Google-Attributes: gidfa0ae,public
From: Ilmari Karonen <ilt...@sci.invalid>
Subject: Re: Please wait... [was: Perl - Blinking Text]
Date: 2000/08/24
Message-ID: <967...@itz.pp.sci.fi>#1/1
X-Deja-AN: 662101853
References: <200...@ng-ch1.aol.com> <spi...@corp.supernews.com> <967...@itz.pp.sci.fi> <slr...@thislove.dyndns.org>
X-Complaints-To: new...@saunalahti.fi
X-Trace: tron.sci.fi 967149856 15866 195.74.0.20 (24 Aug 2000 20:44:16 GMT)
Organization: (dis)Order of the Holy Spoon (or whatever)
User-Agent: postit.pl 0.05
Reply-To: Ilmari Karonen <use...@itz.pp.sci.fi>
NNTP-Posting-Date: 24 Aug 2000 20:44:16 GMT
Newsgroups: comp.lang.perl.misc,alt.ascii-art.animation
About this message. This message was posted publicly to the newsgroup alt.ascii-art.animation in 2000 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post