Jump to content
  • Advertisement
Sign in to follow this  
StayFly

ASCII

This topic is 2227 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement

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.


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 some websites? 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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!