Original Usenet thread from alt.ascii-art, started 24 Feb 1999.
JAVA Animation (technic)
alt.ascii-art
· 10 messages · 24 Feb 1999 - 12 Mar 1999
In article <7b1fr5$qt...@news.rhrz.uni-bonn.de>, "Meph" <UZS...@ibm.rhrz.uni-bonn.de> wrote: > > I have talked with a friend (Hi Joe) about an effective way to create JAVA > ASCII animations. He told me his idea of writing a script with a similar > system like the ANSI codes. The animation data could be reduced if only the > changed characters are replaced and not the hole picture. > There are some samples attached which demonstrate what I mean by this: > > Jgs0 : Normal code = 59.1 KB > Jgs1 : Type I = 33.3 KB > Jgs2 : Type II = 8.8 KB > > Jump1: Type I = 1.8 KB > Jump2: Type II = 2.2 KB > > Type I: All characters are replace which are different to the first frame. > Type II: All characters are replaced which are different to the previous frame. > > Normally the Type II creases smaller (and faster) files. Nevertheless sometimes > Type I is better, if the animation has always a identical background > (Jump-Sample). The files run with Navigator and IE 4.x and may be other. > > The source code: > <!-- > Name= > " .-------. \n"+ <<= The first frame > " |_______|____________ \n"+ > " /====0=[] \n"+ > " __/______/__\\____ \n"+ > " jgs `\\~^~^~^~^~^~^~^~^~^... > Repla = "S,278,279,280,323,324,368,369,413,,192,193,... <<= Replace positions > Replb = "S~0_/_|||S~0|||S~0/|a|a|/S~0/|a/|/|S~0/|a|.... <<= Replace characters > Posia = Repla.split(","); > Posib = Replb.split(""); > var p=0; > var delay=300; > function ani() { > zeile = Name.split(""); (*) <<= Reset first frame > while(Posib[p]!="S") { <<= Replace charcters > if(Posib[p]=="a") {zeile[Posia[p]]="\\";} > else zeile[Posia[p]]=Posib[p]; > p++; } > document.f.t.value=zeile.join("") <<= Show > p++; > if(Posib[p]=="S") {p=0; zeile = Name.split("");} <<= Restart > setTimeout("ani()",delay); } > //--> > > (*) only Type I (Type II: after the anim. Data) > Control chararacters: > - Ord(167) = Next frame (:=S) > - Ord(167) = End (2x) > - Ord(228) = '\' (:=a, must be replaced by '\\' because it's a JAVA tag) > > Thanks to Joe for the idea and thanks to Colin for the link. > The sample animations are (c) by (genial) Joan Stark. > > Bye Marc > > O=============================================O > ,,,,,,,, I __ __ ___ ___ _ _ _,,,_ I > .,,, __ \_ I |M \/ M| |E__| |P_ \ | || | ASCII / o o \ I > ( ( o) \_ I | |\/| | | _| | _/ | HH | & more > P < I > `\ o)I |_| |_| |E__| |_P |_||_| ~~~~~~ \_\_/_/ I > \ \____/ I I > \ ____/ I ASCII-, ANSI-, HTML-art, programs, ... I > ) ) O=============================================O > \__/ \ Index page: > \\_ ) http://studenten.freepage.de/meph/ascii/ascii.htm > \___ __ / English "fast-link" page: > _// \\_ http://studenten.freepage.de/meph/ascii/eng/eng.htm > > Name: jgs.zip > Part 1.2 Type: Zip Compressed Data > (application/x-zip-compressed) > Encoding: x-uuencode I'm getting scripting errors with this. (and in order for the animation to work in MSIE as well as NEtscape, the endings for the lines have to be \r\n"+ instead of \n"+ ) Does this only work on Netscape 4 and up? I have Netscape 3 Looks interesting though... NOTE: I do not pick up my mail from the idirect address that you see. If you are e-mailing me and hit the reply button, add an "e" to "freent"; its absense is to stop the torment of automatic mailers. -- ___ cq547@freene+.+oron+o.on.ca _/ | ,^%--- llizard aka ejm |_____| __<_ \ Yikes! Do I have to upgrade?? --- == >/ [_____] __>,^ ASCII-ar+, ASCII & gif anima+ions ejm| | //| | www.geocities.com/SoHo/Studios/9334/
llizard <lli...@iNOdirect.ca> writes >In article <7b1fr5$qt...@news.rhrz.uni-bonn.de>, "Meph" ><UZS...@ibm.rhrz.uni-bonn.de> wrote: >> >> I have talked with a friend (Hi Joe) about an effective way to create JAVA >> ASCII animations. He told me his idea of writing a script with a similar >> system like the ANSI codes. The animation data could be reduced if only the >> changed characters are replaced and not the hole picture. >> There are some samples attached which demonstrate what I mean by this: >> >> Jgs0 : Normal code = 59.1 KB >> Jgs1 : Type I = 33.3 KB >> Jgs2 : Type II = 8.8 KB >> this is an astounding reduction! (real cool anim too! ... fanx Joan:) that'd be a real 'fuck-pig' to code by hand tho' ... ... how about a 'drop-in' web page ? >> >> Thanks to Joe for the idea and thanks to Colin for the link. >> The sample animations are (c) by (genial) Joan Stark. >> >> Bye Marc >I'm getting scripting errors with this. (and in order for the animation >to work in MSIE as well as NEtscape, the endings for the lines have to >be \r\n"+ instead of \n"+ ) > >Does this only work on Netscape 4 and up? I have Netscape 3 yep ... the split() function used was introduced in Netscape 4 > >Looks interesting though... > > > >NOTE: I do not pick up my mail from the idirect address that you >see. If you are e-mailing me and hit the reply button, add an "e" >to "freent"; its absense is to stop the torment of automatic mailers. >-- > ___ cq547@freene+.+oron+o.on.ca > _/ | ,^%--- llizard aka ejm > |_____| __<_ \ Yikes! Do I have to upgrade?? [][ yes! ... please do! (try and get the latest FREE version you can) > --- == >/ > [_____] __>,^ ASCII-ar+, ASCII & gif anima+ions > ejm| | //| | www.geocities.com/SoHo/Studios/9334/ [][ this post 'sposed to be in alt.ascii-art.animation tho' ? nice work! Marc ... [][ see yuz [][ colin -- . /\_/\ ( () |_ | |\| _/ |? .\ |\| |) .\ |_ |_ :( a a( CJRandall http://www.shieldwolf.demon.co.uk ' \___") <tHISsIGiStHEoNLYpROMOmYwEBsITEgETSaNYWAY:>
In article <RNX...@shieldwolf.demon.co.uk>, CJRandall <col...@shieldwolf.demon.co.uk> wrote: > > llizard <lli...@iNOdirect.ca> writes > >In article <7b1fr5$qt...@news.rhrz.uni-bonn.de>, "Meph" > ><UZS...@ibm.rhrz.uni-bonn.de> wrote: > >> > >> I have talked with a friend (Hi Joe) about an effective way to create JAVA > >> ASCII animations. He told me his idea of writing a script with a similar > >> system like the ANSI codes. The animation data could be reduced if only the > >> changed characters are replaced and not the hole picture. [snip] > >> Thanks to Joe for the idea and thanks to Colin for the link. > >> The sample animations are (c) by (genial) Joan Stark. > >> > >> Bye Marc > [snip] > >Does this only work on Netscape 4 and up? I have Netscape 3 > > yep ... the split() function used was introduced in Netscape 4 > > > > >Looks interesting though... > > [snip] > > _/ | ,^%--- > > |_____| __<_ \ Yikes! Do I have to upgrade?? > > [][ yes! ... please do! (try and get the latest FREE version you can) [snip] > [][ this post 'sposed to be in alt.ascii-art.animation tho' ? [snip] > [][ colin > -- > . /\_/\ ( () |_ | |\| _/ |? .\ |\| |) .\ |_ |_ > :( a a( CJRandall http://www.shieldwolf.demon.co.uk What's the point of putting this in alt.ascii-art.animation? It's basically dead. I'll have to think about it... if I upgrade then I'll be able to see that stupid GeoWatermark and that will mean I have to move my website. Brrrr. I HATE moving. And then of course, I'll have to learn the new Javascript coding. But I'll also be able to look at Celia's (http://members.xoom.com/albertopsq/) Netscape 4 animations... The reduction in the amount of code is amazing. (Hmmm, I wonder where the suitcases are....) _____________ ejm || || ,^^%--- ||&; <\_ \ ||.; I'll check this closet... < (]=||=[).; < ||+..,; ^^|\ ,'""||;`#%*.. .;`& ;,..,&`+.,;||+..,;..,; ;,` -,-..;`#%*..||;`#%*.. NOTE: I do not pick up my mail from the idirect address that you see. If you are e-mailing me and hit the reply button, add an "e" to "freent"; its absense is to stop the torment of automatic mailers. -- ah... llizard aka ejm cq547@freene+.+oron+o.on.ca ^^^^%--- ah... http://www.geocities.com/SoHo/Studios/9334/ " \ (`|-| () () ! ! ASCII-ar+, ASCII and gif anima+ions
I have posted the prog. at alt.ascii-art.animation. There are three postings: 1.) creates file type 1 (not often effective) 2.) ... 2 3.) sample animations The prog. are only 'trash'. They are written in TurboPascal 1.0(!) and I'm not sure if they work without problems... Before you download them please think about the restrictions: This system is ONLY effective if you work with large files which have a very similar background. -------- >that'd be a real 'fuck-pig' to code by hand tho' ... >... how about a 'drop-in' web page ? aehm - sorry I didn't know what you mean by this. BTW: I will answer tomorrow >>Does this only work on Netscape 4 and up? I have Netscape 3 > >yep ... the split() function used was introduced in Netscape 4 > May be Netscape 4 supports 'string[x]' settings alternative, but than it didn't work with IE ... ;) Thanks. O=============================================O ,,,,,,,, I __ __ ___ ___ _ _ _,,,_ I .,,, __ \_ I |M \/ M| |E__| |P_ \ | || | ASCII / o o \ I ( ( o) \_ I | |\/| | | _| | _/ | HH | & more > P < I `\ o)I |_| |_| |E__| |_P |_||_| ~~~~~~ \_\_/_/ I \ \____/ I I \ ____/ I ASCII-, ANSI-, HTML-art, programs, ... I ) ) O=============================================O \__/ \ Index page: \\_ ) http://studenten.freepage.de/meph/ascii/ascii.htm \___ __ / English "fast-link" page: _// \\_ http://studenten.freepage.de/meph/ascii/eng/eng.htm
In article <36D...@iNOdirect.ca>, llizard <lli...@iNOdirect.ca> writes > >What's the point of putting this in alt.ascii-art.animation? It's >basically dead. > sorry ... i wasn't trying to be horrid .. i just thought .. >I'll have to think about it... if I upgrade then I'll be able to see >that stupid GeoWatermark and that will mean I have to move my website. the watermark isn't that bad now ... mebbe they've taken your complaints on board ... since it has changed to a lowercase 'g' logo ... so there is no real need to move site .. i prefer the watermark to the pop-up adverts anyway >Brrrr. I HATE moving. And then of course, I'll have to learn the new >Javascript coding. as a first step for netscape.4 object reference go here:- http://www.dannyg.com > But I'll also be able to look at Celia's >(http://members.xoom.com/albertopsq/) Netscape 4 animations... yep... they're good! > >The reduction in the amount of code is amazing. (Hmmm, I wonder where >the suitcases are....) > > _____________ >ejm || > || > ,^^%--- ||&; > <\_ \ ||.; I'll check this closet... > < (]=||=[).; > < ||+..,; >^^|\ ,'""||;`#%*.. >.;`& ;,..,&`+.,;||+..,;..,; >;,` -,-..;`#%*..||;`#%*.. > ...just leave 'em where they are... >-- > ah... llizard aka ejm cq547@freene+.+oron+o.on.ca > ^^^^%--- ah... http://www.geocities.com/SoHo/Studios/9334/ > " \ (`|-| () () ! ! ASCII-ar+, ASCII and gif anima+ions bless you ? [][ see yuz [][ colin -- . /\_/\ ( () |_ | |\| _/ |? .\ |\| |) .\ |_ |_ :( a a( CJRandall http://www.shieldwolf.demon.co.uk ' \___") <tHISsIGiStHEoNLYpROMOmYwEBsITEgETSaNYWAY:>
In article <7b4a6v$10q...@news.rhrz.uni-bonn.de>, Meph <UZS...@ibm.rhrz.uni-bonn.de> writes >I have posted the prog. at alt.ascii-art.animation. There are three postings: >1.) creates file type 1 (not often effective) >2.) ... 2 >3.) sample animations > >The prog. are only 'trash'. They are written in TurboPascal 1.0(!) and >I'm not sure if they work without problems... >Before you download them please think about the restrictions: >This system is ONLY effective if you work with large files which have a >very similar background. > thanks Marc ... yes i do understand that ... >-------- > >>that'd be a real 'fuck-pig' to code by hand tho' ... >>... how about a 'drop-in' web page ? > >aehm - sorry I didn't know what you mean by this. >BTW: I will answer tomorrow sorry for that 'bad language' expression .. it translates to 'headache'. as for 'drop-in' web-page ... this would be a javascript web-page that has an input window and an output window where you would paste your anim into the input window and the result would appear in the output window ... which you'd then copy and paste into a file on your computer it is something i have been working on for sometime now ... altho' i have had problems with web-browser compatibility ... where netscape and Iexplorer are so different from each other :( ... what works on one won't on the other and vice-versa (a by-product of it is a little 4Kb web-page called 'webflip' http://www/shieldwolf.demon.co.uk/anim/webflip.htm ) > >>>Does this only work on Netscape 4 and up? I have Netscape 3 >> >>yep ... the split() function used was introduced in Netscape 4 >> > >May be Netscape 4 supports 'string[x]' settings alternative, but than >it didn't work with IE ... ;) > yep... there's also charAt(index) and charCodeAt(index) which work on both Ns4 and Ie4 >Thanks. Cheers [][ see yuz [][ colin -- . /\_/\ ( () |_ | |\| _/ |? .\ |\| |) .\ |_ |_ :( a a( CJRandall http://www.shieldwolf.demon.co.uk ' \___") <tHISsIGiStHEoNLYpROMOmYwEBsITEgETSaNYWAY:>
.----- On Thu, 25 Feb 1999 09:21:15 -0500, llizard posted:
|
|I'll have to think about it... if I upgrade then I'll be able to see
|that stupid GeoWatermark and that will mean I have to move my website.
|Brrrr. I HATE moving. And then of course, I'll have to learn the new
|Javascript coding. But I'll also be able to look at Celia's
|(http://members.xoom.com/albertopsq/) Netscape 4 animations...
|
'----------------------------
Llizard... The fact that you can't see it doesn't mean it isn't there... and
surely it matters what visitors see, not what you see?
Upgrading will mean that you can see it as it actually is to a lot of your
visitors... isn't that a good thing?
Anywayz,
-Martin
_
____.Martin Atkins AKA mga.____ / |
""""-mart.atkins bigfoot.com-"""" /@ |
___________________________________/___|_
__/___| o o o o o o o o o o o A _______
| _-"
-________________\ \____________-"
\_____\ mga
If you are new to the newsgroup, please read
our FAQ list - posted weekly and on the web
at http://vibes.vossnet.co.uk/i/ighaig/ascfaq.htm
In article <36d...@news.vossnet.net>, zne...@ovtsbbg.pbz (Martin Atkins) wrote: > > .----- On Thu, 25 Feb 1999 09:21:15 -0500, llizard posted: > | > |I'll have to think about it... if I upgrade then I'll be able to see > |that stupid GeoWatermark and that will mean I have to move my website. > |Brrrr. I HATE moving. And then of course, I'll have to learn the new > |Javascript coding. But I'll also be able to look at Celia's > |(http://members.xoom.com/albertopsq/) Netscape 4 animations... > | > '---------------------------- > > Llizard... The fact that you can't see it doesn't mean it isn't there... and > surely it matters what visitors see, not what you see? > Upgrading will mean that you can see it as it actually is to a lot of your > visitors... isn't that a good thing? > > Anywayz, > ____.Martin Atkins AKA mga.____ > """"-mart.atkins bigfoot.com-""" Well, of course you're right, Martin. I know that it looks like this for many viewers most of the time: || `) || __ \ || {`))/' |_ .(((/ !`. <---- cursor /,(`)) || \ )(____.---- ) || <---- edge of page ')/ \ ` ( || / ' \ ` ) || / ' \ ` / || / ' _/ || ___ / _!____.-' || _/ |===%^, __! _ __ /_.-_|_} / _) || |_____| __/\/> (_m| - )/ _ ( ,|_ ||`_| | -_)(_-<|| --- == > \___|\___|\___/\_,_|_|\__|_|\___!___/|| [_____] __>,^ _____________________________________[] ejm | | //| | ... || `) || __ \ || {`))/' |_ .(((/ !`. <---- cursor /,(`)) || \ )(____.---- ) || <---- edge of page ')/ \ ` ( || / ' \ ` _) || / ' \ ,-_,.) || ___ / ' (( *)) || _/ | ____,^@@--- / _!____.`;-' || |_____| __/> \ EEeeeek!!! /_.-' / <<___ || --- == > IT CHANGED! ejm /| |`_ (( )) || [_____] __>,^ \/ `---'' || | | //| | ____________________________________[] (but it still floats and _ moves as you scroll) /| / bottom of page But if *I* can't actually see it on my Netscape 3.04, I can continue to pretend it's not there. ha ^^^^%--- ha " \ ha Sometimes ignorance IS bliss. But your sage advice has not fallen on completely deaf ears... (just lazy ones) NOTE: I do not pick up my mail from the idirect address that you see. If you are e-mailing me and hit the reply button, add an "e" to "freent"; its absense is to stop the torment of automatic mailers. -- ___ cq547@freene+.+oron+o.on.ca _/ | ,^%--- llizard aka ejm |_____| __<_ \ ...and I'll consider enlightenment. --- == >/ [_____] __>,^ ASCII-ar+, ASCII & gif anima+ions ejm| | //| | www.geocities.com/SoHo/Studios/9334/
.----- On Mon, 01 Mar 1999 08:11:24 -0500, llizard posted:
|
\
> SNIP!
/
|
|But if *I* can't actually see it on my Netscape 3.04, I can continue to
|pretend it's not there.
|
| ha
| ^^^^%--- ha
| " \ ha
|
|Sometimes ignorance IS bliss.
|
|But your sage advice has not fallen on completely deaf ears... (just
|lazy ones)
|
|
'---------------------------
Incidentally, I find that since GeoCities just bungs the code on the end of
the file, putting a <COMMENT> tag (no closing tag) after the </HTML> makes
it not appear in Internet Explorer... but that still leaves Netscape 4 - I'm
sure there's some other way of getting around it in that too.
Not strictly proper HTML, but it works nicely in all browsers I tried it in
(When I say 'work fine' I mean that it doesn't mess the screen or anything)
-Martin
_
____.Martin Atkins AKA mga.____ / |
""""-mart.atkins bigfoot.com-"""" /@ |
___________________________________/___|_
__/___| o o o o o o o o o o o A _______
| _-"
-________________\ \____________-"
\_____\ mga
If you are new to the newsgroup, please read
our FAQ list - posted weekly and on the web
at http://vibes.vossnet.co.uk/i/ighaig/ascfaq.htm
In article <36d...@news.vossnet.net> Martin Atkins <zne...@ovtsbbg.pbz> wrote: > Incidentally, I find that since GeoCities just bungs the code on the end of > the file, putting a <COMMENT> tag (no closing tag) after the </HTML> makes > it not appear in Internet Explorer... but that still leaves Netscape 4 - I'm > sure there's some other way of getting around it in that too. > > Not strictly proper HTML, but it works nicely in all browsers I tried it in > (When I say 'work fine' I mean that it doesn't mess the screen or anything) > -Martin It's a nice idea, Martin... But sadly GeoCities frowns upon it. They consider that as code tampering. Any tampering with GeoCities' code causes GeoPages to be pulled summarily and without warning from cyberspace. by filling out a GeoCities Comment Submission Form. || `) || __ \ || {`))/' |_ .(((/ !`. <---- cursor /,(`)) || \ )(____.---- ) || <---- edge of page ')/ \ ` ( || / ' \ ` _) || / ' \ ,-_,.) || ___ / ' (( *)) || _/ | ____,^@@--- / _!____.`;-' || |_____| __/> \ Until I /_.-' / <<___ || --- == > leave ejm /| |`_ (( )) || [_____] __>,^ GeoCities, \/ `---'' || ejm | | //| | the stupid _____________________________[] thing will have to stay. NOTE: I do not pick up my mail from the idirect 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 ,^ ASCII-ar+, ASCII and gif anima+ions ===%^^^^^^^^^^^^ http://www.geocities.com/SoHo/Studios/9334/ " "
Related ASCII art in the Gallery
Explore these categories from our collection of 11,000+ artworks:
_ _
/` \/ `\_ _
\ /` \/ `\
'. .\ /
\/ '. .'
\/jgs __ . . __ (o.\ \/ /.o) \__\/\/__/ /O /==\ O\ (;O/ \/ \O;)
_______ |.-----.| || jgs || ||_ _|| `--)-(--` __[=== o]___ |:::::::::::|\ `-=========-`()
,sSSs ,SSSS_/ ,_ sS/`))\// sS//|_(_/ _, SS\\\ `""-.-'` / sSS` jgs-==-'`'-._\
___________ | _______ | | | | | | | | | | | | | | |_______| | |___________|
//O\\
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
in 1999 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.