Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 26 Jul 1997.
Re: How to make animation????

Re: How to make animation????

In article <33D...@freent.toronto.on.ca>, llizard
<cq5...@freent.toronto.on.ca> wrote:
> 
> In article <33D...@bayou.com>, mtm...@bayou.com wrote:
> >
> > I was wondering how do you make animaton???
> > and If so could you tell me how please
> 
> Okay how about this for really complicated?!
> 
> 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
[snip]

Oops I made a mistake on the template. The following template #2 makes
any others I have done before null and void.

Template #2:

Here is a 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"+
"                    -----%^^^^^^^^^^^^^^^^   \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..........................

Erase the above llizards and insert your frames there. All frames must
have the same number of lines. (If your drawing extends to 6 lines tall,
all of the drawings must be 6 lines tall.) I left three frames from my
laughing llizard to show you what it looks like. Each line must begin
with a  " (quotation mark). Each line except the last line of all frames
must end with  \n"+ (backslash, lowercase n, quotationmark, plus sign).
The last line of each frame except the last frame must end with a
", (quotation mark, comma). The last line of the last frame must end
with a " (quotation mark) N.B. THERE IS NO COMMA AT THE END OF THE
LAST FRAME.

Another important thing, any  \ (backslash) in your drawing must be
preceded by another \ (backslash) or you will have weird jumps in your
animation. The same goes for any " (quotation mark) in the drawing.
Precede it with a \ (backslash).

The number after the words

setTimeout("tick()",70);

will adjust the speed. Change it to see what happens.

The numbers in this part

ROWS=4 COLS=60>

will adjust the size of the frame when you are viewing the animation.
The ROWS is the number of lines in each frame and the COLS is the width
of the frame.

Save your animation as an .htm and view it in Netscape. You label the
animation "youranimationtitle.htm"

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. 

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. 


NOTE: If you hit the reply button, add an "e" to the "freent";
its absense is to stop the torment of automatic mailers.
--
    ___
  _/   |      ,^%---   See? It's easy when you know how....
 |_____|   __ >  \
   ---  == -- >                  llizard aka ejm
 [_____]    __>,^          cq5...@freenet.toronto.on.ca
  |   |    //| |   http://www.geocities.com/SoHo/Studios/9334/

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,9542b7a7ef51e45
X-Google-Attributes: gidf996b,public
From: llizard <cq5...@freent.toronto.on.ca>
Subject: Re: How to make animation????
Date: 1997/07/26
Message-ID: <33D...@freent.toronto.on.ca>#1/1
X-Deja-AN: 259586182
References: <33D...@bayou.com> <33D...@freent.toronto.on.ca>
Organization: via Internetdirect, Canada; zone 5 (or is it 6A?)
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1997 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