22 votes

Limited letter renderer: BIOPD

JavaScript (ES6), 110 bytes Expects an array of ASCII codes. ...
Arnauld's user avatar
  • 188k
21 votes

Render text in a slanted ASCII-art font

JavaScript (Node.js), 418 bytes Expects a list of strings. ...
Arnauld's user avatar
  • 188k
14 votes

Compare Two Fractions With ASCII Art

Excel (ms365), 134 bytes Credits to @JosWooley for this is essentially his answer. Formula in E2: ...
JvdV's user avatar
  • 3,333
14 votes

Print a meter of numbers to a specified limit

Canvas, 4 bytes R↶ * Try it online. Explanation: ...
Kevin Cruijssen's user avatar
13 votes

Render text in a slanted ASCII-art font

Funciton, non-competitive Big dramatic reveal! This coding challenge was actually suggested to me by a friend. I originally wrote it in C# but then decided that this might be an excuse to flex my old ...
Timwi's user avatar
  • 12.9k
13 votes

Print ASCII building

Python 3, 47 bytes for n in b"":print(f"{'**'*n:^10}") Try it online! Yawn, bytestrings. I got close with a few ...
xnor's user avatar
  • 144k
12 votes
Accepted

Render text in a slanted ASCII-art font

Charcoal, 177 143 141 bytes ...
Neil's user avatar
  • 165k
11 votes

Compare Two Fractions With ASCII Art

Python, 152 bytes Here's the program I used to generate the testcases. I'm sure someone more skilled could golf it down more (and I'd be interested to see!). ...
blaketyro's user avatar
  • 769
10 votes

Draw the initial positions of Mölkky pins in ASCII art

Python 3, 123 bytes ...
dingledooper's user avatar
  • 22.3k
10 votes

Print ASCII building

CP-1610 machine code, 47 DECLEs1 = 58.75 bytes 1. CP-1610 instructions are encoded with 10-bit values (0x000 to 0x3FF), known as DECLEs. Although the Intellivision is also able to work on 16-bit, ...
Arnauld's user avatar
  • 188k
8 votes

Voronoi-Lloyd ASCII art

Excel (ms365), 542 bytes Using Chebyshev distance, here is an iterative example where W==10, H==1 and seeds are ...
JvdV's user avatar
  • 3,333
8 votes

Compare Two Fractions With ASCII Art

05AB1E, 32 bytes ø`©.¿D®àQ>*®÷<„x-Sδ×'|ìsIíÆø×J€Ć Port of @blaketyro's Python answer, so make sure to upvote him/her as well! Input as a pair of pairs ...
Kevin Cruijssen's user avatar
8 votes

"Print this diamond" gone beautifully wrong

Python 3, 80 bytes i=8 while i+9:k=abs(i);print(f"{(' '*k).join(str((10**(9-k)//9)**2)):^41}");i-=1 Try it online! Uses the classic arithmetic trick ...
xnor's user avatar
  • 144k
8 votes

s-n-a-k-e-a-r-o-u-n-d--->

K (ngn/k), 337 331 315 290 279 231 224 211 213 bytes ...
doug's user avatar
  • 1,360
8 votes

Directional Run Length Decoding

Python, 120 bytes def f(A): G=[];X=Y=0 for c,n,(x,y)in A: for _ in" "*n:G+=[[]];G[Y]+=[_]*(X-~len(G[Y]));G[Y][X]=c;X+=x;Y+=y return G Attempt This ...
hyper-neutrino's user avatar
  • 41.3k
7 votes

ASCII-art polygons to GeoJSON coordinates

Charcoal, 52 bytes WS⟦ι⟧⊞υ⟦⌕θ*⁰⟧J⊕⌕θ*⁰WΦ⁴‹ ⊟KD²✳⊗κ«✳⊗⌊ι ≡KK*⊞υ⟦ⅈⅉ⟧»⎚⭆¹υ Try it online! Link is to verbose version of code. Takes input as a list of newline-...
Neil's user avatar
  • 165k
7 votes

"Print this diamond" gone beautifully wrong

Thunno 2, 14 bytes 9Rƒıṅ8_ṣjⱮ;ⱮØC Try it online! Seems like the compressed list part (¿qJŒḣ“ɲþẇɦɠ¿i) could be golfed a bit with ...
The Thonnu's user avatar
  • 17.8k
7 votes

Directional Run Length Decoding

Charcoal, 14 bytes WS✳§ι⁰קι¹I✂ι² Try it online! Link is to verbose version of code. Takes input as a list of newline-terminated triples using a leading ...
Neil's user avatar
  • 165k
7 votes

Print ASCII building

Haskell, 81 72 60 bytes unlines[(' '<$['1'..a])++("**"<*[a..'9'])|a<-"998888888555"] Attempt This Online! -9 bytes thanks to Unrelated ...
corvus_192's user avatar
  • 4,889
6 votes

Road-Length Encoding

K (ngn/k), 46 bytes Created on the APL Farm with lots of input from chrispsn. {++(,/(.x@y)#'"-="x_y#="PNP";"_")@3\466}`c$!58 Try it ...
ovs's user avatar
  • 58k
6 votes

It's a dog! (Or is it?)

Python, 102 bytes lambda x:any(re.match("[\*o]?[\-=]+",r)for r in x)*len(re.split(r"[\\|/]_+[\\|/]",x[-1]))==5 import re Attempt This Online! ...
97.100.97.109's user avatar
6 votes

Compare Two Fractions With ASCII Art

Vyxal j, 31 29 27 bytes yD∆Ŀ~cßdεȮ/‟ʁ≤‛x-i*ƛ\|j\|ø. Try it Online! or Verify some test cases -2 bytes thanks to lyxal :) I'm ...
noodle man's user avatar
  • 5,212
6 votes

Draw the initial positions of Mölkky pins in ASCII art

JavaScript (ES6), 145 bytes NB: Although I suggested the ASCII art in the sandbox, I didn't make any attempt to compress it until now. I would otherwise have waited before posting this answer. -1 ...
Arnauld's user avatar
  • 188k
6 votes

"Print this diamond" gone beautifully wrong

Ruby, 71 69 bytes Function outputting an array of lines. A synthesis of my old answer with Level River St's answer as per their suggestions. -2 bytes by switching to Ruby 2.7+ (TIO is on 2.5.5) ...
Value Ink's user avatar
  • 12.5k
6 votes

"Print this diamond" gone beautifully wrong

Vyxal, 12 bytes 9ƛɾ9n-Ij;∞øṗ Try it Online! Uses the strangely specific øṗ (Flip Brackets Vertical Palindromise, Center, Join ...
Lynn's user avatar
  • 68.1k
6 votes

s-n-a-k-e-a-r-o-u-n-d--->

Pyth, 78 bytes ju&K>*hhHH+z>s.i_Psm*Rd"-|"Qs@L_B".'"tQlz.e++b?%klGd\-@K+Hk+j\-<KH__MGStQ]@"<> Try it online!
CursorCoercer's user avatar
6 votes

Convert numbers to dice patterns

Python 3 (194 199 210 bytes) -16 (- 5 thanks to Kevin) My First golf! Returns a int, array, where len(arr) == side ** 2 ...
ToAskOrNotToAsk's user avatar
6 votes

Befunge Comment Outline Creator

Python, 93 89 85 79 74 73 bytes lambda w,h:';'*(w|1)+(';\n;'+' '*w)*h+';\n'+h%2*' '+';'*(w+~h%2+~(w^h)%2) Attempt This Online! -7 bytes thanks to Arnauld and ...
corvus_192's user avatar
  • 4,889
6 votes

Print ASCII building

Perl 5, 42 bytes say$"x(5-$_/2),'*'x$_ for 2,2,(4)x7,(10)x3 Try it online!
Xcali's user avatar
  • 13.4k
5 votes

Random point inside boundary

MATL, 19 18 17 15 bytes 36yy>t0ZI-flZr( 2 bytes saved thanks to @LuisMendo Input is provided as a 2D character array and the random point is replaced by ...
Suever's user avatar
  • 11.1k

Only top scored, non community-wiki answers of a minimum length are eligible