[PD-cvs] SF.net SVN: pure-data: [10097] branches/pd-extended/v0-40/externals/mapping

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Wed Jun 25 20:06:14 CEST 2008


Revision: 10097
          http://pure-data.svn.sourceforge.net/pure-data/?rev=10097&view=rev
Author:   eighthave
Date:     2008-06-25 11:06:09 -0700 (Wed, 25 Jun 2008)

Log Message:
-----------
added bang method to reset spiral count

Modified Paths:
--------------
    branches/pd-extended/v0-40/externals/mapping/help/spiral-help.pd
    branches/pd-extended/v0-40/externals/mapping/spiral.pd

Modified: branches/pd-extended/v0-40/externals/mapping/help/spiral-help.pd
===================================================================
--- branches/pd-extended/v0-40/externals/mapping/help/spiral-help.pd	2008-06-25 17:35:37 UTC (rev 10096)
+++ branches/pd-extended/v0-40/externals/mapping/help/spiral-help.pd	2008-06-25 18:06:09 UTC (rev 10097)
@@ -1,6 +1,4 @@
-#N canvas 56 302 487 492 10;
-#X declare -lib mapping;
-#X obj 27 457 import unauthorized;
+#N canvas 69 38 487 492 10;
 #X obj 5 2 cnv 15 450 20 empty empty [spiral] 2 11 1 18 -233017 -66577
 0;
 #X msg 422 3 pddp;
@@ -17,26 +15,30 @@
 #X text 266 378 example:;
 #X obj 325 378 spiral-joystick;
 #X obj 86 346 spiral;
-#X obj 279 406 pddp/pddplink ../mapping-about.pd -text mapping-about;
+#X obj 279 406 pddp/pddplink ../mapping-about.pd -text mapping-about
+;
 #X obj 390 341 polar;
 #X text 24 32 Converts cartesian coordinates(x \, y) to spiral in polar
 coordinates (radius \, angle). The angle is from 0 to 1 The angle 0
 is at cartesian (1 \, 0) or far right center.;
 #X text 24 81 The angle will just keep going up/down as long as there
 is rotation rather than reset like [polar].;
-#X msg 159 293 1;
-#X msg 195 293 -1;
-#X text 223 293 manually add/subtract rotations;
-#X obj 32 124 grid grid1 100 0 1 100 0 1 0 0.01 0.01 10 10 -131 68
+#X msg 159 303 1;
+#X msg 195 303 -1;
+#X text 223 303 manually add/subtract rotations;
+#X obj 32 124 unauthorized/grid grid1 100 0 1 100 0 1 0 0.01 0.01 10 10 -131 68
 ;
 #X obj 339 341 vector;
-#X connect 4 0 14 0;
-#X connect 9 0 10 0;
-#X connect 10 0 4 0;
-#X connect 10 1 14 1;
-#X connect 14 0 5 0;
-#X connect 14 1 8 0;
-#X connect 19 0 14 2;
-#X connect 20 0 14 2;
-#X connect 22 0 4 0;
-#X connect 22 1 9 0;
+#X msg 152 279 bang;
+#X text 185 278 reset to start position;
+#X connect 3 0 13 0;
+#X connect 8 0 9 0;
+#X connect 9 0 3 0;
+#X connect 9 1 13 1;
+#X connect 13 0 4 0;
+#X connect 13 1 7 0;
+#X connect 18 0 13 2;
+#X connect 19 0 13 2;
+#X connect 21 0 3 0;
+#X connect 21 1 8 0;
+#X connect 23 0 13 2;

Modified: branches/pd-extended/v0-40/externals/mapping/spiral.pd
===================================================================
--- branches/pd-extended/v0-40/externals/mapping/spiral.pd	2008-06-25 17:35:37 UTC (rev 10096)
+++ branches/pd-extended/v0-40/externals/mapping/spiral.pd	2008-06-25 18:06:09 UTC (rev 10097)
@@ -1,4 +1,4 @@
-#N canvas 492 167 689 461 10;
+#N canvas 80 87 689 461 10;
 #X obj 30 58 inlet;
 #X obj 25 393 outlet;
 #X text 73 393 output range: 0 to 1;
@@ -12,29 +12,32 @@
 #X text 20 432 (C) Copyright 2005 Hans-Christoph Steiner <hans at at.or.at>
 ;
 #X obj 309 298 +;
-#X msg 271 222 1;
-#X msg 395 220 -1;
+#X msg 302 232 1;
+#X msg 425 230 -1;
 #X obj 232 363 +;
-#X obj 272 160 maxlib/delta;
-#X obj 310 331 * 1;
-#X obj 272 180 moses -0.4;
-#X obj 337 200 moses 0.4;
+#X obj 302 170 maxlib/delta;
+#X obj 309 321 * 1;
+#X obj 302 190 moses -0.4;
+#X obj 367 210 moses 0.4;
 #X text 273 90 changes over 0.4 mean one rotation. I can't move fast
 enough on my joystick to get near a change of 0.4 This might not work
 on other devices \, like tablets \, but we'll cross that bridge when
 we get to it (i.e. when I get a tablet);
 #X text 280 392 output range: infinite \, one rotation = 1;
-#X obj 135 125 trigger float float;
+#X obj 129 137 trigger float float;
 #X obj 340 298 float;
-#X obj 445 54 inlet;
-#X text 486 53 add or subtract rotations;
+#X obj 415 54 inlet;
+#X text 456 53 add or subtract rotations;
 #X obj 152 304 float;
-#X obj 174 191 t b f;
 #X text 231 413 angle;
 #X text 25 414 distance;
 #X obj 84 106 polar \$1;
-#X connect 0 0 29 0;
-#X connect 5 0 29 1;
+#X msg 210 197 0;
+#X obj 164 175 route float bang;
+#X obj 210 220 trigger 0 0;
+#X obj 164 268 trigger bang 0;
+#X connect 0 0 28 0;
+#X connect 5 0 28 1;
 #X connect 11 0 16 0;
 #X connect 11 0 22 0;
 #X connect 12 0 11 0;
@@ -48,9 +51,14 @@
 #X connect 21 0 25 0;
 #X connect 21 1 15 0;
 #X connect 22 0 11 1;
-#X connect 23 0 26 0;
+#X connect 23 0 30 0;
 #X connect 25 0 14 0;
-#X connect 26 0 25 0;
-#X connect 26 1 11 0;
-#X connect 29 0 1 0;
-#X connect 29 1 21 0;
+#X connect 28 0 1 0;
+#X connect 28 1 21 0;
+#X connect 29 0 31 0;
+#X connect 30 0 32 0;
+#X connect 30 1 29 0;
+#X connect 31 0 11 0;
+#X connect 31 1 22 0;
+#X connect 32 0 25 0;
+#X connect 32 1 11 0;


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list