精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>已关闭版区>>● 字符乐园>>了解ASCIIart(字符艺术)>>知道怎样做动态的字符图么?

主题:知道怎样做动态的字符图么?
发信人: edoo()
整理人: edoo(1999-07-18 22:36:42), 站内信件
把字符图做成动态的.,, 很不可思议吧,,你想试试么..?
下面是一段源代码..你自己琢磨一下吧^_^..


(切记..不要换行啦!!)
----
<html>

<head>
<title> Baseball Practice </title>
<meta name="GENERATOR" content="Animation to Hypertext Converter --Version 1.1">
</head>

<body text="white" background="stars.gif" bgcolor="black" link="red" vlink="pink"
onload="tick();window.status=' Baseball Practice ';return true">
<script language="JavaScript">
<!-- Begin animation script -----
var max=0;
var x=0;
var nl="\r\n";

function FrameList()
{
max = FrameList.arguments.length;
for(i=0;i<max;i++) this[i] = FrameList.arguments[i];
}
function tick()
{
document.animation.viewer.value = cartoon[x];
x++;
// Remove "//" from next line to show it a frame at a time.
// if(confirm('continue?'))
if(x==max) x=0;
setTimeout("tick()", 200); // Change number here to change speed
}

cartoon = new FrameList(
" "+nl+
" / "+nl+
" / "+nl+
" <<O O "+nl+
" | o/|> "+nl+
"       /|                                              | "+nl+
"      / |                                              | "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

" "+nl+
"        / "+nl+
"       / "+nl+
"     <<O O "+nl+
" \\ o/\\ "+nl+
" /\\ / "+nl+
" / / \\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

" "+nl+
" / "+nl+
" / o "+nl+
" <<O _O> "+nl+
"       \\                                              _\\ "+nl+
"       /\\                                            | / "+nl+
"      / /                                              \\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

" "+nl+
"        / "+nl+
"       /                                              o "+nl+
"     <<O <O "+nl+
" \\ _\\ "+nl+
" /\\ / / "+nl+
" / / \\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

" "+nl+
" / "+nl+
" / o "+nl+
" <<O \\O__ "+nl+
" \\ \\ "+nl+
" /\\ /| "+nl+
" / / | \\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

" "+nl+
" / "+nl+
" / "+nl+
" <<O o _O "+nl+
" \\ /\\ "+nl+
" /\\ /| "+nl+
" / / | \\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",


" "+nl+
" /"+nl+
" / "+nl+
" <<O o . . _O "+nl+
" \\ /\\ "+nl+
" /\\ /\\__ "+nl+
" / / | "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

" "+nl+
" \\ "+nl+
" \\ "+nl+
" <<O o . . . . "+nl+
" \\ __O__ "+nl+
" /\\ / /\\/ "+nl+
" / / | "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",


" "+nl+
" "+nl+
" "+nl+
" ___,_O . . . . . O "+nl+
" \\ o ' ' /\\ "+nl+
" |\\ /\\ "+nl+
" / \\ | \\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",


" "+nl+
" "+nl+
" "+nl+
" O . . . . . O_ "+nl+
" \\\\____o ' ' /\\ "+nl+
" |\\ /| "+nl+
" / \\ | \\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",


" "+nl+
" / o "+nl+
" / . "+nl+
" O>>     .                                    O_ "+nl+
"       \\                                            /\\ "+nl+
"       |\\                                            /| "+nl+
"      /  \\                                           || "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

"                         .   '   '  o  "+nl+  
"           /         .               "+nl+
"          /       .  "+nl+
"       O>>     .                                      O"+nl+
"       \\                                             /|\\ "+nl+
"       |\\                                            /| "+nl+
"      /  \\                                           || "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",


"                         .   '   '   '  ."+nl+
"                     .                     '  o"+nl+
"                  .                             "+nl+
"       O       .                                     _O/"+nl+
"      /|\\                                             |"+nl+
"       |\\|                                           //"+nl+
"      / ||                                           \\\\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",


"                         .   '   '   '  ."+nl+
"                     .                     '  ."+nl+
"                  .                              '  .  o"+nl+
"       O       .                                      _O/"+nl+
"      /|\\                                              |"+nl+
"       |\\|                                            //"+nl+
"       |/|                                            \\\\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",


"                         .   '   '   '  ."+nl+
"                     .                     '  ."+nl+
"                                                 '  ."+nl+
"       O                                             _O_o"+nl+
"      /|\\                                              \\ "+nl+
"     | |\\                                             //"+nl+
"     | |/                                             \\\\ "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",


"                                 '   '  ."+nl+
"                                           '  ."+nl+
"                                                 '  ."+nl+
"       O                                              _O"+nl+
"      /|>                                              |\\o "+nl+
"     / |\\                                             /| "+nl+
"    /  |/                                             \\| "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

" "+nl+    
"                                              ."+nl+
"                                                 '  ."+nl+
"       O                                               O"+nl+
"      /|>                                             /|\\o "+nl+
"     / |\\                                             /| "+nl+
"    /  |/                                             \\| "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",



" "+nl+
" "+nl+
" "+nl+
"       _O                                              O"+nl+
"      / |>                                            /|\\o "+nl+
"     / /|                                             /| "+nl+
"      / |                                             \\| "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

" "+nl+
"         /"+nl+
"        /"+nl+
"      <<O O"+nl+
" | o/|> "+nl+
"       /|                                             /| "+nl+
"      / |                                             \\| "+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^",

" "+nl+
"         /"+nl+
"        /"+nl+
"      <<O O"+nl+
" | o/|>"+nl+
"       /|                                              |"+nl+
"      / |                                              |"+nl+
"jgs^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^"
);//-->
</script>


<p><br>
<br>
<br>
</p>

<form NAME="animation">
  <div align="center"><center><p><textarea NAME="viewer" ROWS="8" COLS="65"></textarea> </p>
  </center></div>
</form>
</body>
</html>


--
i like summer and play Quake!!!
http://edoo.yeah.net
http://www.edoo.net




※ 来源:.网易 BBS bbs.netease.com.[FROM: 202.98.108.161]

[关闭][返回]