Questions tagged [ascii-art]

This challenge involves creating or parsing pictures using text characters as the paint. Typically this uses only 95 printable (from a total of 128) characters defined by the ASCII Standard from 1963.

Filter by
Sorted by
Tagged with
24
votes
5answers
4k views

Draw an ASCII oak tree (or a woman with curly hair?)

Task Your task is to draw these beautiful oak trees: ...
44
votes
15answers
3k views

The Drunken Bishop

In public-key cryptography, a public key fingerprint is a short sequence of bytes used to identify a longer public key. In SSH in particular they can be used to verify that a server is in fact the ...
14
votes
42answers
4k views

ASCII Meme Arrow Generator

Specifications Given a number n, output an ASCII "meme arrow" (greater-than symbol, >) of size ...
21
votes
6answers
2k views

Random ASCII Art of the Day #5: Diamond Tilings

Mash Up Time! This is instalment #5 of both my Random Golf of the Day and Optimizer's ASCII Art of the Day series. Your submission(s) in this challenge will count towards both leaderboards (which you ...
60
votes
143answers
11k views

Draw an asterisk triangle

Inspired by a task for programming 101 here's a task that hopefully isn't too easy or is a duplicate (kinda hard to search for things like this). Input: A positive integer ...
25
votes
13answers
4k views

This highway needs rain across both of its lanes

In this challenge you will take a an ascii art image of a highway like so ...
67
votes
21answers
9k views

All in all it's just, uh, another trick in code golf

The purpose of this challenge is to produce an ASCII version of the cover of this great album by the rock band Pink Floyd. The brick junctions are made of characters ...
73
votes
18answers
4k views

Golf Dennis a thermometer

Dennis puts in a huge amount of effort for this community, including as moderator, language designer, and provider of TIO. Unfortunately, his four-year-old daughter has caught a cold, so let us all ...
22
votes
24answers
3k views

Fractal Cathedral

Given a positive integer n >= 1, output the first n rows of the following structure: ...
171
votes
98answers
38k views

Programming Languages Through The Years

In this challenge, users will take turns completeing three fairly simple coding tasks in programming languages that are allowed to be progressively older. The first answer must use a programming ...
11
votes
8answers
542 views

Visualize Inclusion-Exclusion

Inclusion-Exclusion lets you calculate the sizes of some unions and intersections between sets knowing some of the other values. I won't explain it exactly, but your challenge is to visualize ...
26
votes
28answers
35k views

Recreate the ASCII-table as an ASCII-table

Frequently while I'm code-golfing, I'll want to know what the ASCII value of a certain character is. One of my favorite resources for quickly looking up all of the printable ASCII characters is ...
20
votes
28answers
2k views

Alternating Triangles

Given a strictly positive integer n (therefore 0 isn't a valid test case), produce an approximate triangle of height ...
5
votes
2answers
272 views

Your Oscilloscope has ExPloDEd ! Make a sine wave [closed]

[ CODE GOLF] BAM! - Fire and Smoke Your Oscilloscope has exploded from one too many waves. Re-create these waves assuming the following: All waves are Sine Waves An amplitude of ...
20
votes
37answers
3k views

Print the Stack Exchange favicon

Challenge Print or return the Stack Exchange favicon, as provided below: ...
23
votes
26answers
4k views

Drink your morning coffee

Draw this Ascii coffee cup: o o o __________ / \__ | J | \ | A | | | V | | | A |__/ \__________/ Brownie points for coffee-script or java :) ...
17
votes
6answers
499 views

Can't see the forest for the keys

Write a program or function that takes in a nonempty list of integers in any reasonable convenient format such as 4, 0, -1, -6, 2 or ...
22
votes
16answers
5k views

ASCII art is ready for take-off

Task Given a positive integer n, draw the corresponding rocket. Examples From n = 1 to 4 ...
18
votes
20answers
940 views

Make me a blanket!

I want a blanket that looks like this. Each strip goes over, under, over, under. Can you print it? ...
19
votes
27answers
2k views

Not too hard to code this right?

You have to write a program or a function in any language that outputs this pattern: ...
44
votes
83answers
10k views

Draw an ASCII chess board!

Here is a simple challenge for you: You must produce this ASCII representation of a chess board. White is represented by uppercase characters, and black is represented by lowercase. Empty tiles are ...
17
votes
13answers
2k views

Place a glider!

This: is a Glider. In Conway's Game of Life, the glider is a famous pattern that rapidly traverses across the board. For today's challenge, we are going to draw an ASCII art Game of Life Board, and ...
178
votes
28answers
20k views

Do you want to code a snowman?

Here is a simple ASCII art snowman: _===_ (.,.) ( : ) ( : ) Let's make him some friends. This will be the general pattern for our ASCII art snowpeople: ...
87
votes
79answers
22k views

It took me a lot of time to make this, pls like. (YouTube Comments #1)

Hold up..... this isn't trolling. Background These days on YouTube, comment sections are littered with such patterns: ...
30
votes
41answers
9k views

Will Jimmy fall off his platform?

Backstory Meet my friend Jimmy: /o\ Jimmy is a little character who likes to stand on platforms. Here's Jimmy safely standing on a platform: ...
20
votes
23answers
1k views

Output a pretty box

Your challenge is to exactly output the following box: ...
23
votes
6answers
6k views

ASCII Pizza (no pineapple)

I like pizza! Task Given the radius of a pizza and a list of ingredients, create the corresponding ascii pizza! Example size 4 pizza with mozzarella cheese, olives and ham: ...
100
votes
14answers
5k views

Seven Slash Display

Write a program that takes in a non-empty string of the digits 0 through 9 and prints how they would be shown on a seven-segment display using slashes (/, ...
18
votes
8answers
2k views

Code a code page

Introduction A code page maps integer values to a specific character. We can visualize a code page like this: +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+ | | 0 | 1 | 2 | ...
30
votes
56answers
5k views

ASCII Triangles

Your task is to write a program or a function that prints an ASCII triangle. They look like this: |\ | \ | \ ---- Your program will take a single numeric input <...
23
votes
16answers
2k views

Classic VCS ASCII Adventure

Growing up, my first console game system was an Atari 2600 and I will always have a love for some of those games I so enjoyed as a child. Many of the graphics are still memorable, perhaps even iconic....
21
votes
35answers
2k views

Give me Triangles [duplicate]

Given an integer n>0, write a program that will output an "isosceles" Triangle out of #'s of height n. Examples: ...
59
votes
13answers
5k views

Build a sandpile

An abelian sandpile, for our purposes, is an infinite grid with integer coordinates, initially empty of sand. After each second, a grain of sand is placed at (0,0). Whenever a grid cell has 4 or more ...
22
votes
85answers
6k views

Make me a square!

Task Given one non-whitespace printable character, make a 3x3 square representation of that input. For example, if the input is #, then the output is: ...
17
votes
51answers
4k views

Greeting The User

Create a program which when run displays the text below: )-*-*-*^_^*-*-*-( | Welcome User! | )-*-*-*^_^*-*-*-( Use any functions or language to answer this, have ...
9
votes
1answer
588 views

HappyCube Puzzle Solver

This challenge is inspired by a puzzle I played, consisting of foam pieces like these: which have to be assembled into 3D cubes, like these: The puzzle pieces can be viewed as grids of 5 * 5 squares,...
14
votes
7answers
2k views

Draw the Sierpinski Arrowhead Curve

Introduction The Sierpinski Arrowhead Curve is a curve that's limit is Sierpinski's Triangle. It first starts like this: _ / \ Then, each line is replaced ...
31
votes
23answers
3k views

Make it rain characters

Inspired by this chat mini-challenge. Given a string as input (ASCII printable characters only), output the string with the letters "raining" down. Each letter must be a random number of lines ...
24
votes
24answers
4k views

Fill a bowl with alphabet soup

We seem to never get tired of alphabet-related challenges... The recipe Given a string of letters S, and two positive integers ...
19
votes
41answers
4k views

Make me a s'more!

Make me a s'more! I tell you the width, the amount of graham cracker, the amount of chocolate, and the amount of marshmallow. An example: Input: Width: 10 Graham: ...
24
votes
16answers
2k views

Draw ASCII boxes in boxes

Problem given input a,b,c where a,b,c are positive even integers and a > b > c ...
20
votes
20answers
3k views

Draw a big ASCII X

Problem Inspired by a previous challenge doing something similar Given positive integer input n output a shape that follows this pattern: input ...
23
votes
19answers
3k views

Fold a string into a triangle

Given a string whose length is divisible by 4, make a triangle as demonstrate below. If the string is abcdefghijkl, then the triangle would be: ...
3
votes
20answers
1k views

Make text triangle waves

I was messing around on my 'ol TI-84 CE and made a program that produced this output (it was actually bigger but that is not the point): ...
17
votes
6answers
904 views

A cube of text ݀

Last time you made a square of text, but now, can you make a cube of text? The Challenge Given a string, output the string in the form of a cube. You can assume the string will always have 2 chars ...
16
votes
26answers
3k views

Try to make a cube!

Based on this: Make me a square! You need to output this: #### # # # ### # # # # #### Where "#" is replaced with the input. If you input "A", you should ...
41
votes
11answers
4k views

Build a steady brick wall

A brick wall is a rectangle made of horizontal 1-by-n bricks stacked into rows. Here's a wall of height 4 and width 8, with brick sizes shown on the right. ...
12
votes
9answers
2k views

Flag Semaphore Encoder

Your goal is to write a flag semaphore encoder, which will convert a given sentence into the corresponding flag semaphore characters, according to the semaphore system described on Wikipedia. Assume ...
55
votes
24answers
5k views

Make a Bowl of Alphabet Soup

This is what we'll call a bowl of alphabet soup - a roughly circular ascii-art shape with the 26 uppercase English letters (A-Z) arranged clockwise to form the perimeter: ...
9
votes
12answers
759 views

Asterisks viral

Given a positive integer N ("virality"), your program should create an ASCII-art drawing of a tree with two branches of length N extending downwards and/or rightwards from the top-left corner. The ...

1
2 3 4 5
22