Original Usenet thread from alt.ascii-art.animation, started 11 Nov 1998.
algorithm animation in java
alt.ascii-art.animation
· 4 messages · 11 Nov 1998
Hi, everybody, I'm a new comer to this group and wish anyone of you could direct me some sites from which I could download java applets source code for varoius knids of algorithm animations. It's a bit urgent and appreciattion for your help. Best to all. Frank -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Hi, everybody, I'm a new comer to this group and wish anyone of you could direct me some sites from which I could download java applets source code for varoius knids of algorithm animations. It's a bit urgent and appreciattion for your help. Best to all. Frank -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Hi, everybody, I'm a new comer to this group and wish anyone of you could direct me some sites from which I could download java applets source code for varoius knids of algorithm animations. It's a bit urgent and appreciattion for your help. Best to all. Frank -----------== Posted via Deja News, The Discussion Network ==---------- http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
In article <72cn01$4l8$1...@nnrp1.dejanews.com>, sfr...@my-dejanews.com writes >Hi, everybody, I'm a new comer to this group and wish anyone of you could >direct me some sites from which I could download java applets source code for >varoius knids of algorithm animations. It's a bit urgent and appreciattion for >your help. > >Best to all. > > >Frank > [][ hi ... try some of these ... here is a URL to a java applet that animates ... David Riley made a java-based ascii-tv about a year ago: http://www.dmriley.demon.co.uk/download/asciitv/asciitv-readme.txt http://www.dmriley.demon.co.uk/download/asciitv/asciitv.zip http://www.dmriley.demon.co.uk/download/asciitv/asciitv.tar.gz here are URLs for javascript that animates ... Llizard's -:- JavaScript Animation-Code Template and Tutorials -:- http://www.geocities.com/SoHo/Studios/9334/animlesson.htm#top Alberto's -:- Animation to Hypertext Converter ANALIA v2,2 - 161Kb -:- http://members.xoom.com/albertopsq/analia.zip (does colour in Netscape4 only) James_dill's -:- Animation to Hypertext Converter Version 1.5 - 25kb -:- http://www.connect.usq.edu.au/students/q9523004/anim2htm.zip (no colour) Danny Goodman's -:- Javascript/DHTML homepage - reference bible -:- http://www.dannyg.com/index.html ... you can also see some of my home-made experiments with ascii-animation in both black/white and colour ... all work on both Netscape and Explorer ... preferably a version 4 browser with javascript enabled ... method-3 ... http://www.shieldwolf.demon.co.uk/anim/colorM3.htm method-4 ... http://www.shieldwolf.demon.co.uk/anim/colorM4.htm or this ... http://www.shieldwolf.demon.co.uk/anim/doggy.htm [method-3 and method-4 also work on version 3 browsers ... ... altho' your milage may vary] ... or ... heres an example using a few pics rippd from here a couple of weeks ago ... cut this next code-segement ** Method-5 ** and feed it into Ie4 or Ns4 [][note to all: this does not appear on any website anywhere!][] ------8<-----cut-here------8<---------- ------8<-----cut-here------8<---------- <html><head><!-- colour ascii-anim (method-5) [experimental] --> <!-- pictures by http://cantua.canterbury.ac.nz/~mpt26 --> <!-- javascript by http://shieldwolf.demon.co.uk --> <!-- method-5 code by mailto:mi...@dataweb.nl CSS/layers --> <!-- DHTML-javascript bible references http://www.dannyg.com --> <noscript><h4>Please use Version-4 Browsers with JavaScript ENABLED </h4></noscript><style type="text/css"><!--pre{font-family:fixedsys, monospace;color:#ff9090} --></style><basefont size=1><font color= #0080FF><h3>-:- Method 5 -:-</h3><script language="JavaScript"><!-- //IfYouStealThisCode&DontCreditUs!IMayFlameYorWebSite!SeeIfIDont!:) i486dx=1; Pent50=10; Pent200=100; // approx.machine.index var limit=4; // <--- show animation this many times var max_pics=10; // <--- total number of pictures in animation var delay_value=Pent200; // <--- machine speed with(document){write("<style type='text/css'>");for(i=0;i<max_pics; i++){write("#text"+i+"{position:absolute;left:8px;top:65px;") write("width:300px;height:187px;z-index:"+i+";visibility:hidden}")} write("</style>");if(document.layers){doc='document.' vis='.visibility'}else if(document.all){doc='document.all.' vis='.style.visibility'}else{ write("<h2>This animation only works on Version 4 Browsers!</h2>")}} function show(object){eval(doc+object+vis+'="visible"')} function hide(object){eval(doc+object+vis+'="hidden"')} function hideAll(){for(z=1;z<max_pics;z++)hide('text'+z)} function delay(){if(document.layers)for(j=0;j<(2*delay_value);j++); else for(j=0;j<(60*delay_value);j++);} function big_delay(){for(d=0;d<24;d++)delay()} //--></script></font></head><body> <div id="text0">0<pre> _o <font color=#FFFF00>></font> //\| _/\ / </pre></div> <div id="text1">1<pre> _o <font color=#FFFF00>></font> //\/ _/\ / </pre></div> <div id="text2">2<pre> _o <font color=#FFFF00>></font> //\_ /\ / / </pre></div> <div id="text3">3<pre> _o <font color=#FFFF00>_,</font> //\ |\ ` / / </pre></div> <div id="text4">4<pre> o /|\ <font color=#FFFF00>`-</font> |\ / / </pre></div> <div id="text5">5<pre> o /|\ <font color=#FFFF00><</font> |\ // </pre></div> <div id="text6">6<pre> o _ <font color=#FFFF00><</font> /\ | // </pre></div> <div id="text7">7<pre> <font color=#FF0000> '</font>o <font color=#FFFF00><</font>_ <font color=#FF0000> `</font> /\ | // </pre></div> <div id="text8">8<pre> <font color=#FFFF00><</font> _<font color=#FF0000> , </font>/\ o /> // </pre></div> <div id="text9">9<pre> <font color=#FF0000> , </font> /\<font color=#FF0000> , </font> _/| o / / </pre></div> <script language="JavaScript"><!--// /***** Animation driver ****/ x=0,y=0;document.bgColor="#000000"; while(y<limit){ for(i=1;i<max_pics;i++){ hide('text'+x);show('text'+i); if(document.layers)delay(); else{with(document){bgColor="#000001";bgColor="#000000"}} x=i;delay(); }big_delay();y++; }//--></script></body></html> ------8<-----cut-here------8<---------- ------8<-----cut-here------8<---------- enjoy :) i have a version of method-5 on my website ... the full version of miK's doggy ... but i'm still testing/tuning it ... thus not publicly accessible yet :( [][note 2 llizard: plz let me no wot u fink? :D [][ see yuz [][ colin -- ( () /_ / /\) _/ /? .\ /\) /) .\ /_ /_ CJRandall http://www.shieldwolf.demon.co.uk
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
_______ /` _____ `\;, /__(^===^)__\';, / ::: \ ,; | ::: | ,;' '._______.'`jgs
_ _ (o)(o)--. \../ ( )hjw m\/m--m'`--.
_ _
/` \/ `\_ _
\ /` \/ `\
'. .\ /
\/ '. .'
\/jgs __ . . __ (o.\ \/ /.o) \__\/\/__/ /O /==\ O\ (;O/ \/ \O;)
_______ |.-----.| || jgs || ||_ _|| `--)-(--` __[=== o]___ |:::::::::::|\ `-=========-`()
,sSSs ,SSSS_/ ,_ sS/`))\// sS//|_(_/ _, SS\\\ `""-.-'` / sSS` jgs-==-'`'-._\
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this thread.
These messages were posted publicly to the newsgroup
alt.ascii-art.animation
in 1998 and are 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 one of the authors? 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.