[Gridflow-cvs] [svn] commit: r3531 - in /trunk: abstractions/plotter_control.pd tests/plotter_control-test.pd

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Tue Apr 15 21:49:35 EDT 2008


Author: matju
Date: Tue Apr 15 21:49:35 2008
New Revision: 3531

Log:
[plotter_control] works just like the original, except that it doesn't append useless ".0" at the end of integer floats

Modified:
    trunk/abstractions/plotter_control.pd
    trunk/tests/plotter_control-test.pd

Modified: trunk/abstractions/plotter_control.pd
==============================================================================
--- trunk/abstractions/plotter_control.pd (original)
+++ trunk/abstractions/plotter_control.pd Tue Apr 15 21:49:35 2008
@@ -1,66 +1,134 @@
-#N canvas 430 183 746 405 10;
-#X obj 28 24 inlet;
-#X obj 28 378 outlet;
-#X obj 28 43 route pu pd pa sp ip other print print_from_ascii;
-#X obj 375 55 gf.error unknown method '%s';
-#X obj 375 36 list;
-#X msg 70 201 list PD \, end;
-#X msg 28 220 list PU \, end;
-#X msg 28 288 59 10;
-#X text 72 288 comma+newline;
-#X msg 112 182 list PA \, \$1 \, comma \, \$2 \, end;
-#X obj 28 239 route end comma;
-#X obj 128 334 #import;
-#X msg 128 315 to_ascii \$1;
-#X obj 128 353 #to_float;
-#X msg 78 258 44;
-#X msg 154 162 list SP \, \$1 \, end;
-#X msg 191 130 list IP \, \$1 \, comma \, \$2 \, comma \, \$3... VARARGS...
+#N canvas 474 0 746 464 10;
+#X obj 8 4 inlet;
+#X obj 8 398 outlet;
+#X obj 8 23 route pu pd pa sp ip other print print_from_ascii;
+#X obj 355 42 gf.error unknown method '%s';
+#X obj 355 23 list;
+#X msg 50 281 list PD \, end;
+#X msg 8 300 list PU \, end;
+#X msg 8 358 59 10;
+#X text 52 358 comma+newline;
+#X msg 92 262 list PA \, \$1 \, comma \, \$2 \, end;
+#X obj 150 394 #import;
+#X msg 150 375 to_ascii \$1;
+#X obj 150 413 #to_float;
+#X msg 58 338 44;
+#X msg 134 242 list SP \, \$1 \, end;
+#X msg 171 223 list IP \, \$1 \, comma \, \$2 \, comma \, \$3... VARARGS...
 OOPS;
-#X msg 250 85 list IP;
-#X obj 197 85 t b a b;
-#X obj 366 207 foreach;
-#X obj 366 183 t a b;
-#X msg 405 183 0;
-#X msg 197 104 end;
-#X obj 418 226 spigot;
-#X msg 443 251 1;
-#X obj 365 226 t b a b;
-#X msg 418 270 comma;
-#X obj 387 270 t a;
+#X msg 230 148 list IP;
+#X obj 177 148 t b a b;
+#X obj 346 287 foreach;
+#X obj 346 263 t a b;
+#X msg 385 263 0;
+#X msg 177 167 end;
+#X obj 398 306 spigot;
+#X msg 423 331 1;
+#X obj 345 306 t b a b;
+#X msg 398 350 comma;
+#X obj 367 350 t a;
+#X obj 219 47 list split 1;
+#X obj 241 85 list;
+#X obj 323 83 #import;
+#X obj 323 102 # & -33;
+#X text 378 101 turns to uppercase if content is only letters;
+#X obj 323 121 #export_symbol;
+#X obj 465 287 foreach;
+#X obj 465 263 t a b;
+#X msg 504 263 0;
+#X obj 517 306 spigot;
+#X msg 542 331 1;
+#X obj 464 306 t b a b;
+#X obj 486 350 t a;
+#X msg 517 350 space;
+#X msg 102 338 32;
+#X obj 317 147 list;
+#X msg 370 166 list LB;
+#X obj 219 66 t b b s;
+#X msg 219 107 end;
+#X obj 317 166 t b l b;
+#X obj 8 319 route end comma space break;
+#X msg 146 340 3;
+#X msg 317 186 break \, end;
+#X obj 459 118 t b l b;
+#X msg 503 137 list LB;
+#X obj 481 158 #export_symbol;
+#X obj 459 200 t a;
+#X msg 459 181 break \, end;
 #X connect 0 0 2 0;
 #X connect 2 0 6 0;
 #X connect 2 1 5 0;
 #X connect 2 2 9 0;
-#X connect 2 3 15 0;
-#X connect 2 4 18 0;
+#X connect 2 3 14 0;
+#X connect 2 4 17 0;
+#X connect 2 5 27 0;
+#X connect 2 6 42 0;
+#X connect 2 7 50 0;
 #X connect 2 8 4 0;
 #X connect 4 0 3 0;
-#X connect 5 0 10 0;
-#X connect 6 0 10 0;
+#X connect 5 0 47 0;
+#X connect 6 0 47 0;
 #X connect 7 0 1 0;
-#X connect 9 0 10 0;
-#X connect 10 0 7 0;
-#X connect 10 1 14 0;
-#X connect 10 2 12 0;
-#X connect 11 0 13 0;
-#X connect 12 0 11 0;
+#X connect 9 0 47 0;
+#X connect 10 0 12 0;
+#X connect 11 0 10 0;
+#X connect 12 0 1 0;
 #X connect 13 0 1 0;
-#X connect 14 0 1 0;
-#X connect 15 0 10 0;
-#X connect 17 0 10 0;
-#X connect 18 0 22 0;
-#X connect 18 1 20 0;
-#X connect 18 2 17 0;
-#X connect 19 0 25 0;
-#X connect 20 0 19 0;
-#X connect 20 1 21 0;
-#X connect 21 0 23 1;
-#X connect 22 0 10 0;
-#X connect 23 0 26 0;
-#X connect 24 0 23 1;
-#X connect 25 0 24 0;
-#X connect 25 1 27 0;
-#X connect 25 2 23 0;
-#X connect 26 0 27 0;
-#X connect 27 0 10 0;
+#X connect 14 0 47 0;
+#X connect 16 0 47 0;
+#X connect 17 0 21 0;
+#X connect 17 1 19 0;
+#X connect 17 2 16 0;
+#X connect 18 0 24 0;
+#X connect 19 0 18 0;
+#X connect 19 1 20 0;
+#X connect 20 0 22 1;
+#X connect 21 0 47 0;
+#X connect 22 0 25 0;
+#X connect 23 0 22 1;
+#X connect 24 0 23 0;
+#X connect 24 1 26 0;
+#X connect 24 2 22 0;
+#X connect 25 0 26 0;
+#X connect 26 0 47 0;
+#X connect 27 0 44 0;
+#X connect 27 1 28 1;
+#X connect 28 0 19 0;
+#X connect 29 0 30 0;
+#X connect 30 0 32 0;
+#X connect 32 0 47 0;
+#X connect 33 0 38 0;
+#X connect 34 0 33 0;
+#X connect 34 1 35 0;
+#X connect 35 0 36 1;
+#X connect 36 0 40 0;
+#X connect 37 0 36 1;
+#X connect 38 0 37 0;
+#X connect 38 1 39 0;
+#X connect 38 2 36 0;
+#X connect 39 0 47 0;
+#X connect 40 0 39 0;
+#X connect 41 0 1 0;
+#X connect 42 0 46 0;
+#X connect 43 0 47 0;
+#X connect 44 0 45 0;
+#X connect 44 1 28 0;
+#X connect 44 2 29 0;
+#X connect 45 0 47 0;
+#X connect 46 0 49 0;
+#X connect 46 1 34 0;
+#X connect 46 2 43 0;
+#X connect 47 0 7 0;
+#X connect 47 1 13 0;
+#X connect 47 2 41 0;
+#X connect 47 3 48 0;
+#X connect 47 4 11 0;
+#X connect 48 0 1 0;
+#X connect 49 0 47 0;
+#X connect 50 0 54 0;
+#X connect 50 1 52 0;
+#X connect 50 2 51 0;
+#X connect 51 0 53 0;
+#X connect 52 0 53 0;
+#X connect 53 0 47 0;
+#X connect 54 0 53 0;

Modified: trunk/tests/plotter_control-test.pd
==============================================================================
--- trunk/tests/plotter_control-test.pd (original)
+++ trunk/tests/plotter_control-test.pd Tue Apr 15 21:49:35 2008
@@ -3,11 +3,10 @@
 #X msg 40 64 pu \, pd \, pa 200 300 \, sp 3 \, ip 1 2 3 \, other foo
 50 70 \, print hello world \, print_from_ascii 29 29 13 10;
 #X obj 128 151 t a;
-#X obj 40 184 display;
+#X obj 41 181 display;
 #X obj 535 97 print;
 #X msg 535 59 42 \, 100 \, -30;
 #X text 535 117 52 50 49 48 48 45 51 48;
-#X text 41 276 3 59 10 76 66 29 29 13 10 3 59 10;
 #X obj 179 96 # * (29 31 37 39 43);
 #X obj 179 115 #fold +;
 #X obj 179 135 #to_float;
@@ -21,28 +20,28 @@
 #X obj 567 207 display;
 #X obj 535 78 ascii;
 #X obj 569 184 #export_symbol;
-#X text 41 261 59 10 76 66 104 101 108 108 111 32 119 111 114 108 100
-;
-#X text 41 216 list 80 85 59 10 80 68 59 10 80 65 50 48 48 44 51 48
+#X text 41 236 list 80 85 59 10 80 68 59 10 80 65 50 48 48 44 51 48
 48 59;
-#X text 41 246 48 44 55 48;
-#X text 41 231 10 83 80 51 59 10 73 80 49 44 50 44 51 59 10 70 79 79
+#X text 41 251 10 83 80 51 59 10 73 80 49 44 50 44 51 59 10 70 79 79
 53;
-#X connect 0 0 13 0;
+#X text 41 266 48 44 55 48 59 10 76 66 104 101 108 108 111 32 119 111
+114;
+#X text 42 281 108 100 3 59 10 76 66 29 29 13 10 3 59 10;
+#X connect 0 0 12 0;
 #X connect 1 0 0 0;
-#X connect 2 0 13 1;
-#X connect 5 0 19 0;
+#X connect 2 0 12 1;
+#X connect 5 0 18 0;
+#X connect 7 0 8 0;
 #X connect 8 0 9 0;
 #X connect 9 0 10 0;
-#X connect 10 0 11 0;
-#X connect 13 0 2 0;
-#X connect 13 0 3 0;
-#X connect 13 0 8 0;
-#X connect 13 0 20 0;
-#X connect 14 0 16 0;
-#X connect 15 0 1 0;
-#X connect 15 1 13 1;
-#X connect 16 0 15 0;
-#X connect 17 0 0 0;
-#X connect 19 0 4 0;
-#X connect 20 0 18 0;
+#X connect 12 0 2 0;
+#X connect 12 0 3 0;
+#X connect 12 0 7 0;
+#X connect 12 0 19 0;
+#X connect 13 0 15 0;
+#X connect 14 0 1 0;
+#X connect 14 1 12 1;
+#X connect 15 0 14 0;
+#X connect 16 0 0 0;
+#X connect 18 0 4 0;
+#X connect 19 0 17 0;



More information about the Gridflow-cvs mailing list