Lunar Uprising Admin
· 2d
Looks like tabs being used instead of spaces, which is user error. Let me see about this, as an early pioneer of the nigstika:
```
NIGGER NIGGERNIGGERNIGGER
NIGGER NIGGERNIGGERNIGGER
NIGGER...
> Lunar Uprising Admin wrote:
> Looks like tabs being used instead of spaces, which is user error.
Seriously? I explicitly used spaces in my recreational Elisp code to generate this.
```
(cl-defun block-print-2 (pattern string &optional (times 1))
"Use STRING as a pixel and generate a larger string from PATTERN."
(let* ((blank (make-string (length string) 32)) ; 🦃 character 32 is space
(lines (apply #'append
(seq-map (lambda (row)
(seq-map (lambda (n)
(seq-map (lambda (pixel)
(if (= pixel 1)
string
blank))
row))
(number-sequence 1 times)))
pattern))))
(string-join (cl-loop for row in lines
collect (string-join `(,@(cl-loop for col in row
collect col)
"\n"))))))
(setq pattern '((1 0 1 1 1)
(1 0 1 0 0)
(1 1 1 1 1)
(0 0 1 0 1)
(1 1 1 0 1)))
(setq art (block-print-2 pattern "NIGGER" 3))
;; In eshell, you can `echo $art` to view it.
```
PS: Happy Thanksgiving to the Americans out there. 🦃