Generate 2d images on the fly

T

timasmith

Hi,

How difficult is it to draw ascii images on the fly with specific
values e.g.


______
/ \
| 15 |
\______/

Say there were many shapes, many values, specifically placed in a
pattern.

Are there examples online, on how I could create the lines, placing
numbers (runtime) in various fonts within the shapes?

I guess it is a drawing package that perhaps generates .png on the fly?

thanks

Tim
 
A

Andrew Thompson

How difficult is it to draw ascii images

I've heard of 'ASCII art', what's an 'ASCII image'?
...on the fly with specific
values e.g.


______
/ \
| 15 |
\______/

Huhh? (tilts head) What is that supposed to be an example of?
Does '15' relate the the other characters shown?

Andrew T.
 
I

Ian Wilson

Hi,

How difficult is it to draw ascii images on the fly with specific
values e.g.


______
/ \
| 15 |
\______/

Say there were many shapes, many values, specifically placed in a
pattern.

So far, your question makes it seem as if you want to generate ASCII
art, that is some "graphics" composed solely of letters, digits and
punctuation characters in a rectangular grid.
Are there examples online, on how I could create the lines, placing
numbers (runtime) in various fonts within the shapes?

Well "various fonts within the shapes" rules out ASCII art, what did you
mean by "ascii image"?
I guess it is a drawing package that perhaps generates .png on the fly?

Mention of .png, a bitmap image format, makes it even less likely your
"ascii image" means images composed solely of monospaced ASCII characters.

Are you familiar with the Java2D API?
http://java.sun.com/products/java-media/2D/learning/tutorial/index.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top