Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 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