A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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
13
votes
10answers
692 views

Deal an ASCII Deck

There's never really been a definitive ASCII-cards challenge AFAIK. So, using the following deck of ASCII cards: ...
11
votes
6answers
464 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 ...
16
votes
17answers
1k views

Draw the lambda blazon

To celebrate the 2497th anniversary of the Greek victory at Salamis in 480 BC. Draw the lambda blazon. The lambda blazon was the lambda painted on greek shields like so: Puzzle: Given a positive odd ...
16
votes
10answers
699 views

Triangular Numbers

(no, not those ones) The Challenge You'll be given two inputs. The first is a positive integer n > 0, which is used to output an ...
13
votes
17answers
1k views

Ten-row bar chart

This is Hole-1 from The Autumn Tournament of APL CodeGolf. I am the original author of the problem there, and thus allowed to re-post it here. Given a list of numbers, produce a horizontal bar chart ...
3
votes
2answers
442 views

A Slashy Dashy Spiral [duplicate]

Given a positive integer N, output the innermost N×N square of an ASCII art spiral made of -|/\ that spirals clockwise inward. The ...
8
votes
5answers
624 views

Life and Death of Trees

The Challenge Write a program that takes an integer N as input, and outputs the stage of life or death that a tree is currently in. N will always be between 0 and 10. The Stages of Life and Death ...
23
votes
8answers
1k views

Casciitum Scribe

Introduction Cacti come in various different sizes, shapes and colors. However, the most iconic cactus and must-have in every Western has to be the saguaro. Important features are its size and arms, ...
51
votes
42answers
3k views

Illustrate the Least Common Multiple

Given two positive integers, A and B, illustrate their least common multiple by outputting two lines of dashes (-) with length LCM(A, B) after replacing every Ath ...
25
votes
26answers
3k views

Make a zigzag pattern

Your task is to take in one integer input and print a zigzag pattern using slashes and backslashes. The integer input determines the length of each zig and zag, as well as the number of zigs and zags ...
13
votes
7answers
767 views

Little Boxes on the Hillside

There's a satirical song called Little Boxes, originally by Malvina Reynolds, about suburban sprawl that has lyrics as follows: Little boxes on the hillside, Little boxes made of ticky-tacky, ...
27
votes
39answers
4k views

Draw an S-Chain

Background When I was younger, I was taught a method of drawing a weird "S" shape, that I (along with my classmates) found fascinating. Today, I rediscovered it, and due to its formulaic approach to ...
17
votes
23answers
2k views

Simple complexity

Output # # # # # ##### ## # ## #### ####### # # ## #### ## ## # ### ####### ...
35
votes
6answers
2k views

Visualize Nicomachus's Theorem

Nichomachus's Theorem relates the square of a sum to the sum of cubes: and has a beautiful geometric visualization: Challenge: Create the 2d part of this visualization in ascii. You will need to ...
25
votes
12answers
1k views

Draw my Contours

Given a rectangular matrix of elevations, draw its contours. Task Two elements x and y are on the same contour level if ...
43
votes
24answers
8k views

Chaos is an ASCII ladder

You know nothing The things I do for "Chaos is a ladder" is a memorable line from the television series Game of Thrones. The purpose of this challenge is to build a ladder from chaos, in ASCII art. ...
60
votes
44answers
4k views

Draw my downslashes

As a programmer, you've probably heard of forward slashes and backward slashes. But have you heard of downslashes? That's when you take a bunch of slashes, connect their ends and draw them going down. ...
39
votes
3answers
1k views

Solve this Alcazar for me

Recently I've been playing a game called Alcazar. It is a board puzzle game where your goal is to enter from one door, pass through all squares, and exit through another door. The only rules are: ...
15
votes
2answers
350 views

Draw Translucent Boxes

note: the string art might look horrible here because of SE font weirdness :P :( Given a list of four-tuples representing the corners of rectangles, draw translucent rectangles over each other in ...
6
votes
2answers
334 views

Build the Trinity Hall Prime

Based on this challenge and this Math.SE question. Idea originally come from a Numberphile video. The goal is to reproduce the logic of Professor McKee when he builds this prime. Your task is to ...
17
votes
11answers
2k views

Ethiopian Multiplication

This question is inspired by this answer. Coincidentally, I used to use Ethiopian Multiplication when I was a kid, but had never known the name of the method until recently. Ethiopian multiplication ...
67
votes
102answers
8k views

Make an alphabet searchlight!

Inspired by a bug in a solution to this challenge, your challenge is to produce this exact text: ...
55
votes
44answers
4k views

Fit a word into an alphabet grid

Inspired by a meme I saw earlier today. Challenge description Consider an infinite alphabet grid: ...
15
votes
7answers
848 views

Draw some ASCII stars

Write a program or function that draws an ASCII star, given the size of the arms as input. Here's a star of size 1 ...
3
votes
1answer
140 views

Boolean Rectangles [duplicate]

Inspired by Braille graphics Given a Boolean matrix (i.e., consisting of only 1s and 0s), output an ASCII-art-style Unicode ...
3
votes
15answers
645 views

Draw diagonal positions of me squared

Based on the interpretation user @ThePirateBay made from the first version of my own challenge Output diagonal positions of me squared now I challenge you to make ASCII art that draws diagonal lines ...
32
votes
1answer
1k views

Microgravity Ball

You are on an advanced intergalactic space station. A friend of yours who is minoring in the Study of Gravity just created a game that involves using microgravity as a way to move a ball around. She ...
11
votes
14answers
2k views

ASCII Airplane Banner

Given two inputs -- one of them a non-empty printable ASCII string (including space, excluding newline), the other being one of two distinct, consistent values of your choice (...
14
votes
2answers
319 views

Unfold in all directions

Input: A string Output: 1) First we take remove character at the end of the input-string until we are left with a length that is a square (i.e. 1, 4, 9, 16, 25, 36, etc.) So ...
46
votes
12answers
2k views

Braille graphics

Cut a boolean matrix in 4x2 blocks and render them as Braille characters U+2800...U+28FF. ...
35
votes
67answers
4k views

Semi-Diagonal Alphabet

Given a letter of the English alphabet, your task is to build a semi-diagonal alphabet to the input. How to build a Semi-Diagonal alphabet? Brief Description: First, you take the position of the ...
28
votes
11answers
4k views

The Solar Eclipse Through a Pinhole Camera

This challenge is a simple ASCII-art challenge inspired by the solar eclipse that happened on August 21, 2017. Given an input 0 <= n <= 4, output the ...
27
votes
8answers
2k views

Unfurl a string

Given a square string, produce all the output for the string at every stage of unfurling. The string must unfurl in a clockwise direction one quarter turn at a time. Examples Input: ...
26
votes
45answers
1k views

Diagonal Alphabet To the Input

Inspired by this post. For those marking this question as a duplicate I urge you to actually read the question to see that mine is a modification of the one linked. The one linked does not ask for an ...
35
votes
45answers
4k views

#OctothorpeAsciiArt

An Octothorpe, (also called number sign, hash or hashtag, or pound sign) is the following ASCII character: # Isn't that a fun shape? Lets make bigger versions of ...
13
votes
18answers
27k views

Walkers Join! - Alan Walker's logo

You might know Alan Walker from his ever popular song Faded. Now his "followers" are called Walkers and they have a logo, here is a simplified version: ...
4
votes
2answers
221 views

Proper army (Canadian Air Cadet) squadron formation

(Note: I'm not in the army so feel free to correct me if my formation is wrong, but I will not be changing the question. I will change any terminology mistakes though, because I'm trying to avoid air-...
9
votes
1answer
266 views

Bigger, Better (Broken) Zipper

(Inspired quite heavily by this challenge) In the original challenge you were to make a horizontal zipper, however, looking down at my hoodie, my zipper is much more vertical (and a little bit broken)...
34
votes
22answers
5k views

Detonate a string

Given any string, print it in the form of a triangle where the text runs up and down along each diagonal. For example, an input of "Hello World" should output: <...
22
votes
23answers
3k views

Fractal Cathedral

Given a positive integer n >= 1, output the first n rows of the following structure: ...
17
votes
5answers
638 views

91 Bottles of ASCII-beer on the Wall

Given a single integer x where 0 <= x <= 91 output a stack of bottles of beer with that many bottles (and shelves) missing....
13
votes
2answers
470 views

Construct a tournament bracket

Given an input list of non-empty strings, output an ASCII art representation of a tournament, based on the following drawing rules: The number of strings is guaranteed to be of quantity ...
21
votes
9answers
844 views

Words crossing over

Input: Two strings (NOTE: the order of input is important). Output: Both words/sentences start on lines with one empty line in between them. They 'walk' horizontally 'next to each other'. But when ...
31
votes
34answers
4k views

Make a Spiky Box

Given two positive integers, W and H, output an ASCII-art box whose border is made of slashes (/ and \) with W "spikes" on the ...
13
votes
5answers
1k views

Fallout Terminal Hacking

Anyone here a die-hard Bethesda fan? Maybe you prefer Obsidian Entertainment? Well, if you're either of those things than the following picture should be relatively familiar to you. I've taken the ...
7
votes
1answer
380 views

Can I burn the farmers too?

Inspired by this and this which was inspired by the first question. I've set my farmers' fields on fire, but unfortunately they saw me do it! If I don't deal with this situation they could report me ...
30
votes
14answers
7k views

Kill it With Fire

Disclaimer: The story told within this question is entirely fictional, and invented solely for the purpose of providing an intro. I am an evil farmer, and to drive up the price of wheat in my area, ...
21
votes
8answers
833 views

Can you count the number of rectangles?

One of my favorite mathematical pastimes is to draw a rectangular grid, then to find all of the rectangles that are visible in that grid. Here, take this question, and venture for yourself! Can you ...
11
votes
1answer
213 views

Stackin' Boards

I have a bunch of boards I need to stack in as small a space as possible. Unfortunately, the boards fall over if I stack them more than 10 high. I need a program to tell me how to stack the boards ...
18
votes
1answer
322 views

A Room Of Mirrors

(This challenge is very similar, but this current challenge has additional complications.) Imagine a 2-dimensional room, where the walls are plated with flat mirrors. Suddenly, a beam of light ...