From 3175ffa50e858c884a21c578ef9969a9ca04e356 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 17 Mar 2006 05:49:24 +0000 Subject: added inlet to add or subtract from the current number of rotation svn path=/trunk/externals/mapping/; revision=4735 --- spiral.pd | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) (limited to 'spiral.pd') diff --git a/spiral.pd b/spiral.pd index 24fcd8d..6ce0248 100644 --- a/spiral.pd +++ b/spiral.pd @@ -1,32 +1,36 @@ -#N canvas 492 167 673 445 10; +#N canvas 492 167 685 457 10; #X obj 30 58 inlet; -#X obj 25 363 outlet; -#X text 73 363 output range: 0 to 1; +#X obj 25 393 outlet; +#X text 73 393 output range: 0 to 1; #X text 72 57 input range: 0 to 1; -#X obj 232 362 outlet; +#X obj 232 392 outlet; #X obj 222 58 inlet; #X text 264 57 input range: 0 to 1; #X text 29 29 x-axis value; #X text 221 26 y-axis value; -#X text 254 411 released under the GNU GPL; -#X text 40 396 (C) Copyright 2005 Hans-Christoph Steiner +#X text 432 432 released under the GNU GPL; +#X text 20 432 (C) Copyright 2005 Hans-Christoph Steiner ; -#X obj 309 258 +; -#X msg 260 227 1; -#X msg 356 227 -1; -#X obj 232 327 +; -#X obj 262 161 delta; -#X obj 310 291 * 1; -#X obj 262 185 moses -0.4; -#X obj 312 205 moses 0.4; +#X obj 309 298 +; +#X msg 271 222 1; +#X msg 395 220 -1; +#X obj 232 363 +; +#X obj 272 160 delta; +#X obj 310 331 * 1; +#X obj 272 180 moses -0.4; +#X obj 337 200 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 362 output range: infinite \, one rotation = 1; -#X obj 105 109 polar; -#X obj 135 133 trigger float float; -#X obj 340 258 float; +#X text 280 392 output range: infinite \, one rotation = 1; +#X obj 105 106 polar; +#X obj 135 125 trigger float float; +#X obj 340 298 float; +#X obj 445 54 inlet; +#X text 486 53 add or subtract rotations; +#X obj 152 304 float; +#X obj 174 191 t b f; #X connect 0 0 21 0; #X connect 5 0 21 1; #X connect 11 0 16 0; @@ -41,6 +45,10 @@ we get to it (i.e. when I get a tablet); #X connect 18 1 13 0; #X connect 21 0 1 0; #X connect 21 1 22 0; -#X connect 22 0 14 0; +#X connect 22 0 26 0; #X connect 22 1 15 0; #X connect 23 0 11 1; +#X connect 24 0 27 0; +#X connect 26 0 14 0; +#X connect 27 0 26 0; +#X connect 27 1 11 0; -- cgit v1.2.1