This challenge involves creating 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.

learn more… | top users | synonyms

3
votes
0answers
37 views

Print all domino tilings of 4x6 rectangle

This is an extension of Fibonacci Domino Tiling. Your goal is to print all 281 ways to tile a 4x6 rectangle with 1x2 and 2x1 dominoes. Fewest bytes wins. Use the vertical bar | to indicate a space ...
8
votes
1answer
195 views

Graph Google Search Results

When you search for something on Google, it conveniently gives a message near the top of the page saying something like About 53,000,000 results (0.22 seconds). (The numbers change depending on what ...
10
votes
7answers
662 views

Draw a range of mountain ranges

Inspired by Fibonacci domino tiling, this problem is about generating ASCII art representing another famous combinatorial sequence. A n-step mountain diagram is a drawing of a mountain range, using ...
8
votes
8answers
959 views

Fibonacci domino tiling

There's classic combinatorial result that the number of ways to tile a 2*n strip by 1*2 dominoes is the nth Fibonacci number. You goal is to print all the tilings for a given n, drawn with dashes and ...
8
votes
3answers
353 views

Pigpen Cipher Encryption

Pigpen Cipher Encryption Your mission is simple: to write a program which receives text as input and outputs an ASCII representation of it in the Pigpen Cipher. Input ASCII-only (no Unicode) ...
12
votes
6answers
925 views

Integer Emotions

Write a program or function that "reacts" to a given integer n (input via function parameter/args/stdin) The program doesn't care about negative numbers, likes even, dislikes odd numbers and ...
10
votes
1answer
202 views

Code-Golf Ascii Art Mini-Golf

Intro Let's play some mini-golf! The golf ball is represented by a . and the hole by a O. You want to get a hole in one on every hole, but you are not good at putting. In fact, you refuse to attempt ...
10
votes
3answers
323 views

Draw Concentric ASCII Hexagons

Write the shortest program possible that takes in a set of distinct positive integers and outputs an ASCII rendering of concentric hexagons with those side lengths, made from slashes, underscores, ...
7
votes
3answers
356 views

ASCII Art Code Generator

I have a program that generates formatted Brainfuck code. I run my program ./example "S" and the output is +[>+ < +++ ] >--. which prints S in Brainfuck. Your objective is to ...
18
votes
3answers
673 views

Drawing in Slashes

Write a program that takes in a rectangular block of text made up of X's and .'s, such as this rough A: ...... ..XX.. .X..X. .XXXX. .X..X. .X..X. Output a representation of this grid rotated 45 ...
6
votes
2answers
286 views

Counting rods; count your rods

Some background Counting rods are small bars (3-14 cm long) that were used by mathematicians from many asian cultures for more than 2000 years to represent any whole number or fraction. (In this ...
12
votes
3answers
857 views

The ASCII Architect

You don't want to pay money for the expensive architectural program, so you decide to roll your own. You decide to use ASCII to design your buildings. Your program will take in a single string ...
15
votes
13answers
1k views

Display a tally (in varying bases)

Tallying is a simple counting system that works in base 5. There are various different tallying systems used around the world, but the one that is used in most English-speaking countries is perhaps ...
27
votes
30answers
9k views

Output the legendary Yggdrasil

Your task is to output a representation of the legendary tree of life, Yggdrasil. You must write a program whose output is exactly that : /\ ...
1
vote
0answers
233 views

Generate Loopy puzzles

Loopy is a puzzle game from the collection of Simon Tatham. The previous link contains a javascript implementation of a Loopy puzzle generator. I suggest everybody who wants to attempt this challenge ...
14
votes
2answers
475 views

Print ASCII Voxels

Write a program that reads a n x n x n array of binary values which represent an n*n*n cube, that consists of n^3 smaller cubes. Each value says whether there is a voxel (small cube) present in the ...
15
votes
2answers
603 views

DNA: Deoxyribonucleic ASCII

Given a sequence of the bases Adenine, Cytosine, Guanine and Thymine (encoded as ACGT), you're to produce an ASCII art representation of a corresponding double strand of DNA. The strand will extend ...
40
votes
6answers
1k views

ASCII Art Calendar

Let's make an ASCII art clock and calendar that tells us the current month, day of the month, day of the week, hour, minute, and whether it's night or day (but not the year or second). At any ...
15
votes
8answers
1k views

Draw the Stickman Wars

Picture of me drafting this challenge with my advanced drawing skills. Background The Stickman wars happened long ago, when Earth's dominant species was made of nothing but sticks. Historians ...
11
votes
11answers
3k views

Make me an alphabet tree

Intro In most fonts all of the uppercase alphabet characters besides BDO have single lines approximately touching some of the four corners of the character's bounding rectangle: ...
10
votes
2answers
418 views

Write a book writer

Here is a fairly simple ASCII depiction of an open book: |\ | \ | \ | \ | \__________ | || | | || Lorem i | \ || psum do | \ || lor sit | \ || amet, | \ || consect | ...
1
vote
2answers
207 views

Collatz Graph Plotting

Write a program that outputs a graph of the collatz sequence any way you want (ASCII Image Video etc). You have to implement it that way that you can adjust the size of the graph by either the maximum ...
18
votes
4answers
1k views

Forest - A Simulated Ecosystem

NOTE This problem was taken from this reddit thread (spoiler alert!), and I have adjusted it to make it fit with this site's format. All credit goes to reddit user "Coder_d00d". In this problem, we ...
7
votes
1answer
322 views

The Mouse's Tale

Write a program that outputs Lewis Carroll's poem The Mouse's Tale from Alice in Wonderland, drawn in its distinctive tail-like shape. Plain text of the poem: Fury said to a mouse, That he met ...
8
votes
4answers
559 views

Weaving in ASCII

Imagine a rectangular grid of | characters represents the taut strings on a loom (the warp) that other threads (the weft), which we will represent as -, can be woven around. Here is the unwoven warp ...
19
votes
5answers
655 views

Draw a Permutation Path

Imagine the following diagrams as sets of vertical criss-crossing tubes. 1 2 1 2 1 2 3 4 \ / \ / \ / \ / X | | | / \ / \ / \ / \ 2 1 1 2 | X | \ ...
12
votes
3answers
733 views

Make me a window manager!

I hate code bloat! So I have decided to replace my Windows 7 system by a golfed version. However, I know that it is not easy, so let's build a prototype first. It will take a list of windows from the ...
27
votes
5answers
2k views

Draw the Hilbert curve using slashes

The Hilbert curve is a space filling fractal that can be represented as a Lindenmayer system with successive generations that look like this: Thanks to ...
38
votes
9answers
2k views

ASCII Train Golf

Consider these seven ASCII train cars. Engine (E) __ ====== \/ | [] |========= | ) ================ O-O-O O-O-O \\ Passenger car (P) =============== | [] [] [] ...
14
votes
3answers
843 views

ASCII Waterworks

Intro Consider a grid of the characters f A\/ such as f f f A A / \ \ / A A \/ / \/ where: f represents a faucet that pours a stream of water downward ...
25
votes
20answers
3k views

Golfing ASCII-art

Let's try to golf this piece of ascii-art representing a golfing man: '\ . . |>18>> \ . ' . | ...
12
votes
9answers
2k views

The easy way to code-golf ascii art!

Task: There are a lot of answers on this site that are arranged into ascii art, like this one. Usually the arrangement is done manually, but wouldn't a program help with that? :) Your program ...
11
votes
5answers
603 views

Animate a Rotating Lissajous Figure

Entries for this challenge will display an animated rotating Lissajous figure. The appearance of 3d rotation occurs as the x parameter is successively phase-shifted in each frame. Input: The a and ...
23
votes
5answers
1k views

Draw the shadows of buildings

Input: 1 X X X X XX XXXXXX X X X X XX XXXXXX ...
1
vote
0answers
256 views

Generate ASCII art from text [closed]

Your challenge is to write a program which creates ASCII art from an input string, like FIGlet or the Unix banner utility. Specifically, your program should take as input a string consisting of ...
19
votes
10answers
824 views

The Note of Destiny - place a note on a staff

The zombie apocalypse has come, and the world is coming to an end. Suddenly, someone discovers a formula that takes the current hour, minute, and day, and spits out the perfect note to play on a piano ...
10
votes
3answers
1k views

Display the explosion of a star in ASCII-art

The goal is to animate a star exploding in ASCII art, starting from a single star character * to a supernovae and finally to the space void. Rules : You have to display only 80 characters per line ...
5
votes
4answers
717 views

A golfed golfing game

You have to make a golf game with the following specification :- The field is 10 X 10 characters without spaces. Free ground is represented by . A hole generated at random(not at 0,0) is shown by O ...
5
votes
3answers
844 views

Eiffel Tower in 3D

This challenge asks you to draw the Eiffel Tower in 3D using different ASCII characters to represent the different sides, similar to this cube: @@@ @@@@@@@@@ @@@@@@@@@@@@@@@ ...
12
votes
2answers
406 views

Ascii art pie chart

Your goal is to output an ASCII art pie chart. This is code-golf, so the shortest program (counting the bytes of the source code, not the characters) wins. No external softwares or APIs are allowed. ...
11
votes
4answers
462 views

Recognize ASCII art numbers

Challenge Recognize ASCII art numbers. To make things interesting, three random points in the image might be flipped. For example: ***** * ** ** ** ** ** Input A 7x7 ...
8
votes
2answers
578 views

ASCII-art logic gate diagram

I challenge you to write a code to make an (extended) ASCII-art logic gate diagram for the sum of products form of an equation. Use the following notation to represent gates: AND ...
31
votes
7answers
833 views

Magrathea 2.0 - Building Mountains

With the big crash of the universal economy also the demand for custom made planets plunged. The Magratheans had to look after more steady revenues also from a broader class of customers. Therefore, ...
4
votes
3answers
272 views

Align a horizontally-aligned, right-angled ASCII shape along a diagonal

Your program will receive an ascii shape consisting of only underscores _, pipes |, spaces and newlines \n, which, together, represent a horizontally-aligned, right-angled shape. Together with this ...
2
votes
5answers
551 views

Print Leonardo DiCaprio without using any of the letters in his name [duplicate]

The Oscars are coming up soon and we all know who's going to win Best Actor in a Leading Role this year right? The great Leonardo DiCaprio of course! Despite his superb performances in all of his ...
0
votes
1answer
198 views

Write a program that can draw 2-D shapes using ASCII or any other method [closed]

Rules (not too restrictive; flexible): 1.Must be able to draw shapes on command (e.g., I type in "square" and a square is drawn). Minimum completed shapes that can be drawn on command: Square, ...
3
votes
2answers
220 views

Tips for golfing ASCII art

I think the ASCII art questions on Code Golf are fun to do but personally I think it can be pretty hard. Especially when the question is tagged as code-golf. I wonder if anyone here might have some ...
0
votes
4answers
524 views

ASCII-art videogame edition

I thought it might be fun to throw this on here. Generate an ASCII-art for one of your favorite videogames. What you want to generate is up to you but it should meet 2 requirements. It should be ...
8
votes
11answers
758 views

Make a Valentine wish with your favourite language

Write the most creative program to display your Valentine wish to your favorite programming language, in that language. E.g. #!/usr/bin/perl use Modern::Perl; say "I love Perl";
33
votes
31answers
10k views

ASCII art “Hello-World!”

Your goal is to write the shortest program that outputs "Hello-World!" as ASCII art. Rules : It must be human readable, I don't care about it's size (cols/rows) Output must contain only spaces (" ...