Color Ascii Art Library
thedj_sd writes "As the true slashdot reader you just love ascii art of course. You have toyed around with aalib or maybe you use it all the time to watch your pr0n :) Well VLC media player's senior developer sam was bored some time ago and created libcaca. The Colour AsCii Art library of which he himself says: 'I am perfectly aware that libcaca is the waste of time it looks to be. No need to tell me about that.' But you just can't help looking at that beautiful picture of Stitch, and Doom in coloured ascii is da bomb. It works on dos/windows, Linux and Mac OS X and there is a VLC plugin and SDL backend available."
and I thought aalib was good http://aa-project.sourceforge.net/aalib/
libkacke?
Heh heh. He said "caca".
So bad the name doesn't seems to say much about nice colours .... : )
WTF am I doing replying to an AC at 5 A.M on a Friday night?
Wow, now that is funny. In french, caca means poo or shit. That guy just created "libshit".
.. so I too can view movies in colour when I'm browsing with Lynx :)
Simon
Physicists get Hadrons!
I really have to recommend it! It's great fun to watch! I always use it when I want to watch pr0n but too lazy to fire up X11.
A monkey is doing the real work for me.
I can see it now. Tons of goatse ASCII's coming up :-/
Boy that takes me back ...
libshit is the code name for kernel32.dll : )
WTF am I doing replying to an AC at 5 A.M on a Friday night?
Agreed. Most commercial software firms will not develop with a library if it's name means shit. It's attitudes like this which work against ascii art libraries being taken seriously in the commercial world.
If I seem short sighted, it is because I stand on the shoulders of midgets
Brilliant, eh?
Looks like the hosting server definitely is gone caca... slashdotted already :-(
Daniel
Carpe Diem
http://www.google.nl/search?q=cache:NtGVCbhHFTkJ:s am.zoy.org/projects/libcaca/+libcaca&hl=nl&ie=UTF- 8
:( *sniff* I feel sorry for all these poor websites that get slashdotted away less than 2 hours after they are posted here :P
Note the mirror. /. folks! Please be easy on the server!
libcaca - Colour AsCii Art library
it's da shit!
Hello
Images and tarball are mirrored at http://www.via.ecp.fr/~sam/local/libcaca/.
The libcaca library is a graphics library that outputs text instead of pixels, so that it can work on older video cards or text terminals. It is not unlike the famous AAlib library. libcaca needs a terminal to work, thus it should work on all Unix systems (including Mac OS X) using either the slang library or the ncurses library, on DOS using the library, and on Windows systems using either slang or ncurses (through Cygwin emulation) or .
Libcaca is free software, and can be used, modified and ditributed under the terms of the GNU Lesser General Publice License. The logo on this page is copyrighted by Akira Toriyama so if anyone fancies drawing a new logo it would be much appreciated. Features
The differences with AAlib are the following:
* 16 available colours for character output
* dithering of colour images
* basic sprite primitives
But libcaca also has the following limitations:
* no support for brightness, contrast, gamma
* unefficient character-choosing algorithms
* no alternate fonts
* no raw keyboard support
* mouse support only works for slang
* no custom drivers a la AA-on-X
I am perfectly aware that libcaca is the waste of time it looks to be. No need to tell me about that.
Screenshots
Here are my first libcaca attempts. On the left, my test application, an image viewer. On the right, my first port of an application so that it uses libcaca: the VLC media player.
As with all image processing applications, I needed the obligatory Lenna samples. From left to right: no dithering, ordered dithering, random dithering.
no dithering ordered dithering random dithering
Here are a few examples of my libcaca patch for libSDL. Once there is a libcaca backend for libSDL, any program using SDL can automatically benefit from libcaca's rendering routines. These examples show Frozen Bubble, the SABRE flight simulator, and the famous Doom. Frozen Bubble is fully playable, but SABRE and Doom aren't much due to the Ctrl and Shift keys not being recognized (see the TODO list about that).
Frozen Bubble SABRE Doom splash screen first Doom level Download libcaca
Latest libcaca release is libcaca-0.1.tar.gz. See the NEWS and ChangeLog files.
Until libcaca enters Debian, woody and sid users may use one of the following apt sources: (sorry, sarge is not supported yet)
deb http://sam.zoy.org/projects/debian woody main
deb-src http://sam.zoy.org/projects/debian woody main
deb http://sam.zoy.org/projects/debian sid main
deb-src http://sam.zoy.org/projects/debian sid main
Patch for libSDL
This simple patch was quickly hacked from the AAlib video driver. Apply it to the libSDL sources and configuree libSDL with --enable-video-caca. Then use the SDL_VIDEODRIVER environment variable to run your SDL programs with libcaca output, for instance Frozen Bubble:
SDL_VIDEODRIVER=caca frozen-bubble
Download patch-libsdl1.2-libcaca0.1.diff. Patch for VLC The libcaca patch for the VLC media player was already applied upstream. Check the CVS version. Development The mailing-list for libcaca users and developers is libcaca@lists.zoy.org. To subscribe, send an email to ecartis@lists.zoy.org containing the words "subscribe libcaca". To unsubscribe, just use "unsubscribe libcaca". Please report bugs and make suggestions to libcaca@lists.zoy.org. There is no public access to the SVN repository yet, but you can browse it using the web interface, for instance to have a look at the BUGS and TODO lists.
It'll probably get slashdotted quickly, but for those who remember ANSI Art groups like iCE and ACiD I am in the process of creating a library of their packs viewable online. http://ansi.idledreams.net for the actual site and http://idledreams.net/ansi/ for news about it.
why did this get modded as funny ?
he was serious ?!
is it because it contains the word "caca" ?
Man, that was fast. One second I was loading and reading the libcaca page, I immediately browsed down to the links to the images, and after some 30 seconds after I loaded the page, already the PNG's (or indeed the entire server) was unavailable. There is a mirror for the images, though:
http://www.via.ecp.fr/~sam/local/libcaca/
JeR
I'm a true slashdot reader, but I don't like ASCII "art". Who came up with this nonsense, anyway?
So we have now Big Mouth Billy Bass linux support . We have color Ascii Art Library. Wow. I really needed those two.
But when we're talking about it more seriously: I've heard once from CTO of some medium-business company, when I was suggesting him to use some Open Source solution instead of MS SQL based system: Yes. I know that they do lots of useful things, but how can I trust to people who release stuff like aalib.
So the bottom line is they will never consider us geeks as serious conversation partner. OS movement needs some white collar guys, that can speak to all those marketing infested CTO's CEOs and other wiseasses. The ones that speak marketingish.
In Portuguese (ranking #7 of the most spoken language), caca is a synonym for feces. Not a very fortunate name for a library I would say.
Actually, caca is more like "poop".
For those interested, here's Text mode Quake and AsciiMac, wich seem to predate the previous one, including the X11 ASCII art thing.
What is it with ASCII??
Amazing stuff... now what? let me guess... 1) a KDE emulator for the console, with COLORS! 2) most games ported ... imagine WarCraftIII in pure ASCII... well, the refresh rate got to be good, though =)
And all those posts that say it's a waste of time... just think broad!
http://www.automatiq.se
libcaca - Colour AsCii Art library
it's da shit!
you would know it was intended...
The Colour AsCii Art library of which he himself says: 'I am perfectly aware that libcaca is the waste of time it looks to be. No need to tell me about that.'
Sounds like he has a pretty humble attitude about this whole thing.
Click on it !
"Honey, I feel a certain distance between us..." "Really? A 31ms ping ain't that bad..."
I can't view this now - big brother's proxy and all - but it sounds like the good old days of the C64 BBSs that used PETSCII graphics. Full color, and many graphical characters - however ALL CAPS TEXT ONLY! But the days of the good old animated prompts and colorful message boards are still in my memories, yet I have no desire to go back to them and wait for a cursor to jump all around the screen at 1200 baud!
Apple provides an ASCII quicktime movie player, here:
d e/ QuickTime/Goodies/ASCIIMoviePlayerSample.htm
http://developer.apple.com/samplecode/Sample_Co
There's nothing quite like watching the Matrix trailer in ASCII glory.
You can tell a great deal about the character of a man by observing those who hate him.
Is ascii the plural of Ascus?
I'm _really_ sorry...
It's a nice-looking implementation. but it's been done before in colour, somewhat badly...
:-)
http://www.compsoc.man.ac.uk/~afoster/asciitv/
I wrote this a few years ago, before I discovered the joys* of aalib. It had been going to be a full terminal-based television program, but my programming skills weren't really up to it. Plus grabbing teletext subtitles proved too fiddly.
Behold! The human form in all it glory!
You can even recreate classic works of art:
The Arnolfini Wedding Portrait by Jan Van Eyck:
______
|..(......_
|@@....
|..d........
The Creation of Adam by Michaelangelo:
Tyr Hits! -more-
And for God's sake, lighten up the lameness filter!
Yes, it means what you think it means.
Just see the logo
45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
mod parent down, has severe case of christianitus.
How the hell did this get moderated "3, Interesting"? I suggest these alternatives:
"-2, Prude"
"-1, Ain't got any lately"
"-3, Is embarrassed about penis size"
Version for Windows is not available yet, but when it becomes available, it will probably be called "WinCaca," which sounds more like a nickname for Win Me (or *any* versions of Windows at all).
What about when the porn in question was created by two drunk white-trash yanks in front of their webcam?
Surely that's okay? No-one being exploited, etc.
His webpage logo is clealy a lop of poo.
Trolls lurk everywhere. Mod them down.
Sounds like the perfect time to try out my new video card!
Sweeeeet! ;)
Well you're not watching what I'm watching... I've seen all sorts of stuff where women are the central objects of domination, including of course lesbian action... the market of supply and demand is there, people get paid to do it, stop calling it exploitation for crying out loud! If you're not comfortable with it, you don't have to watch it, condone it, or pay for it.
Bah! If it doesn't support unicode, what's the point?
For Windows users, there's ZMatrix:
http://zmatrix.sourceforge.net
if you want ASCII art goodness on your desktop.
Only in softcore, my friend, hardcore pr0n also has penetrations to amazing depths...
Now maybe we can finally replace X with a modern graphical user interface!
"'I pass the test,' she said. 'I will diminish, and go into the West, and remain Galadriel.'"
- JRR Tolkien.
What about Publishit Pro? http://www.huamed.com/publish/
You, sir, would have my mod points if you weren't already at 5+ Funny.
Thank you for brightening my day.
So where can I find the screenshot of libcaca showing this so called pr0nography? :)
I like that the thumbnails on his page are as detailed as, and easier to look at than, the pictures they link to.
I wonder in fear what kind of application the poopsmith might build with that library...
In Soviet Russia, our new overlords are belong to all your base.
Whenever someone mirrors some webpage in a /. posting, because the crowd has downed the server, he can use this lib to mirror the images too.
I really hope this means people getting into more "ascii" art type things, like games.
:)
It would really great if somebody out there could help out with the Trek7 project over at sourceforge!
http://sourceforge.net/projects/trek7/
I'd also like to get my "Bambi vs Godzilla" ascii art movie online... Yes, movies!
But really, trek7 is the one I need the most help with. Aren't there any Trek7 fans out there?
Correct, not all porn is of the same character. As for lesbian porn, the basic idea is that men should fantisise about having two women at the same time, and we all know that what a pair of lesbians really wants to do is pleasure a man, right? Besides, when did you ever see two men getting it on in the middle of a "normal" porno movie? No, female homosexuals are something cute and male homosexuals are something strange to put on a different shelf.
Your capitalist point of view is too simplistic. The economical sustainability of an industry is completely irrelevant to its ethical implications or whether or not someone is exploited. Just take a look at the meat industry, or any of the industries which uses underpayed workers in the third world (bordering to slavery sometimes) to see that economics and ethics have nothing to do with each other. I'm not comfortable with it, I don't watch it, I don't condone it and I don't pay for. But I'm not going to shut up about it.
For a load of textmode demos (ya know, futurescrew-esque type demos), have a gander at
http://taat.fi/tmdc/download.html
They're for windows + run in a command window once you've dbl-clicked an exe. EnJoY
Careful now.
Down with this sort of thing!
Fry: heh, Yakov Smirnoff said it
Leela: No he didn't.
It seems from the posts that it's also shit in a lot of european languages.
We are Turing O-Machines. The Oracle is out there.
Indeed if you have the latest drivers for the DirectX series of ATI cards installed ( Catalyst 3.8+ ) you will find a smartshader menu in the display properties. Smartshaders are applyed in the last pass on the picture before its send to the screen. There are filters for making it look like a classic painting and things like that. In the settings for OpenGL smartshader there is a option to render the picture as ASCII ( only white /black or green/black though ).
However it way funny to play Call of duty in ascii .
people dont have a problem using and abusing the Gimp .. playing with libcaca doesn't seem so bad.
.. i hear stuff like that is poular in Japan ..
actually how about piping the Gimp through libcaca
That's taking me back about 10 years. Oh shit, I'm 16 and I can't get a fucking date! AAaaaah!
Glad I'm really 26 and married. Oh, wait - AAaaahhh!!!
Seriously, thanks for posting the stuff.
-Looking for a job as a materials chemist or multivariat
to survive a slashdotting when your site is all low bandwidth ascii art!
Should I bother releasing my patch to AALib? Replaces the monochrome buffer with a 32bpp RGB- buffer, uses a much more tuned colour-selection system than libCACA appears to.
A screenshot of the BattleToads title screen, linked out of Archive.org as I don't have a current website for the TextNES emulator worth pointing too at the moment, unfortunately.
But yeah... been there, did that, didn't think anyone would be interested so I never released the patch.
Do you think this is the right place to spam for a crappy ASP-script?
Do you think anyone in their right mind would only remotely consider to use your ridiculous little ASP script for anything?
Dude, this is slashdot. Nobody wants your ASP crap. And nobody will pay you $50 for it.
We can have better for free.
"""Besides, when did you ever see two men getting it on in the middle of a "normal" porno movie? No, female homosexuals are something cute and male homosexuals are something strange to put on a different shelf."""
It's because porn is intended for the beat-off needs of straight men. Lesbians are often sexy to straight men; homosexual men are not. It's as simple as that.
There is some pornography made by and for women (lesbians, at least); see "On Our Backs." There is lots of pornography made for gay men. And some straight women enjoy pornography intended for men, straight or gay.
The truth is, the reason little porn is made for women is because they are a poor market. Women have historically prefered softcore kinds of things, as well as erotic literature.
To reiterate: the majority of pornography is developed for the pleasure of males, mostly heterosexual but sometimes homosexual. This is simply because the concept of pornography is more attractive to men in general. Women just happen to prefer more fantasy-laden media.
By the way -- are you suggesting that female-to-male domination fantasies are all right, while male-to-female domination fantasies are sexist and damaging?
I've seen porn where women used strap-ons on men. Pretty scary for a heterosexual male like me, but it exists. Is this exploitation? I've also seen lots of porn where a lot of time is spent pleasuring the woman. Yes, hetero porn has lots of cumshots (and anal penetration, nowadays). But I've seen rather mainstream "squirting" porn where a guy gets a female ejaculation in the face. It's rare, sure. Mostly because female ejaculation is rare and it's much harder to aim it at someone's face.
Anyway, I'm rambling here. Yes, pornography is often exploitative. On the other hand, female porn stars are paid significantly more than males, and are better able to negotiate the types of film they appear in. And as Asia Carrera says, porn is hard work for men.
It merely converts the picture to lower resolution image by replacing each pixel with a symbol like * or @ with different colour. This is cheating. Anyone can write a program that does this conversion.
The real ascii art uses only black text. And by using different ascii symbol, it can create the black and white and different shade of gray to protray an image.
For instance, Simpsons ASCII ART
Go ahead release it. I always wanted color in aalib..
Big ups to Acid, Ice and s0ap. May the memories stay leet.
Every time there is a story about someone doing something just for the hell of it some tool comes along and says that it's a bad idea because it doesn't directly enrich Linux/Open Source/The Roman Empire/Whatever in the manner that said poster wants it to.
Dude, and all of your close-minded brethren, chill the hell out. People do these things because they are having fun. They do them because they WANT to.
Not everyoine gives a damn about Fighting The Big Fight. Get over yourself.
Boobies never hurt anyone. - Sherry Glaser.
Somebody who was honestly concerned about exploitation of garment or sex workers would not be trying to abolish their trade, but rather working to improve working conditions for those in that industry. It is a safe bet that what workers in foreign garment factories want is not for Westerners to stop buying their products (thereby throwing them out of work), but rather for their employers to be pressured to provide improved working conditions--shorter hours, better wages and benefits, job security and retraining. In other words, the same things that workers in every other industry want, but keeping in mind that demanding true parity with Western labor standards is just another way of throwing them out of work.
I can now play Unreal Tournament/whatever on my silent p90 thin-client
A blog I run for the wealth
I just can't wait to run GIMP in my CGA-equipped Pentium 4.
Actually you can do a lot more than that, like with this program I wrote which uses shape based correlation to match the font to the image data.
No, I don't see it as any better when women dominate males than the other way around. The problem lies in that the norm is the male being the dominator. Porno isn't a bad thing per definition, but I think in its current state it's only helping to enfore the patriarchy and keeping men and women separated. If people want to do the things that happens in porno (anal, facials, whatever) at home that's no problem, but it's not good that majority of porno is all the same and gives a severly distorted view on sexuality.