Sign in to follow this  
StayFly

ASCII

Recommended Posts

[quote name='RoyalRyan' timestamp='1347391469' post='4979017']
Hello,

I am looking for some tutorials both video and written are welcomed that will help me create ASCII art in Java.

Thanks you for your help.
[/quote]

I think you might be confusing the two, Java can be used to render the art(and if you wanted to write an editor, even make the art), but in general Art is created in some other program, to be imported into your game/program.

are you looking for how to render ASCII(essentially Text rendering), or are you looking to learn how to draw ASCII art?

Share this post


Link to post
Share on other sites
In my java programming class we got an assignment we have to Write a program that will create An ASCII animal. Sorry am really new to this stuff but am not trying to draw ASCII art. I need the program to output the animal I am trying to create.

Share this post


Link to post
Share on other sites
What???
What do you want to do, output the ASCII art for an animal, or generate the ASCII art. I've never seen it generated before. I think its more likely your meant to be outputting existing ASCII data to the screen.

There is some ASCII art:
http://upload.wikimedia.org/wikipedia/commons/a/a3/ASCII_Panzer_unt_Sattelzug.png

I advise you look at it and realise what your asking.

Share this post


Link to post
Share on other sites
Do you mean you need to write a program that generates ASCII art, like you can do at [url="http://www.glassgiant.com/ascii/"]some websites[/url]? I suspect you need a lookup table mapping colour value to glyphs by pixel density (er sumpin') and go frome there.

Unless you mean good ol's Snoopy like we used to get on tractor feed line printer paper when I was a kid in the 60's.

Share this post


Link to post
Share on other sites
There's two ways that I interpret this assignment, and I suggest you ask your teacher for clarification if you don't know.

You either need to write a simple program that outputs lines of ASCII text, such that the output resembles an animal. In this case, the exercise is just meant to be a test of your knowlege of Java's console output system.

You need to convert an arbitrary photo that happens to be of an animal, into ASCII art that resembles the photo. This is defiantly not a CS101 topic, and since you say that you're new to this, I assume your teacher meant the first thing.


Can you clarify that the first thing is what they want, or explain what they want more clearly if it is something else. Then we might be able to help, but the policy for homework questions is not to give direct help, and to only help you find the answer yourself.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this