# 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.

1,122 questions
Filter by
Sorted by
Tagged with
118 views

### SQL Christmas Code Golf Challenge: PRON Christmas Tree generator [closed]

I wish all of you a reflective advent season. If anyone likes to play some code golf, here's your challenge: Write the query that generates a similar Christmas tree in fewer characters than I did. But ...
3k views

### Triangle of triangles

Given an integer $n \geq 2$, print a triangle of height $n$ of (triangles of height $n$ of asterisks), as in this SO question. For $n=2$, print: ...
970 views

### Pretty print a grid of polyominoes

Write a function that accepts a rectangular grid of ids in any reasonable format, for example a multi-line string: IIILOO ILLLOO and a string or list of box ...
3k views

### Find the longest line

Given a string containing only the characters -, |, + and newline determine the longest ...
2k views

### Stack the rocks

This is a rock: * Rocks can be stacked. Apart from the bottom-most layer, each rock must rest on two other rocks, like this: ...
2k views

### Custom Rows of Smileys Triangle

This problem is inspired from shinh's problem. Given an input of positive integer $n$, output a smiley triangle (see below) with $n$ rows. Detailed rules Can be either a function or a full ...
555 views

### Maximal hexagonal dot pattern

Challenge Imagine a hexagonal grid as shown below. Let's call such a grid has size $n$ if it has $n$ dots on one side. The following is one of size 3: ...
1k views

### Enlarge ASCII art, Mark II

Related Given a piece of ascii art and a factor to enlarge it by, which will always be an odd number >1, replace each character with the corresponding ascii-art, resized to fit on a grid the size ...
753 views

### Polyagony layout (mode 3/3,6)

Background Polyagony is a family of hypothetical esolangs where the source code is laid out on a specifically shaped board before running it. It's similar to Hexagony, but various uniform tilings can ...
1k views

359 views

### Golf me a polygonal loader

Codidact post, CGCC Sandbox, Codidact Sandbox Given three positive integers as input, animate an ascii-art polygonal loading symbol on the screen. Intro You will be given three inputs, $n$, $l$, ...
706 views

### (1) Determine the amount of statues

Inspired by this stack of little statues that are currently on my desk at work, given to me by my colleagues from Sri Lanka when they visited The Netherlands: This is split into two different ...
238 views

### (2) Can the statues be stacked?

Inspired by this stack of little statues that are currently on my desk at work, given to me by my colleagues from Sri Lanka when they visited The Netherlands: This is split into two different ...
689 views

### Towering Cistercian representation

SE Sandbox Link, Codidact Sandbox Link Inspired by this video. Given a positive integer, draw its Cistercian representation as ascii art. The Challenge Cistercian numerals are a decimal-based number ...
2k views

### Make an ASCII table

We're getting markdown tables! I assume this is what they look like: ...
196 views

### Clock with ASCII art [closed]

It is quite simple, any language, make output show the time in the HH:MM or HH:MM:SS while the numbers and the colons being ascii art(The output is ascii art not the program) Sample output: ...
2k views

### How happy is this emoticon? (2.0)

OG post Task In this challenge, you will be given an string emoticon, and your task will be to output its happiness. How? An emoticon will always have eyes and mouth. It can also include eyebrows and ...
3k views

### Cat a mouse: ASCII art pointers

The Xerox Alto, originally released in 1973, was the first computer to feature the now-familiar angled mouse pointer. The Alto's bitmapped pointer looked like this (redrawn from Fig. 2 here): Your ...
2k views

### Recognise a Digit from a Positional Encoding

Starting an the origin on an infinite grid, you follow a predetermined path going up (U), down (D), left (...
2k views

### Surround a string with "friendliness pellets"

Input a String and surround it with a rounded rectangle of alternating "friendliness pellets".(0) Sandbox Idea originally from Lyxal. Challenge Given a ...
2k views

### Spiralize a Word, Triangularly!

Challenge Given a string of any length, write it as a triangle, spiraling out from the center. For example, abcdefghijklmnop becomes: ...
284 views

### Convert LifeOnTheEdge to LifeOnTheSlope

Your task here is to take a LifeOnTheEdge pattern and convert it to LifeOnTheSlope. A LifeOnTheEdge pattern is composed of these four characters: |_L . A pattern ...
5k views

### Draw an ASCII-art rainbow

Draw an ASCII-art rainbow! Input An integer between 0 and 1000, inclusive. Examples Input 0: /\ || Input 1: _ / \ | | Input ...
427 views

I think everyone is familiar with the game of snakes & ladders1. Imagine we have a 10x10 board like this: ...
533 views

### Play a Game of Minigolf

Background I feel that for a site named code-golf we have a shockingly little amount of golf being played. Let's fix that. Challenge Determine whether the hole of a minigolf course can be reached ...
1k views

### Pascal's tree-angle

Print this tree: ...
3k views

### Solve a 2xN Maze

Given a $2\times N$ maze, determine if you can get from the start top left corner to end bottom right corner using only up, down, left, and right moves. Input A $2\times N$ block (\\$1 \le N \le ...
1k views

### Determine the area enclosed by slashes

For example, let's look at the following ASCII art: ...
141 views

### Make paper snowflakes! [closed]

The task Given a folded and cut in places snowflake, "unwrap" it and output the result Input The base folded snowflake, without any cuts, looks like: ...
249 views

Related to, but not a duplicate of, this challenge. Basics This is a clock: ...
2k views

### Parse ascii art math!

The task Given a multiline string with ascii art operators and numbers, parse the expression! Possible symbols Numbers: (3x4) ...
5k views

### root of root of root of root

This idea came to me when I saw my little brother playing with my calculator :D The task Taking a integer as an input, print that many graphical square roots under each other, like this: ...