File: scale.pd

package info (click to toggle)
gem 0.81-7
  • links: PTS
  • area: main
  • in suites: potato
  • size: 4,856 kB
  • ctags: 3,032
  • sloc: cpp: 16,976; ansic: 3,450; sh: 1,901; lex: 1,098; makefile: 309
file content (32 lines) | stat: -rw-r--r-- 1,083 bytes parent folder | download
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
28
29
30
31
32
#N canvas 163 355 600 500 10;
#X msg 57 198 x y z;
#X msg 22 136 gemList;
#X msg 22 283 gemList;
#X text 130 40 scale;
#X obj 22 229 scale;
#X msg 39 168 amount;
#X text 32 319 scale accepts a gemList and changes the current transformation matrix by the specified scale;
#X text 111 74 GEM object;
#X msg 157 131 gemList;
#X msg 157 278 gemList;
#X obj 157 225 scale 2;
#X msg 317 131 gemList;
#X msg 317 278 gemList;
#X obj 317 229 scale 2 1 1;
#X msg 471 136 gemList;
#X msg 471 283 gemList;
#X obj 471 229 scale 2 1 1 2;
#X text 32 383 With 1 argument \, the entire object is scaled by this amount;
#X text 32 407 With 3 arguments \, the object is scaled in each dimension by the vector;
#X text 32 447 With 4 arguments \, the object is scaled by the amount by the vector.;
#X text 32 359 The xyz vector determine the vector for scaling;
#X connect 0 0 4 2;
#X connect 1 0 4 0;
#X connect 4 0 2 0;
#X connect 5 0 4 1;
#X connect 8 0 10 0;
#X connect 10 0 9 0;
#X connect 11 0 13 0;
#X connect 13 0 12 0;
#X connect 14 0 16 0;
#X connect 16 0 15 0;