#N canvas 0 0 880 564 10;
#X text 54 30 Class: geometric object;
#X obj 479 47 cnv 15 250 450 empty empty empty 20 12 0 14 -228992 -66577
0;
#X obj 554 431 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 0 450 300 gemwin 0;
#X obj 132 136 gemwin;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 142 68 set create;
#X msg 198 112 destroy;
#X msg 132 112 create \, 1;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 0 7 0;
#X connect 3 1 5 0;
#X connect 3 1 6 0;
#X connect 4 0 1 0;
#X connect 5 0 1 0;
#X connect 6 0 0 0;
#X connect 7 0 0 0;
#X restore 559 470 pd gemwin;
#X msg 559 451 create;
#X text 555 430 Create window:;
#X text 485 29 Example:;
#X obj 7 65 cnv 15 450 90 empty empty empty 20 12 0 14 -233017 -66577
0;
#X obj 8 222 cnv 15 450 200 empty empty empty 20 12 0 14 -233017 -66577
0;
#X text 9 221 Inlets:;
#X obj 8 161 cnv 15 450 50 empty empty empty 20 12 0 14 -195568 -66577
0;
#X text 17 160 Arguments:;
#X text 26 339 Inlet 1: message: draw [line|fill|point];
#X text 452 8 GEM object;
#X text 27 233 Inlet 1: gemlist;
#X text 9 395 Outlets:;
#X text 20 408 Outlet 1: gemlist;
#X obj 484 141 cnv 15 240 280 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 493 54 gemhead;
#X floatatom 510 249 5 0 0 2 size - -;
#X floatatom 517 288 5 0 0 2 height - -;
#X floatatom 571 59 5 0 0 0 - - -;
#X msg 509 149 draw line;
#X msg 509 169 draw fill;
#X msg 509 189 draw point;
#X text 33 14 Synopsis: [newWave];
#X obj 493 79 rotateXYZ 135 0 0;
#X text 26 352 Inlet 2: float: size (dimX & dimY);
#X text 26 366 Inlet 3: float: height (dimZ);
#X text 10 421 actions:;
#X text 26 380 Inlet 4: int: action;
#X text 84 420 00..retrigger current action;
#X text 84 431 01..flat;
#X text 84 442 02..spike;
#X text 84 452 03..diagonal wall;
#X text 84 463 04..sidewall;
#X text 84 474 05..hole;
#X text 84 485 06..middleblock;
#X text 84 496 07..diagonalblock;
#X text 84 507 08..cornerblock;
#X text 84 517 09..hill;
#X obj 558 222 vradio 11 1 0 11 empty empty action -10 -6 0 8 -262144
-1 -1 0;
#X text 83 528 10..hill4 (default);
#X floatatom 626 158 5 0 100 0 - - -;
#X obj 626 176 / 100;
#X msg 626 195 K1 \$1;
#X obj 493 349 newWave 30;
#X text 63 173 grid-resolution;
#X text 65 187 default: 3;
#X text 16 86 The newWaves object renders a number of waving square
at the current position with current color. The size of the square
can be changed via the inlet2 \, the height of the wave can be set
via the 3rd inlet. You can also set the wave-form (inlet4);
#X text 26 246 Inlet 1: bang: trigger waving;
#X obj 493 321 t a b;
#X floatatom 626 218 5 0 100 0 - - -;
#X obj 626 236 / 100;
#X floatatom 626 278 5 0 100 0 - - -;
#X obj 626 296 / 100;
#X floatatom 676 158 5 0 100 0 - - -;
#X obj 676 176 / 100;
#X floatatom 676 218 5 0 100 0 - - -;
#X obj 676 236 / 100;
#X floatatom 676 278 5 0 100 0 - - -;
#X obj 676 296 / 100;
#X msg 676 195 D1 \$1;
#X msg 676 255 D2 \$1;
#X msg 676 315 D3 \$1;
#X msg 626 315 K3 \$1;
#X msg 626 255 K2 \$1;
#X obj 595 272 t a;
#X obj 595 212 t a;
#X obj 595 332 t a;
#X text 27 260 Inlet 1: K1 \, D1 \, K2 \, D2 \, K3 \, D3: weight/damping
factors (defaults: K1=0.05 D1=0.1 K2=K3=D2=D3=0);
#X text 24 313 Inlet 1: message: force (X Y val): impose a force of
value "val" onto the wave at position (X Y);
#X msg 584 367 position 1 1 10;
#X text 25 288 Inlet 1: message: position (X Y Z): clamp the node at
(X Y) to a certain height and release it;
#X msg 585 392 force 15 15 -0.5;
#X text 7 69 Description: Renders a waving square (mass-spring-system)
;
#X connect 3 0 4 0;
#X connect 4 0 3 0;
#X connect 18 0 26 0;
#X connect 19 0 46 1;
#X connect 20 0 46 2;
#X connect 21 0 26 1;
#X connect 22 0 46 0;
#X connect 23 0 46 0;
#X connect 24 0 46 0;
#X connect 26 0 51 0;
#X connect 41 0 46 3;
#X connect 43 0 44 0;
#X connect 44 0 45 0;
#X connect 45 0 68 0;
#X connect 51 0 46 0;
#X connect 51 1 46 0;
#X connect 52 0 53 0;
#X connect 53 0 66 0;
#X connect 54 0 55 0;
#X connect 55 0 65 0;
#X connect 56 0 57 0;
#X connect 57 0 62 0;
#X connect 58 0 59 0;
#X connect 59 0 63 0;
#X connect 60 0 61 0;
#X connect 61 0 64 0;
#X connect 62 0 68 0;
#X connect 63 0 67 0;
#X connect 64 0 69 0;
#X connect 65 0 69 0;
#X connect 66 0 67 0;
#X connect 67 0 69 0;
#X connect 68 0 67 0;
#X connect 69 0 46 0;
#X connect 72 0 46 0;
#X connect 74 0 46 0;
