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 Subject: Re: ASCTOOL.EXE test Date: 1998/08/21 Message-ID: <903675403.386114@mnementh.southern.co.nz> X-Deja-AN: 383234794 References: <35dd1271.28176@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 Colin Douthwaite 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,