aboutsummaryrefslogtreecommitdiff
path: root/externals/gridflow/doc/flow_classes/pingpong-help.pd
blob: 17b44f36a26e8623f33981522981f07438b9405e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#N canvas 680 0 632 383 10;
#X obj 0 0 doc_h;
#X obj 3 294 doc_o 1;
#X text 148 44 Transforms linear counting (0 \, 1 \, 2 \, 3 \, 4 \,
...) into a back-and-forth counting (0 \, 1 \, 2 \, 1 \, 0 \, ...)
from 0 to a specified upper bound.;
#X obj 34 47 pingpong;
#X obj 14 324 doc_oo 0;
#X obj 3 109 doc_c 1;
#X obj 3 171 doc_i 2;
#X obj 14 139 doc_cc 0;
#X obj 14 201 doc_ii 0;
#X obj 14 262 doc_ii 1;
#X obj 97 139 doc_m c0 float;
#X obj 97 262 doc_m i1 float;
#X text 232 262 same as arg 0;
#X text 232 139 "top";
#X obj 97 201 doc_m i0 float;
#X text 232 201 a value to be transformed. If \, for example \, top=10
\, then values 0 thru 10 are left unchanged \, values 11 thru 19 are
mapped to 9 thru 1 respectively \, and 20 thru 30 are mapped to 0 thru
10 \, and so on.;
#X obj 97 324 doc_m o0 float;
#X obj 0 354 doc_f;
#X connect 10 1 13 0;
#X connect 11 1 12 0;
#X connect 14 1 15 0;