chiark / gitweb /
wip
[quacks.git] / overflow-tube.ps.pl
index a63262a0baa363e221e84afa1f87dfae0fbed3a9..192ced4d00b07e298b36e0896a0643fb42a6e7eb 100755 (executable)
@@ -42,8 +42,6 @@ gsave
   0      $y_top               lineto
                               stroke
 } def
-
-cut_line
 END
 
 sub places ($) {
@@ -90,6 +88,21 @@ END
   }
 }
 
-places(0);
+sub repis () {
+  for my $repi (0..4) {
+    o(<<END);
+gsave
+  $repi $colspacing 2 mul mul  0 translate
+
+  cut_line
+END
+    places($repi);
+    o(<<END);
+grestore
+END
+  }
+}
+
+repis();
 
 print $ps_framing or die $!;