13 votes

Scribble Pad for Nerds

Vyxal, 4 bytes ×3ø^ Try it Online! 05AB1E, 3 bytes 3$Λ Try it online!
user avatar
  • 6,240
10 votes

Scribble Pad for Nerds

Charcoal, 9 bytes FA✳ι##‖↘# Try it online! Link is to verbose version of code. Explanation: FA Loop over the directions. ...
user avatar
  • 144k
8 votes

Scribble Pad for Nerds

Ruby, 106 bytes ->d{m=2*x=y=d.size*2;c=[] [-5,*d].map{|k|2.times{(c[y+=k==6?0:k%7<=>2]||=[0]*m)[x+=k<1?0:4<=>k]=1}};c-[p]} Try it online! ...
user avatar
8 votes

Scribble Pad for Nerds

Jelly,  25  22 bytes Saved three bytes using the allowance of excess whitespace (this also fixed a bug that meant an input with only left and/or right movements would have printed incorrectly since no ...
user avatar
7 votes

Scribble Pad for Nerds

BQN, 79 77 71 67 58 53 51 bytes Saved 5 bytes thanks to att ' '+(¬⊸-↑↑⟜1)∘⋈˜∘¬⟜-∘≠{𝕨(𝕨∨⌽)´-𝕩}4(⊢×○×-)2/8|-⟜2⊸⋈¨ Try it at BQN online Explanation New approach! <...
user avatar
  • 32.5k
6 votes

Collect data on mushroom forests

Python, 125 bytes import re def f(s): o=[0]*len(s[0]) for l in s: for m in re.finditer("=+",l):o[sum(m.span())//4]=len(m[0])//4+1 return o Attempt This Online! Bad, terrible, no good. ...
user avatar
  • 21.2k
4 votes

Knit me an ASCII-Sock

Vyxal, 54 bytes 1.*(\v*,)½(n-\v*₴n:d+\>*,)½½ʁ(½\v*?T\>*Jnd\>*J:⅛,)¾(¼, Boy oh boy, this is my new favorite answer now. The satisfaction when I got it down ...
user avatar
  • 4,243
4 votes

Collect data on mushroom forests

Jelly, 23 20 16 bytes OḂŒgÄ=U×ƊF€Sm2HĊ Try it online! -3 thanks to Jonathan Allan, also opening up another -1 (×=¥UFƊ€ -> <...
user avatar
3 votes

Is this string a square?

Jelly, 4 bytes Ỵ¬zƑ Try it online! Input via command-line argument. The input must be given with no trailing newline (otherwise the program sees a blank line at ...
3 votes

Collect data on mushroom forests

Retina, 39 bytes ^ ¶ (=*)=\1 $1!$1 {*.\Cm`^!|\G== m`^.. Try it online! Explanation ^, : ...
user avatar
  • 6,356
2 votes

Draw an asterisk triangle

Vyxal j, 3 bytes ×*¦ Try it Online! How? ...
user avatar
  • 6,240
2 votes

Generate Loopy puzzles

Python3, 1004 bytes: ...
user avatar
  • 3,016
2 votes

Square root of ASCII art

Vyxal, 40 32 bytes ẏṘ\\$꘍øm↵:IǏfL:£Nvȯ$Z¥?hL⇧\_*꘍p⁋ Try it Online! or verify all test cases. -8 bytes from porting 05AB1E
user avatar
  • 6,240
2 votes

ASCII art uncompression from a base-n number

Vyxal, 1 byte τ Try it Online! 05AB1E, 3 bytes ÅвJ Try it online!
user avatar
  • 6,240
2 votes

Draw an ASCII-art rainbow

Vyxal j, 18 bytes \_2꘍f*` /|`vøṀ$¨vj Try it online or verify all test cases. How? ...
user avatar
  • 6,240
2 votes

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

Vyxal j, 2 bytes ¦∞ Try it Online!
user avatar
  • 6,240
2 votes

Ascii Fibonacci spiral

Vyxal, 11 bytes ×3ʀd⁰ɽ∆f›ø∧ Try it Online! -1 byte thanks to emanresu A
user avatar
  • 6,240
2 votes

Collect data on mushroom forests

05AB1E, 21 bytes '=QεγεƶÐÅsQ*}˜}øOιн;î Port of @UnrelatedString's Jelly answer, since it's shorter than any monstrosity I was attempting.. Input as a (right-padded)...
user avatar
2 votes

Collect data on mushroom forests

Haskell, 161 bytes ...
user avatar
  • 1,956
1 vote

Draw an ASCII-art rainbow

Ly, 42 31 bytes "| |\ / - "nsp[ol[f:of,]ppo9`o] Try it online! This version is shorter using a completely different algorithm. It pushes 3 characters ...
user avatar
  • 1,939
1 vote

Draw an ASCII-art rainbow

Python 3, 58 55 bytes lambda n:f" {'_'*n if n else''}\n/{' '*n}\\\n|{' '*n}|" Try it online! Simple f-string
user avatar
  • 439
1 vote

Draw an ASCII-art rainbow

JavaScript, 59 bytes f=n=>n?f(n-1).replace(/.\n/g,c=>' _'[c<1|0]+c):` /\\ || ` Try it online! A recursive function. Uses how JS coerces whitespace to 0,...
user avatar
1 vote

ASCII Art Octagons

Vyxal RM, 4 bytes S7ø∧ Try it Online! new canvas builtin go brr
user avatar
  • 6,240
1 vote

Display a clock face

Vyxal Cm, 32 bytes 6d6(12n-»§⟩»niǎnS꘍J₁SṘmni⌊¶*)_6W Try it Online! Bubblegum, 52 bytes ...
user avatar
  • 6,240
1 vote

Let's design a digit mosaic

Vyxal, 13 bytes Þżṅ:ẏ(:hnẋ₴…Ḣ Try it Online! How? ...
user avatar
  • 6,240
1 vote

Diamond creator +

Vyxal j, 6 bytes ¦ʁøĊmJ Try it Online! How? ...
user avatar
  • 6,240
1 vote

Make me a square!

K (ngn/k), 34 bytes {`0:x,x,x,"\n",x," ",x,"\n",x,x,x} Try it online! The straightforward (although long) answer.
user avatar
  • 579
1 vote

Knit me an ASCII-Sock

C (gcc), 185 bytes ...
user avatar
  • 121
1 vote

Create a binary wall

Vyxal, 9 bytes bvṅ0ðvVøɽ Try it Online! How? ...
user avatar
  • 6,240
1 vote

Construct a Tornado

Vyxal, 10 bytes ×*…?(Ṫn$꘍… Try it Online! How? ...
user avatar
  • 6,240

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