slowmotion button?

Νήμα μηνυμάτων · created 2000-02-15 · last edited 2026-11-22 · Γλώσσα τεκμηρίου: Αγγλικά
Θέματα: ASCII art
Πηγή: asciiart.eu
Ομάδα συζήτησης: alt.ascii-art.animation

February 2000: llizard gets help for a ‘slow motion button’ from someone she met in Veronica Karlsson’s chat room. Help now comes from the chat, not from the group.

Quoted in the article:

  • c7-chat-help: llizard, 2000-02-15 (post)

alt.ascii-art.animation · 2 posts · 2000-02-15

llizard <lli...@TAKEOUTTHEGARBAGEyahoo.com> ·
Hello ascii-animators who actually understand JavaScript...

I'm trying to put a slowmotion section into an animation. I've stared at
CJRandall's code and finally managed to figure out how to get the
animation to start, stop and go step by step but I can't figure out how
to do a slow motion replay. Here is what I have: (I've used two frames
from my "Mr. ASCII-head plays one-on-one Basketball" animation)

          ____|
      o   \%/ |--\
      _c/        |
  <c/   \        |
  /    < \       |
  >>             | ejm98


<script type="text/javascript">
<!--
    var agt=navigator.userAgent.toLowerCase();
    if (agt.indexOf("mac") != -1) { var a="\r"; } else { var a="\n"; }
    var max=0;
    function tlist(){ max=tlist.arguments.length;
        for(i=0;i<max;i++) this[i]=tlist.arguments[i];
    }
    tl = new tlist(

"         "+a+
"          ____|"+a+
"          \\%/ |--\\"+a+
"                 |"+a+
"  c/  o          |"+a+
" / \\ /|          |"+a+
" o/ \\\< \\         | ejm98"+a,

"         "+a+
"          ____|"+a+
"          \\%/ |--\\"+a+
"                 |"+a+
" _c/o            |"+a+
" o \\/\\           |"+a+
"  / X \\          | ejm98"+a

    );
    var x=0;
    var repeat=1;
    var stop=0;

function go()
{
	document.f.t.value=tl[x];
if(repeat==1)
	{
		if (tl[++x] == null) x=0;
		if (stop==0) setTimeout("go()",200);
	}
	else
	{
		if (tl[++x] != null)
		{
		  if (stop==0) setTimeout("go()",200);
		}
		else
		  x=0;
	}
}

    //--></script>
<FORM NAME="f"><TEXTAREA NAME="t" ROWS="8" COLS="25">
</TEXTAREA></FORM>

<FORM>
<INPUT TYPE="BUTTON" NAME="Display" VALUE="Play" onClick="stop=0;go()">
<INPUT TYPE="BUTTON" NAME="Display" VALUE="Stop" onClick="stop=1">
<INPUT TYPE="BUTTON" NAME="Display" VALUE="One frame at a time"
onClick="stop=1;go()">
</FORM>

The animation without stop and start buttons can be seen at
http://www.crosswinds.net/~llizard/basketb1on1B.htm


NOTE: I never pick up my mail from the yahoo address. If you
are e-mailing and hit the reply button, add an "e" to "freent";
its absense is to stop the torment of automatic mailers.
--
         ___       llizard aka ejm  cq547@freene+.+oron+o.on.ca
       _/   |       
      |_____|      ,^>    Thanks guys...
        --- == ---% / >
      [_____]    / /__>,^        ASCII-ar+ and ASCII-anima+ions
ejm    |   |       //| |    http://www.crosswinds.net/~llizard/

Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd588,9ad7b44e6e849772,start
X-Google-Attributes: gidfd588,public
From: llizard <lli...@TAKEOUTTHEGARBAGEyahoo.com>
Subject: slowmotion button?
Date: 2000/02/15
Message-ID: <38A...@TAKEOUTTHEGARBAGEyahoo.com>#1/1
X-Deja-AN: 586049975
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abu...@idirect.com
X-Trace: quark.idirect.com 950607503 216.154.9.59 (Tue, 15 Feb 2000 04:38:23 EST)
Organization: posted via idirect.com Canada; zone  6A (or is it 5b?)
MIME-Version: 1.0
Reply-To: cq5...@freent.toronto.on.ca
NNTP-Posting-Date: Tue, 15 Feb 2000 04:38:23 EST
Newsgroups: alt.ascii-art.animation
llizard <lli...@TAKEOUTTHEGARBAGEyahoo.com> ·
↳ llizard · asciiart.eu · c7-chat-help · ↑ tree
In article <38A...@TAKEOUTTHEGARBAGEyahoo.com>, llizard wrote:
> 
> I'm trying to put a slowmotion section into an animation.

[snip]
> The animation without stop and start buttons can be seen at
> http://www.crosswinds.net/~llizard/basketb1on1B.htm

Many thanks to Shimrod!!  He was in Veronica's chatroom
http://www.ludd.luth.se/~vk/cgi/asciichat/
and explained to me what needed to be done. I now have the slowmotion
button installed.

         /                 _   _
         \,^%--- \    /|_|/ \ / \
         <   \    \/\/ | |\_/ \_/
         <\_         _   _
         < __    |_|/ \ / \  | |
       ^^ \ /    | |\_/ \_/  | |
  ejm     /                  . .


NOTE: I never pick up my mail from the yahoo address. If you
are e-mailing and hit the reply button, add an "e" to "freent";
its absense is to stop the torment of automatic mailers.
--
llizard aka ejm  cq547@freene+.+oron+o.on.ca  ha             ,^
http://www.crosswinds.net/~llizard/         ha ---%^^^^^^^^^^
ASCII-ar+ and ASCII-anima+ions               ha  /   "    "

Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd588,9ad7b44e6e849772
X-Google-Attributes: gidfd588,public
From: llizard <lli...@TAKEOUTTHEGARBAGEyahoo.com>
Subject: Re: slowmotion button?
Date: 2000/02/15
Message-ID: <38A...@TAKEOUTTHEGARBAGEyahoo.com>#1/1
X-Deja-AN: 586185971
Content-Transfer-Encoding: 7bit
References: <38A...@TAKEOUTTHEGARBAGEyahoo.com>
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abu...@idirect.com
X-Trace: quark.idirect.com 950633938 216.154.12.113 (Tue, 15 Feb 2000 11:58:58 EST)
Organization: posted via idirect.com Canada; zone  6A (or is it 5b?)
MIME-Version: 1.0
Reply-To: cq5...@freent.toronto.on.ca
NNTP-Posting-Date: Tue, 15 Feb 2000 11:58:58 EST
Newsgroups: alt.ascii-art.animation

Πηγή: asciiart.eu

Τα μηνύματα, και τα έργα που περιέχουν, ανήκουν στους δημιουργούς τους και δημοσιεύονται εδώ ως αρχείο. Αν είστε ένας από αυτούς και θέλετε διόρθωση ή αφαίρεση, γράψτε μου.

Διαθέσιμα τεκμήριαsizedownload
t80e30c43d2.json (json)mail-usenet-thread 0.6αντίγραφο στο αρχείο, δεν διανέμεται21K–

Όλο το αρχείο →