chiark / gitweb /
wip blue
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 3 Dec 2020 17:26:52 +0000 (17:26 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Thu, 3 Dec 2020 17:26:52 +0000 (17:26 +0000)
pumpkin-books.ps.pl

index a82147bf947bd98d5d731fde104b377b733c8690..e4ec56886a1642cbc9c7da2c9c55655c8f99da7c 100755 (executable)
@@ -9,6 +9,8 @@ my $green = ["1 0 1 0", "0 0 0 0"];
 my $red = ["0 1 1 0", "0 0 0 1"];
 my $blue = ["0.6 0.6 0 0", "0 0 0 0"];
 my $yellow = ["0 0 1 0", "0 0 0 1"];
+my $moth = ["0 0 0 1", "0 0 0 0"];
+my $purple = ["0 1 0 0", "0 0 0 1"];
 
 sub chip ($$) {
   my ($cary, $pips) = @_; # put in a gsave translate
@@ -233,13 +235,9 @@ END
   ${\ $exchip->($yellow, 1) }
 END
 
-  $o .= <<END;
-gsave 
-  0.16 0.15 dc translate
-  0.60 dup scale
-  gsave ${\ chip($blue,4) } grestore
-grestore
-
+  $o .= $exchline->(1, 2, <<END);
+  ${\ $exchip->($moth,1) }  ${\ $exslash->() }
+  ${\ $exchip->($purple,1) }  ${\ $exslash->() }
 END
 
   $o .= exposition(<<END);