Colour pinstripe/Printer: Difference between revisions
Content added Content deleted
(Added PicoLisp) |
(Just noticed the second part of the task) |
||
Line 18: | Line 18: | ||
(pdf "pinstripes" |
(pdf "pinstripes" |
||
(a4) # 595 x 842 dots |
(a4) # 595 x 842 dots |
||
( |
(use (R G B) |
||
( |
(let (I 0 Step 1) |
||
( |
(for X 595 |
||
(when (= Step (inc 'I)) |
|||
(setq |
|||
I 0 |
|||
R (pop 'Red) |
|||
G (pop 'Green) |
|||
B (pop 'Blue) ) ) |
|||
(color R G B |
|||
(vline X 0 842) ) |
|||
(when (=0 (% X 72)) # 1 inch |
|||
(setq I 0 Step (* 2 Step)) ) ) ) ) |
|||
(page) ) )</lang> |
(page) ) )</lang> |
||