Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 19 Jan 1998.
Re: Ascii web page

Re: Ascii web page

aardvarko (*REMOVEME*aar...@geocities.com) wrote:
: The <tt> tag works for fixed-width fonts too. Believe it stands for
: teletype.

No it doesn't! At least not for anything but oneliners.

: <html>
: <body>
: <tt>
: ASCII Art Here
: </tt>
: </body>
: </html>

First of all, <tt> is a text-level tag like <big>. It should go inside
a paragraph (or a heading or a list item or..). More importantly, all
it does is change the font. The lines are still auto-wrapped and any
consecutive spaces collapsed into one. Not good at all!

<html>
<title>Example 1</title>

<h1>Using TT and PRE tags for ascii art</h1>

<h2>How to do it <tt>:-)</tt></h2>
<pre>
   )
  ((
 |~~|
C|::|
 `=='
</pre>

<h2>How not to do it <tt>:-(</tt></h2>
<tt>
   )
  ((
 |~~|
C|::|
 `=='
</tt>

<p>Obscure "mixed-content" definitions for certain tags like BODY, LI
and TD do make the above valid HTML. However, TT really belongs inside
a paragraph like I did with the smileys. Text put between paragraphs
like above may get smushed together with the last paragraph unless you
are careful with your end tags..</p>
</html>

Do try to save and view the HTML. You'll notice that the second cup
gets put all on one line, like: ) (( |~~| C|::| `=='

Oh, and even though the cups were ascii art, I guess I should add more
to keep this on topic. Here's my version of "Slinky's Dream".

               _.-"-._       (best viewed with a narrow font, it seems)
           _.-'       `-,-"-._
          |-._     _.-'"      `-,-"-._
       _.-"-._`-._|-._     _.-'"      `-,-"-._
   _.-'       `-._|   `-._|-._ _.-"-,-'"      `-._
  |-._         _.-|    _.-"-,-'      "`-._     _.-|
  |   `-._ _.-'_.-"-,-'      "`-._     _.-|_.-'   |
  |       |_.-'      "`-._     _.-|_.-'   |       |
  |-._    |-._         _.-|_.-'   |       |    _.-'
  |   `-._|   `-._ _.-'   |       |    _.-|_.-'
  |       |       |       |    _.-|_.-'_.-'
  |       i-._    |    _.-|_.-'   |_.-'
  `-._    t   `-._|_.-'   |    _.-'
      `-._z       |       |_.-'
          `-._    |    _.-'
              `-._|_.-'
                  "
6 steps should be the minimum, but that doesn't look as good since the
steps have to be lower. (With 4 steps it degenerates into an ordinary
platform - step height = 0)

While playing with this I found a way to shade it without revealing the
illusion. I'm now thinking of raytracing the thing, complete with a
raytraced slinky of course. =)

--
 .    _, .. j u s t.  h o w l.i n g   i n  .t h e   n.i g h t .. ._,   .
,    )''        .       /\_    .     '     ,/\   .          ,    ``(  ,
_\__/ |__.'\._______,--;_'_`-.___,.______,/_,_`.__,-.__'__,/`-._,_| \____
 ,_f_)\. Ilmari Karonen  ilt...@sci.fi  http://www.sci.fi/~iltzu/  /(_|_,.

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f996b,8bca074f44130a1d
X-Google-Attributes: gidf996b,public
From: ilt...@sci.fi (Ilmari Karonen)
Subject: Re: Ascii web page
Date: 1998/01/19
Message-ID: <69vuu3$6i3$1...@tron.sci.fi>#1/1
X-Deja-AN: 317431221
References: <34C...@netgsi.com> <69pk76$spa$1...@news.Leiden.NL.net> <69rb48$3fg$1...@usenet87.supernews.com>
Distribution: world
Organization: (dis)Order of the Holy Spoon (or whatever)
Newsgroups: alt.ascii-art
About this message. This message was posted publicly to the newsgroup alt.ascii-art in 1998 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.

Help classify this post