Revision: 10720 http://pure-data.svn.sourceforge.net/pure-data/?rev=10720&view=rev Author: lukeiannini Date: 2009-02-03 01:07:34 +0000 (Tue, 03 Feb 2009)
Log Message: ----------- deadzone for making a dead area in joysticks, color.hasedcolor for generating a random but consistent color from an input string
Modified Paths: -------------- trunk/abstractions/sfruit/sfruit/OSCout.pd trunk/abstractions/sfruit/sfruit/castsymbol.pd
Added Paths: ----------- trunk/abstractions/sfruit/sfruit/color.hashedcolor-help.pd trunk/abstractions/sfruit/sfruit/color.hashedcolor.pd trunk/abstractions/sfruit/sfruit/deadzone-help.pd trunk/abstractions/sfruit/sfruit/deadzone.pd
Modified: trunk/abstractions/sfruit/sfruit/OSCout.pd =================================================================== --- trunk/abstractions/sfruit/sfruit/OSCout.pd 2009-02-02 19:17:30 UTC (rev 10719) +++ trunk/abstractions/sfruit/sfruit/OSCout.pd 2009-02-03 01:07:34 UTC (rev 10720) @@ -1,14 +1,15 @@ -#N canvas 0 22 367 215 10; +#N canvas 369 22 367 215 10; #X obj 52 133 udpsend; -#X obj 52 103 packOSC; +#X obj 52 63 packOSC; #X obj 124 75 loadbang; #X obj 124 96 list append connect $1 $2; -#X obj 52 61 r OSCOUT; -#X obj 78 175 print; +#X obj 52 21 r OSCOUT; #X obj 124 116 list trim; -#X connect 0 0 5 0; -#X connect 1 0 0 0; +#X obj 52 104 spigot; +#X connect 0 0 6 1; +#X connect 1 0 6 0; #X connect 2 0 3 0; -#X connect 3 0 6 0; +#X connect 3 0 5 0; #X connect 4 0 1 0; +#X connect 5 0 0 0; #X connect 6 0 0 0;
Modified: trunk/abstractions/sfruit/sfruit/castsymbol.pd =================================================================== --- trunk/abstractions/sfruit/sfruit/castsymbol.pd 2009-02-02 19:17:30 UTC (rev 10719) +++ trunk/abstractions/sfruit/sfruit/castsymbol.pd 2009-02-03 01:07:34 UTC (rev 10720) @@ -1,11 +1,13 @@ -#N canvas 660 453 201 199 10; +#N canvas 453 458 228 207 10; #X obj 36 29 inlet; -#X obj 66 80 list prepend set; #X obj 36 56 t b a; -#X msg 36 108; -#X obj 36 138 outlet; -#X connect 0 0 2 0; -#X connect 1 0 3 0; +#X msg 36 138; +#X obj 36 168 outlet; +#X obj 63 104 list trim; +#X obj 63 80 list prepend set symbol; +#X connect 0 0 1 0; +#X connect 1 0 2 0; +#X connect 1 1 5 0; #X connect 2 0 3 0; -#X connect 2 1 1 0; -#X connect 3 0 4 0; +#X connect 4 0 2 0; +#X connect 5 0 4 0;
Added: trunk/abstractions/sfruit/sfruit/color.hashedcolor-help.pd =================================================================== --- trunk/abstractions/sfruit/sfruit/color.hashedcolor-help.pd (rev 0) +++ trunk/abstractions/sfruit/sfruit/color.hashedcolor-help.pd 2009-02-03 01:07:34 UTC (rev 10720) @@ -0,0 +1,21 @@ +#N canvas 611 22 448 384 10; +#X obj 106 170 color.hashedcolor; +#X msg 87 70 telescope; +#X msg 58 108 spyglass; +#X msg 132 108 binoculars; +#X text 8 10 [color.hashedcolor] - generate a random but consistent +color based on any input string.; +#X obj 106 192 color.rgb2pd24; +#X obj 106 274 bng 50 250 50 0 empty empty empty 17 7 0 10 -198190 +-1 -262144; +#X msg 106 242 color $1; +#X text 294 332 2009 Luke Iannini; +#X text 310 349 proyekto.net; +#X msg 160 134 microscope; +#X connect 0 0 5 0; +#X connect 1 0 0 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 5 0 7 0; +#X connect 7 0 6 0; +#X connect 10 0 0 0;
Added: trunk/abstractions/sfruit/sfruit/color.hashedcolor.pd =================================================================== --- trunk/abstractions/sfruit/sfruit/color.hashedcolor.pd (rev 0) +++ trunk/abstractions/sfruit/sfruit/color.hashedcolor.pd 2009-02-03 01:07:34 UTC (rev 10720) @@ -0,0 +1,28 @@ +#N canvas 943 431 197 345 10; +#X msg 80 176 seed $1; +#X obj 50 265 list-extend; +#X obj 29 289 list; +#X obj 29 151 t b b b b a b; +#X obj 50 211 random 255; +#X obj 50 239 / 255; +#X obj 29 316 outlet; +#X obj 29 50 inlet; +#X obj 29 129 list-reduce; +#X obj 103 129 +; +#X obj 29 88 moocow/any2string; +#X connect 0 0 4 0; +#X connect 1 0 2 1; +#X connect 2 0 6 0; +#X connect 3 0 2 0; +#X connect 3 1 4 0; +#X connect 3 2 4 0; +#X connect 3 3 4 0; +#X connect 3 4 0 0; +#X connect 3 5 1 1; +#X connect 4 0 5 0; +#X connect 5 0 1 0; +#X connect 7 0 10 0; +#X connect 8 0 3 0; +#X connect 8 1 9 0; +#X connect 9 0 8 1; +#X connect 10 0 8 0;
Added: trunk/abstractions/sfruit/sfruit/deadzone-help.pd =================================================================== --- trunk/abstractions/sfruit/sfruit/deadzone-help.pd (rev 0) +++ trunk/abstractions/sfruit/sfruit/deadzone-help.pd 2009-02-03 01:07:34 UTC (rev 10720) @@ -0,0 +1,14 @@ +#N canvas 686 25 450 300 10; +#X obj 129 123 deadzone 5; +#X obj 116 79 hsl 128 15 -20 20 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 12700 1; +#X obj 116 169 hsl 128 15 -20 20 0 0 empty empty empty -2 -8 0 10 -262144 +-1 -1 12700 1; +#X floatatom 140 148 5 0 0 0 - - -; +#X text 16 18 [deadzone] converts all input within the range -N...0...N +to 0 Useful with joysticks.; +#X text 252 240 2009 Luke Iannini; +#X text 252 260 proyekto.net; +#X connect 0 0 2 0; +#X connect 0 0 3 0; +#X connect 1 0 0 0;
Added: trunk/abstractions/sfruit/sfruit/deadzone.pd =================================================================== --- trunk/abstractions/sfruit/sfruit/deadzone.pd (rev 0) +++ trunk/abstractions/sfruit/sfruit/deadzone.pd 2009-02-03 01:07:34 UTC (rev 10720) @@ -0,0 +1,30 @@ +#N canvas 736 493 252 332 10; +#X obj 46 41 inlet; +#X obj 46 105 > $1; +#X obj 108 106 <; +#X obj 123 83 * -1; +#X obj 123 62 $1; +#X obj 123 40 loadbang; +#X obj 82 41 inlet; +#X obj 72 178 sel 0 1; +#X obj 46 71 t a a a; +#X obj 120 228 f; +#X obj 72 271 outlet; +#X obj 72 142 ||; +#X msg 72 228 0; +#X connect 0 0 8 0; +#X connect 1 0 11 0; +#X connect 2 0 11 1; +#X connect 3 0 2 1; +#X connect 4 0 3 0; +#X connect 5 0 4 0; +#X connect 6 0 4 0; +#X connect 6 0 1 1; +#X connect 7 0 12 0; +#X connect 7 1 9 0; +#X connect 8 0 1 0; +#X connect 8 1 2 0; +#X connect 8 2 9 1; +#X connect 9 0 10 0; +#X connect 11 0 7 0; +#X connect 12 0 10 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.