aboutsummaryrefslogtreecommitdiff
path: root/help/vcog-help.pd
blob: 3f62651291aea198c2ccfeae9f302058196e198a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#N canvas 480 472 471 125 12;
#X msg 18 40 1 2 3 4;
#X floatatom 50 96 5 0 0;
#X msg 84 40 3 4 5;
#X text 387 99 j#|@2002;
#X obj 409 77 SMLib;
#X obj 52 69 vcog;
#X text 16 14 vcog computes the center of gravity of a list of floats
;
#X msg 134 40 0 1 0 1;
#X msg 199 40 0 0 1 1;
#X msg 263 40 8;
#X msg 144 74 1 -1;
#X text 142 94 zero sum causes no output;
#X connect 0 0 5 0;
#X connect 2 0 5 0;
#X connect 5 0 1 0;
#X connect 7 0 5 0;
#X connect 8 0 5 0;
#X connect 9 0 5 0;
#X connect 10 0 5 0;