tasks a-s
This commit is contained in:
parent
47bf37c096
commit
b83f433714
12433 changed files with 156208 additions and 123 deletions
14
Task/Pinstripe-Display/PicoLisp/pinstripe-display.l
Normal file
14
Task/Pinstripe-Display/PicoLisp/pinstripe-display.l
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
(let Pbm # Create PBM of 384 x 288 pixels
|
||||
(make
|
||||
(for N 4
|
||||
(let
|
||||
(C 0
|
||||
L (make
|
||||
(do (/ 384 N)
|
||||
(do N (link C))
|
||||
(setq C (x| 1 C)) ) ) )
|
||||
(do 72 (link L)) ) ) )
|
||||
(out '(display) # Pipe to ImageMagick
|
||||
(prinl "P1")
|
||||
(prinl (length (car Pbm)) " " (length Pbm))
|
||||
(mapc prinl Pbm) ) )
|
||||
Loading…
Add table
Add a link
Reference in a new issue