Talk: Light and Dark Effects
From Ric Hotchkiss <geh...@sdrc.com>
· alt.ascii-art
· 15 Aug 1994 19:43 · View full thread
· report
In article <32f7ie$af...@gagme.wwa.com>, den...@muddcs.cs.hmc.edu (Denis Moskowitz) writes:
|>
|> In article <32f15d$7a...@gagme.wwa.com>, Bob Allison <bob...@wwa.com> wrote:
|> >Raymond Lai <c91...@peach.newcastle.edu.au> wrote:
|> >>::-:--: :--=-= -=-====# =#=##=#= ###### ##=##= #=#==-#= -=-==--- =-: --: :-:
|> >>:-: :-- =-= =-= -== =## ### ##= =#= =-= ==- =-- -=- -:- -::
|> >>:-::-- -:- -=-==-== =#==##= ##### ##= #===#=- -=- -=- =-= -:- ::-
|> >> ::-:-- -:- --==--== ==###= ##### ##= =#=#=- ==- --= -=- --: :-:
|> >> :-- :-- -== =-= #=# =## ### #=# #=# =-= =-- -=- =-: -:- -::
|> >>::-::-- -:--=- =-= -== =#= ##= ###### ##=#=# =#= #=- ==--=--- -=--:--:-:-::
|> > That's one effect I don't think could be Figletized. I think somebody
|> >would have to write a standalone program just to do that one effect. I'd
|> >like to see that. Is anybody willing to write it?
|>
|> Well, not just that one effect. A program could probably be made that would
|> take any "background" text and apply a simple blocky design to it, as a mask.
|> so:
|>
|> 1234 ### 123
|> 3456 plus # # equals 3 6
|> 5678 # # 5 8
|> 7890 ### 789
|>
|> to take a useless example. Then you take a screen-wide gradient like the
|> one used above, apply a blocky font to it (which could be figlet) and tada!
|> If I was going to write it (which I probably won't get around to) I'd use
|> Perl, but I'm just a Perl junkie. Anyone with more time up for it?
|> --
|> Denis/Tesser M Moskowitz Jen feroca malbona kuniklo; rigardu liajn
|> den...@muddcs.cs.hmc.edu sovagxajn vangharojn, kaj liajn ungojn kaj
|> This Is Realtime! -><- lian faldan voston.
|> <a href="http://www.cs.hmc.edu/people/denis.html">My WWW page</a>
Although not just as simple as a single command, using various options of my
modasc program you could achieve this effect.
1. Create original text using your favorite font. Save in a file (orig)
echo "test" | figlet -f banner > orig
##### ###### #### #####
# # # #
# ##### #### #
# # # #
# # # # #
# ###### #### #
2. Use modasc to change the foreground/background characters to ones you will
not use in your final creation (mod1).
modasc -b B -f ' ' orig > mod1
BBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BB B BB BB BB
BBBB BBB BBBBBB BBBBBBBB BBBB
BBBB BBB BBB BBBB BBBB
BBBB BBB BBBBBBBBBBB BBB BBBB
BBBB BBB BBBBBB BBBB BBB BBBB
BBBB BBB BB BBBB BBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBB
3. Create a file of the same height/width as mod1 with the background shading
you want (back)
.,:;!ietkS&@N###N@&Sktei!;:,.
.,:;!ietkS&@N###N@&Sktei!;:,.
.,:;!ietkS&@N###N@&Sktei!;:,.
.,:;!ietkS&@N###N@&Sktei!;:,.
.,:;!ietkS&@N###N@&Sktei!;:,.
.,:;!ietkS&@N###N@&Sktei!;:,.
.,:;!ietkS&@N###N@&Sktei!;:,.
.,:;!ietkS&@N###N@&Sktei!;:,.
4. Use modasc to overwrite the spaces in mod1 with the characters in back
(mod2).
modasc -o back -- mod1 > mod2
BBBBBBBBBBBBBBBBBBBBBBBBBBBBB
BB:;!ieBkS&@N#BBN@&SBBei!;:BB
BBBB!BBBkBBBBBB#BBBBBBBB!BBBB
BBBB!BBBkS&@NBBBN@&SBBBB!BBBB
BBBB!BBBkBBBBBBBBBBBkBBB!BBBB
BBBB!BBBkBBBBBB#BBBBkBBB!BBBB
BBBB!BBBkS&@N#BBN@&SBBBB!BBBB
BBBBBBBBBBBBBBBBBBBBBBBBBBBBB
5. Use sed to replace the background (modified in step 2) with spaces
sed 's/B/ /g' mod2 > final
:;!ie kS&@N# N@&S ei!;:
! k # !
! kS&@N N@&S !
! k k !
! k # k !
! kS&@N# N@&S !
Modasc provides the following functions:
replace background with specified characters.
replace foreground with specified characters.
make text italic
mirror image
rotate image by 90 180 270 degrees
overwrite blank part of image with another file
make shadows
make image taller or wider
randomization is under development.
--
|\ ___ _ _ _ _ _ _ _
(|_|_\________________ | _ (_)__| |_| |___| |_ __| |_ | |_(_)______
)|____________________| | / / _| _ / _ \ _/ _| ' \| ' / (_-<_-<
(| |___\ The Draftsman |_|_\_\__|_| |_\___/\__\__|_||_|_`_\_/__/__/
Of Course, my opinions do not reflect those of my employer, that's not my job!
Original message headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110f55,ab8df5e14ba93727 X-Google-Attributes: gid110f55,public X-Google-Thread: f996b,ab8df5e14ba93727 X-Google-Attributes: gidf996b,public X-Google-Thread: fbb9d,81a6a01a090a15aa X-Google-Attributes: gidfbb9d,public X-Google-ArrivalTime: 1994-08-15 12:49:50 PST Path: bga.com!news.sprintlink.net!sashimi.wwa.com!gagme.wwa.com!not-for-mail From: geh...@sdrc.com (Ric Hotchkiss) Newsgroups: rec.arts.ascii,alt.ascii-art,alt.binaries.pictures.ascii Subject: Talk: Light and Dark Effects Date: 15 Aug 1994 14:43:24 -0500 Organization: SDRC (Structural Dynamics Research Corporation) Lines: 111 Sender: bob...@gagme.wwa.com Approved: bob...@wwa.com Message-ID: <32oggs$it...@gagme.wwa.com> References: <32f0l5$72...@gagme.wwa.com> <32f15d$7a...@gagme.wwa.com> <32f7ie$af...@gagme.wwa.com> NNTP-Posting-Host: gagme.wwa.com Xref: bga.com rec.arts.ascii:1275 alt.ascii-art:11243 alt.binaries.pictures.ascii:991
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]___ |:::::::::::|\ `-=========-`()
Make your own ASCII art
Turn images, text or 3D into ASCII, or draw your own – right in your browser.
About this message.
This message was posted publicly to the newsgroup
alt.ascii-art
in 1994 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.