Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from alt.ascii-art, 21 Aug 1998.
Re: ASCTOOL.EXE test

Re: ASCTOOL.EXE test

Colin Douthwaite <cfb...@southern.co.nz> wrote:

>I have been doing another test on Colin Randall's ASCTOOL.EXE
>picture rotation utility using a simple "square/rectangle".

>It works quite well except for the CW90 ( 270 degrees) and CCW90 (
>360 degrees ) rotations where the relative horizontal/vertical
>spacings elongate the image and also the character mapping seems
>wrong for CW90 and CCW90 because the | and _ characters are not
>retained in these conversions but are replaced by letters.

>I think Joshua Bell's original code did not change the characters
>although there was some aspect ratio distortion with CW90 and CCW90.


>Original:
>     ________________
>    |                |
>    |                |
>    |                |
>    |                |
>    |                |
>    |                |
>    |                |
>    |________________|


>LR.BAT:
> ________________
>|                |
>|                |
>|                |
>|                |
>|                |
>|                |
>|                |
>|________________|



>TB.BAT:

>    |~~~~~~~~~~~~~~~~|
>    |                |
>    |                |
>    |                |
>    |                |
>    |                |
>    |                |
>    |                |
>     ~~~~~~~~~~~~~~~~


>CW90.BAT:


> nnnnnnnn
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> nnnnnnnn




>CCW90.BAT

> aaaaaaaa
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> l       l
> aaaaaaaa


As a follow up to my first post I checked Joshua Bell's original
illustrations of the results of his program and I see that his CW90
and CCW90 images are distorted as he says they will be but he seems
to have retained the same characters for his mapping:


-------    Comment by Joshua Bell, 31 July 1994  ---------------

Note: None of these utilities rescale images or attempt to do
anything beyond the scope of a single character cell. So rotated
images are almost always going to be extremely distorted.

Examples: ($ is my prompt)

$ cat genie
                _.---.__
              .'        `-.
             /      .--.   |
             \/  / /    |_/
              `\/|/    _(_)
           ___  /|_.--'    `.   .
           \  `--' .---.     \ /|
            )   `       \     //|
            | __    __   |   '/||
            |/  \  /  \      / ||
            ||  |  |   \     \  |
            \|  |  |   /        |
           __\\@/  |@ | ___ \--'
          (     /' `--'  __)|
         __>   (  .  .--' &"\
        /   `--|_/--'     &  |
        |                 #. |
        |                 q# |
         \              ,ad#'
          `.________.ad####'
            `#####""""""''
             `&#"
              &# "&
              "#ba"


$ lr genie
                                                        __.---._
                                                     .-'        `.
                                                    |   .--.      \
                                                     \_|    \ \  \/
                                                     (_)_    \|\/'
                                               .   .'    `--._|\  ___
                                               |\ /     .---. `--'  /
                                               |\\     /       '   (
                                               ||\`   |   __    __ |
                                               || \      /  \  /  \|
                                               |  /     /   |  |  ||
                                               |        \   |  |  |/
                                                `--/ ___ | @|  \@//__
                                                   |(__  `--' `\     )
                                                   /"& `--.  .  )   <__
                                                  |  &     `--\_|--'   \
                                                  | .#                 |
                                                  | #p                 |
                                                   `#ba.              /
                                                    `####ba.________.'
                                                      ``""""""#####'
                                                               "#&'
                                                             &" #&
                                                             "ad#"
$ tb genie
              .#Pa.
              &# .&
             ,&#.
            ,#####........
          ,'~~~~~~~~'ad####.
         /              `ad#.
        |                 d# |
        |                 #' |
        \   ,--|~\--.     &  |
         ~~>   (  '  '--. &./
          (     \. ,--.  ~~)|
           ~~//@\  |@ | ~~~ /--.
            /|  |  |   \        |
            ||  |  |   /     /  |
            |\  /  \  /      \ ||
            | ~~    ~~   |   .\||
            )   ,       /     \\|
           /  ,--. '---'     / \|
           ~~~  \|~'--.    ,'   '
              ,/\|\    ~(~)
             /\  \ \    |~\
             \      '--'   |
              '.        ,-'
                ~'---'~~


$ tb genie | lr
                                                             .aP#.
                                                             &. #&
                                                               .#&.
                                                      ........#####.
                                                    .####ba`~~~~~~~~`.
                                                   .#ba'              \
                                                  | #b                 |
                                                  | `#                 |
                                                  |  &     .--/~|--.   /
                                                   \.& .--`  `  )   <~~
                                                   |(~~  .--. ./     )
                                                .--\ ~~~ | @|  /@\\~~
                                               |        /   |  |  |\
                                               |  \     \   |  |  ||
                                               || /      \  /  \  /|
                                               ||/.   |   ~~    ~~ |
                                               |//     \       .   (
                                               |/ \     `---` .--.  \
                                               `   `.    .--`~|/  ~~~
                                                     (~)~    /|/\.
                                                     /~|    / /  /\
                                                    |   `--`      /
                                                     `-.        .`
                                                        ~~`---`~

$ cw90 genie
      --\
     /   |
    /    |n
    .    v |     /|
   /|   /  |/---u |
  /#|   |  /--\   | /\
:&&#|   |  /   | / /\ .
####|   -n @   | | /  \
b :#|   | \\--/ /|\\   |
a: #|   \ \      \--\  .
:& :|   |.        |\   |
   :|   | /---\  .. \  |
   :.   \ |@   | ||  . |
   :a    .|    | ||  | .
   :d    |\-  /  |\  | |
   :#    |  \/   . | . |
   \#\   \ |    /  n- /
   \#a    ||   -   || |
    #dq#&&||       u\ .
    \##. :u       /  -
     \   /-/      .
      ---  | /\\ /
           |   \\
           \  --\\
            ------.



$ ccw90 genie
     .------
      \\--  \
       \\   |
      / \\/ |  ---
     .      /-/   \
  -  /       n: .##\
 . \n       ||&&#qd#
 | ||   -   ||    a#\
 / -u  /    | \   \#\
| . | .   /\  |    #:
| |  \|  /  -\|    d:
. |  || |    |.    a:
| .  || |   @| \   .:
|  \ ..  \---/ |   |:
|   \|        .|   |: &:
.  \--\      \ \   |# :a
|   \\|/ /--\\ |   |#: b
 \  / | |   @ u-   |####
 . \/ / |   /  |   |#&&:
  \/ |   \--/  |   |#/
     | n---/|  /   |/
     |/     | ^    .
             u|    /
              |   /
               \--

--------------------------------------------------------------------

Bye,

Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd588,f22e06ce68274ea2
X-Google-Attributes: gidfd588,public
X-Google-Thread: f996b,f22e06ce68274ea2
X-Google-Attributes: gidf996b,public
From: Colin Douthwaite <cfb...@southern.co.nz>
Subject: Re: ASCTOOL.EXE test
Date: 1998/08/21
Message-ID: <903...@mnementh.southern.co.nz>
X-Deja-AN: 383234794
References: <35d...@news.southern.co.nz>
Organization: CLEAR Net, http://www.clear.net.nz/
User-Agent: tin/pre-1.4-980226 (UNIX) (SunOS/5.4 (sun4m))
Newsgroups: alt.ascii-art,alt.ascii-art.animation
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