X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd588,20e03fd8a315e7e2 X-Google-Attributes: gidfd588,public X-Google-Thread: f996b,649e777fb7b8c5e6,start X-Google-Attributes: gidf996b,public From: samuell@cis.uab.edu (R L Samuell) Subject: Re: Speed of animation Date: 1997/12/19 Message-ID: <882551309.4563@209.138.24.188>#1/1 X-Deja-AN: 308622850 References: <3497CA7A.D1E@rhythmnet.com.au> Content-Type: text/plain Organization: The Night-Owl's Nest NNTP-Posting-Date: Fri, 19 Dec 1997 12:51:08 EST Newsgroups: alt.ascii-art.animation,alt.ascii-art In article <3497CA7A.D1E@rhythmnet.com.au> on Wed, 17 Dec 1997 23:50:02 +1100, Clinton James wrote: > Hi, > I have made 9 ascii animations... 3 being this year for teh first tiem > in 4 years... > Anyway, 2 of the anims i made were over 800k and when going to dos > through windows on my computers at work and using the type commadn they > run nicely, but if i use them on my computer here they go too bloody > fast. > Anyway, what i was wondering is is if there is a program to slow down > animations so they are viewable? Perhaps, the simplest way to do this is with file compression software. Most systems have software to create compressed files and also to uncompress these files. The approach involves compressing the file to be viewed and then when you want to view the animation, uncompressing the file using the option of displaying the file to standard output which is normally the screen. The process of uncompressing the file takes up time and so naturally slows down the displayed results. > perhaps is there a new type command that offers a speed limit option? If you have Perl on your system, you can pipe into the following one-line self-contained script and slow down the display: perl -e "binmode STDIN; print $X while read STDIN, $X, 1;" This script reads and prints out 1 byte of input at a time. You can adjust the speed some by changing the '1' in the script to '2' or more to speed up so that: type anim.vt | perl -e "binmode STDIN; print $X while read STDIN, $X, 5;" will read and print 5 bytes at a time to the slow the display. > Can somebody please let me know. You can also try my looper script for repeating animations which can be obtained by fingering: looper@twinbrook.cis.uab.edu but it also requires you to have on your system Perl which if you don't, is still available free for most platforms. For more information about Perl, point your browser to: http://www.perl.org/ I hope this helps. Regards, R L Samuell Proprietor of the ASCII Art Bazaar gopher://twinbrook.cis.uab.edu/1asciiarc.70 P.S.: Someone asked for owls? Here is my night-owl and his friends. Sam & Noah the Night-Owl -- /* ___ _ /_\ ___ ___ {*v*} _M_ >>> _.. {0v-} { 0 } {00v} _3_ {0^0} {@.@} {Uv0} / <[`.']> <[`.']> <[.B ]> <[`.']> <[$.$]> <[x,X]> <[===]+ =Y=Y==========Y=Y========YY=======Y=Y=======W=W=======A=A=======Y=|==== == (0v0) Meet: Cyclops, Picasso, Owl-in-a-Box, Top Hat, Punky and Peg-Leg