How to make Javascript ascii animations (WAS:Re: Yep..this is actually some ascii art not sex junk..)

Message thread · created 1997-07-22 · last edited 2026-11-22 · Item Language: English
Topics: ASCII art
Source: asciiart.eu

‘How to make Javascript ascii animations’ (July 1997): Colin Douthwaite teases that animations may not be worth the effort; llizard answers. They compare two ways of learning, uudecode and a word processor or a URL and ‘save as text’. Veronica Karlsson: save the page as text and you see all the code. How the scene learned.

Quoted in the article:

  • c6-llizard-wasting-time: llizard, 1997-07-22 (post)
  • c6-colin-worth: llizard, 1997-07-22 (post)
  • c6-llizard-complicated: llizard, 1997-07-22 (post)
  • c6-llizard-saveastext: Veronica Karlsson, 1997-07-22 (post)

alt.ascii-art.animation · 2 posts · 1997-07-22

llizard <cq5...@freent.toronto.on.ca> ·
↳ a post not in this thread · asciiart.eu · c6-llizard-wasting-time · c6-colin-worth · c6-llizard-complicated · ↑ tree
In article <5qv9eq$71u$2...@mnementh.southern.co.nz>, cfb...@southern.co.nz
(Colin Douthwaite) wrote:
> 
> Veronica Karlsson (e93...@nospam.sm.luth.se) wrote:
> >Andreas Freise wrote:
> >>
> >> Veronica Karlsson wrote:
> >> > Hmmm... maybe I should add something I wrote yesterday to somebody in
> >> > response to a question:
> >> [snip]
> >> > (I hope this explanation made sense)
> >>
> >> This sounds like it is very complicated, even for a
> >> programmer like me. :)
> >
> >I agree, but can you make it simpler and still get all the details?
> >(please do)  :)
[snip]
> >Ok, here's a simpler (but incomplete) one: Copy an animation from
> >somewhere, analyze it and make a new one in the same way... :)
> 
> That in fact seems to be the best way to learn to do ascii animations.
> 
> Here is GOLF.VT (zipped and uuencoded) which is a very simple
> animation which can be analysed and studied to see how and why it
> works.
> 
> Save the following to a file GOLF.UUE and then use a UUdecode
> program to produce the zipped animation file GOLF.ZIP:
> 
>   C> uudecode GOLF.UUE  ( which produces file GOLF.ZIP )
> 
[snip]
> To study and analyse the animation: load it into a wordprocessor
> or text file editor and study how it works in detail.

Talk about complicated!

It's easier to go to a URL that has the animation,

http://www.ludd.luth.se/users/vk/llpages/anim/macarena.html

has a nice short one to look at.

Go to "file" and "save as" macarena.htm  Then view the macarena.htm as
macarena.txt and examine away.

> BTW are animations worth all the effort needed to make them ?  *8-)


                ___  _     _     !/\
\      /| |  /\  |  ( ) | ( ) ---%^^^,
 \    / |-| /--\ |   (  |  (    / \/ >
  \/\/  | |/    \|   .  .  .        >
                                   >,^
                                  /|
ejm97                             | \

Not worth the effort? You mean I've been wasting my time on something
useless?


NOTE: If you hit the reply button, add an "e" to the "freent";
its absense is to stop the torment of automatic mailers.
--
       ___            ha      Here I am wasting my time
     _/   |     ,^%--- ha              again
    |_____|   __ > \ha    
      ---  == -- >                  llizard aka ejm
    [_____]    __>,^          cq5...@freenet.toronto.on.ca
ejm97|   |    //| |   http://www.geocities.com/SoHo/Studios/9334/

Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd588,5bde4ceb7258bd07
X-Google-Attributes: gidfd588,public
From: llizard <cq5...@freent.toronto.on.ca>
Subject: Re: How to make Javascript ascii animations (WAS:Re: Yep..this is actually some ascii art not sex junk..)
Date: 1997/07/22
Message-ID: <33D...@freent.toronto.on.ca>#1/1
X-Deja-AN: 259175242
References: <199...@ladder01.news.aol.com> <33C...@freent.toronto.on.ca> <33D...@nospam.sm.luth.se> <33D...@stud.uni-hannover.de> <33D...@nospam.sm.luth.se> <5qv9eq$71u$2...@mnementh.southern.co.nz>
Organization: via Internetdirect, Canada; zone 5 (or is it 6A?)
Newsgroups: alt.ascii-art.animation
Veronica Karlsson <e93...@nospam.sm.luth.se> ·
↳ llizard ~ · asciiart.eu · c6-llizard-saveastext · ↑ tree
llizard wrote:
[ 8< ]

> Okay how about this for really complicated?!
> 

Nice! :)

> If you want to examine any animations you see on the web, save them as
> text documents and you will see all the coding. That's what I have done.
> However, here is the template you can copy and paste into a text
> document (notepad on a PC; I don't know the equivalent name for Mac):
> 
> .................Copy between dotted lines..........................
> <HTML>
> <HEAD>
>     <TITLE>your title here</TITLE>
> </HEAD>
> <script language="JavaScript">
> 
>     var max=0;
>     function tlist(){ max=tlist.arguments.length;
>         for(i=0;i<max;i++) this[i]=tlist.arguments[i];
>     }
> 
>     tl = new tlist(
> 
> "                                          ,^ \n"+
> "                    -----%^^^^^^^^^^^^^^^^   \n"+
> "                     ha /     \"   \"        \n"+
> "                       /                       ",
> 
> "                                          ,^ \n"+
> "                 ha -----%^^^^^^^^^^^^^^^^   \n"+
> "                        /     \"   \"        \n"+
> "                       /                       "
> 
>     );
>     var x=0;
>     function tick() {
>         document.f.t.value=tl[x];
>         x++; if(x==max) x=0;
>         //if(confirm('continue?'))
>             setTimeout("tick()",70);
>     }
>     //-->
> 
> </script>
> 
> <BODY onload="tick()">
> <FORM NAME=f><TEXTAREA NAME=t ROWS=4 COLS=60></TEXTAREA></FORM>
> 
> </BODY>
> 
> </HTML>
> ............................end copy..........................

Maybe you should have one more frame in the animation, so that the comma
after all frames except the last one becomes more obvious?

[ 8< ]
> It's also a good idea to replace any < in your drawing with with &lt;
> (ampersand, lowercase l, lowercase t, semicolon) and any > in your
> drawing with &gt; (ampersand, lowercase g, lowercase t, semicolon)
> Sometimes the program gets confused if it sees these symbols < >

Is this really true for the animations? Don't those show up as &lt; and
&gt; in the animations? Are you sure you are not confusing the
animations with html?

[ 8< ]
> I hope these instructions were detailed enough and/or not too detailed
> and that you can now go nuts making your own animations. Have fun and be
> forewarned; it's really time consuming.

How nice of you to warn us :D

> 
> Also, java script animations can only be viewed with Netscape 3.0 that
> has java enabled and I gather that unless one has Netscape Navigator,
> animations over 750 lines long won't work.

Very important! (did I miss that one in my description?)

-- 
:)
Veronica Karlsson
( e93...@sm.luth.se  http://www.ludd.luth.se/~vk/ )

Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd588,5bde4ceb7258bd07,start
X-Google-Attributes: gidfd588,public
From: Veronica Karlsson <e93...@nospam.sm.luth.se>
Subject: Re: How to make Javascript ascii animations (WAS:Re: Yep..this is actually some ascii art not sex junk..)
Date: 1997/07/22
Message-ID: <33D...@nospam.sm.luth.se>#1/1
X-Deja-AN: 258136970
References: <199...@ladder01.news.aol.com> <33C...@freent.toronto.on.ca> <33D...@nospam.sm.luth.se> <33D...@stud.uni-hannover.de> <33D...@nospam.sm.luth.se> <33D...@freent.toronto.on.ca>
Organization: Junk e-mail gladly reported (I have got credit for chucking several spammers out of their accounts)
Newsgroups: alt.ascii-art.animation

Source: asciiart.eu

The messages, and the works they contain, belong to their authors and are published here as an archive. If you are one of them and want a correction or a removal, write to me.

Available documentssizedownload
t3eb6513653.json (json)mail-usenet-thread 0.6archived copy, not distributed29K–

Browse the Archive →