Questions tagged [ascii-art]

ASCII art is a graphic design technique that uses computers for presentation and consists of pictures pieced together from the printable characters. The term is also loosely used to refer to text based visual art in general. ASCII art can be created with any text editor, and is often used with free-form languages. Most examples of ASCII art require a fixed-width font such as Courier for presentation.

ASCII Art can be easily generated with programs like figlet:

$ figlet ASCII-Art
    _    ____   ____ ___ ___        _         _
   / \  / ___| / ___|_ _|_ _|      / \   _ __| |_
  / _ \ \___ \| |    | | | |_____ / _ \ | '__| __|
 / ___ \ ___) | |___ | | | |_____/ ___ \| |  | |_
/_/   \_\____/ \____|___|___|   /_/   \_\_|   \__|

Generating geometric patterns (such as rectangles, triangles, circles, and stars) in ASCII art is also a common exercise in introductory programming courses.

371 questions
-3
votes
2 answers

ASCII art and numbers

I'm trying to write code that prints a number input by a user in a right triangle. For example, if 8 is entered, it should look as below: * ** * * * * * * * * * * ******** 1 12 123 1234 12345 123456 1234567 123345678 I'm trying to get…
CJ15
  • 29
  • 6
-3
votes
1 answer

write square root of expression in text file in

i need to write root of an expression in text file, but all of the expression have to be below that root. Some tips ? is there any way to use symbols from MS word , and write that in docx file? or something similarly
Milan
  • 41
  • 7
-3
votes
3 answers

make an ascii move in linux shell

How can i make a train ascii to look like it's moving in the linux shell from right to left? _-====-__-____-============-__ _( _) …
Nir1612
  • 31
  • 1
  • 1
  • 4
-3
votes
3 answers

Regarding a star pattern

I am trying to print below star pattern * *** ***** *** * I am using below logic to print : * *** ***** Code for first half: int i, j; for (i = 1; i <= 3; i++) { for (j = 1; j <= i; j++) System.out.print("*"); for (j = i - 1; j >=…
GyaniPundit
  • 133
  • 1
  • 8
-3
votes
3 answers

ASCII Art, Issue with Code Blocks C++

I can't understand why the "\" doesn't appear when i run the program. I want to make some ASCII Art and "\" is basic for the picture i want to make.Is there any solution? I am using Code Blocks .
Manuel Pap
  • 1,309
  • 7
  • 23
  • 52
-3
votes
1 answer

python distorted ascii art

Hello good people of Stack Overflow, It seems that I am back here with an inquiry. I have 'borrowed' some ascii art off the internet to use in my program, don't worry, I have given full credit to the artist at the end of it. Anyway, no matter how I…
-4
votes
2 answers

How to print a diamond pattern using only two loops?

Could anyone tell me how to modify my code. I want to print a diamond pattern using only two loops. If I enter 5, the diamond should be like this: * *** ***** *** * I am half way done. here is what I got so far. 5 * *** ***** …
Shawn99
  • 15
  • 4
-4
votes
1 answer

ASCII art - Fixed Borders in C/C++

I'm trying to create a program that will generate a character sheet that I will be able to change easily. However, I want it to look good so I'm going to be using some ASCII art to create borders within the sheet. I was wondering how I could create…
Paden
  • 27
  • 6
-4
votes
1 answer

Is it possible to create star pattern or star pyramid using switch case.?

I was wondering to know is it possible to create star pyramid using switch case.
शु-Bham
  • 952
  • 1
  • 7
  • 14
-5
votes
2 answers

how to Tryparse Numbers from Text file like ascii art?

how can i get the numbers that are coded in a ascii art with sticks? the numberss are in a txt file und it contains this: I must convert this txt file in 3 2 1 4 5 1 4 5 I read the text file so: using (StreamReader sr = new…
Almir M.
  • 76
  • 9
-6
votes
2 answers

How do I convert highly formatted textual table data into HTML?

This ASCII-art table is literally what I need to parse: \---------\-------------\-------------\ | Username| IP | Connected | \---------\-------------\-------------\ | test | 127.0.0.1 | Yes | | atest | 192.168.2.1 | No …
user1494162
  • 316
  • 1
  • 3
  • 10
1 2 3
24
25