Re: How to make Javascript ascii animations (WAS:Re: Yep..this is actually some ascii art not sex junk..)
From Veronica Karlsson <e93...@nospam.sm.luth.se>
· alt.ascii-art.animation
· 22 Jul 1997 00:00 · View full thread
· report
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 < > (ampersand, lowercase l, lowercase t, semicolon) and any > in your > drawing with > (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 < and > 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/ )
Original message 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
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art.animation
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.