[Gridflow-cvs] [svn] commit: r4107 - /trunk/abstractions/#draw_hpgl.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Sun Oct 26 16:50:01 EDT 2008


Author: matju
Date: Sun Oct 26 16:50:00 2008
New Revision: 4107

Log:
use floats to avoid rounding and then convert to int at the last step only

Modified:
    trunk/abstractions/#draw_hpgl.pd

Modified: trunk/abstractions/#draw_hpgl.pd
==============================================================================
--- trunk/abstractions/#draw_hpgl.pd (original)
+++ trunk/abstractions/#draw_hpgl.pd Sun Oct 26 16:50:00 2008
@@ -16,7 +16,6 @@
 #X obj 353 139 unpack;
 #X obj 399 139 unpack;
 #X obj 353 162 pack 0 0 0 0;
-#X obj 353 181 #import (2 2);
 #X obj 107 337 outlet time_to_draw;
 #X obj 353 200 t a a;
 #X obj 353 219 #finished;
@@ -25,56 +24,63 @@
 #X obj 26 185 #reinterval;
 #X obj 18 36 t a b a;
 #X obj 353 239 inlet start;
-#X obj 367 258 inlet end;
-#X obj 43 163 #pack;
-#X obj 82 163 #pack;
+#X obj 367 278 inlet end;
 #X obj 62 93 #unpack 3;
 #X obj 26 204 #reverse -1;
 #X obj 18 290 #draw_polygon \, draw line;
-#X obj 353 65 #import (2);
 #X obj 353 84 #to_list;
 #X obj 208 35 route PU PD PA PR;
-#X connect 0 0 34 0;
-#X connect 1 0 24 0;
-#X connect 3 0 31 1;
+#X obj 367 297 #cast f;
+#X obj 353 258 #cast f;
+#X obj 353 181 #import (2 2) f;
+#X obj 353 65 #import (2) f;
+#X obj 43 163 #pack 2 f;
+#X obj 112 163 #pack 2 f;
+#X obj 26 223 #cast i;
+#X connect 0 0 30 0;
+#X connect 1 0 23 0;
+#X connect 3 0 28 1;
 #X connect 4 0 13 0;
-#X connect 5 0 18 0;
+#X connect 5 0 17 0;
 #X connect 7 0 5 1;
 #X connect 8 0 5 1;
 #X connect 9 0 11 0;
 #X connect 9 1 7 0;
 #X connect 10 0 11 0;
 #X connect 10 1 8 0;
-#X connect 11 1 32 0;
+#X connect 11 1 34 0;
 #X connect 12 0 15 0;
 #X connect 12 1 14 0;
-#X connect 13 0 31 2;
+#X connect 13 0 28 2;
 #X connect 14 0 16 0;
 #X connect 14 1 16 1;
 #X connect 15 0 16 2;
 #X connect 15 1 16 3;
-#X connect 16 0 17 0;
-#X connect 17 0 19 0;
-#X connect 19 0 20 0;
-#X connect 19 1 21 1;
-#X connect 20 0 5 0;
-#X connect 21 0 23 0;
-#X connect 22 0 29 0;
-#X connect 23 0 30 0;
-#X connect 24 0 31 0;
-#X connect 24 1 21 0;
-#X connect 24 2 22 0;
-#X connect 25 0 23 1;
-#X connect 26 0 23 2;
-#X connect 27 0 23 3;
-#X connect 28 0 23 4;
-#X connect 29 0 27 1;
-#X connect 29 1 28 0;
-#X connect 30 0 31 2;
-#X connect 31 0 2 0;
-#X connect 32 0 33 0;
-#X connect 33 0 12 0;
-#X connect 34 0 9 0;
-#X connect 34 1 10 0;
-#X connect 34 2 32 0;
-#X connect 34 3 32 0;
+#X connect 16 0 33 0;
+#X connect 18 0 19 0;
+#X connect 18 1 20 1;
+#X connect 19 0 5 0;
+#X connect 20 0 22 0;
+#X connect 21 0 26 0;
+#X connect 22 0 27 0;
+#X connect 23 0 28 0;
+#X connect 23 1 20 0;
+#X connect 23 2 21 0;
+#X connect 24 0 32 0;
+#X connect 25 0 31 0;
+#X connect 26 0 35 1;
+#X connect 26 1 36 0;
+#X connect 27 0 37 0;
+#X connect 28 0 2 0;
+#X connect 29 0 12 0;
+#X connect 30 0 9 0;
+#X connect 30 1 10 0;
+#X connect 30 2 34 0;
+#X connect 30 3 34 0;
+#X connect 31 0 22 2;
+#X connect 32 0 22 1;
+#X connect 33 0 18 0;
+#X connect 34 0 29 0;
+#X connect 35 0 22 3;
+#X connect 36 0 22 4;
+#X connect 37 0 28 2;



More information about the Gridflow-cvs mailing list