#N struct 1006polygon float x float y float x1 float y1 float x2 float
y2 float x3 float y3 float x4 float y4;
#N canvas 0 22 900 591 10;
#X obj 428 89 randomPolygon1;
#X msg 428 342 47 105 28 143 121 142 132 28;
#X obj 428 317 prepend set;
#X obj 621 66 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 463 2 bondo 8;
#X obj 436 28 pack f f f f f f f f;
#X floatatom 424 -142 5 0 0 0 - - -;
#X floatatom 434 -122 5 0 0 0 - - -;
#X floatatom 445 -100 5 0 0 0 - - -;
#X floatatom 457 -79 5 0 0 0 - - -;
#X floatatom 474 -142 5 0 0 0 - - -;
#X floatatom 484 -122 5 0 0 0 - - -;
#X floatatom 495 -100 5 0 0 0 - - -;
#X floatatom 507 -79 5 0 0 0 - - -;
#X text 27 -144 random 4 point polygon creator;
#X text 27 -122 a new polygon is created whenever a bang is pressed
or sent on the right inlet;
#X text 780 -134 by Eldad Tsabary;
#X text 28 25 the left outlet produces a list of 4 XY coordinates;
#X text 28 -41 x1 y1 x2 y2 x3 y3 x4 y4;
#X text 28 -19 the x axis is 0 to 200 (left to right);
#X text 27 -87 the left inlet receives a list of 4 XY pairs for the
4 polygo joints;
#X text 28 3 the y axis is 0 to 200 (top to bottom);
#X connect 0 0 2 0;
#X connect 2 0 1 0;
#X connect 3 0 0 1;
#X connect 4 0 5 0;
#X connect 4 1 5 1;
#X connect 4 2 5 2;
#X connect 4 3 5 3;
#X connect 4 4 5 4;
#X connect 4 5 5 5;
#X connect 4 6 5 6;
#X connect 4 7 5 7;
#X connect 5 0 0 0;
#X connect 6 0 4 0;
#X connect 7 0 4 2;
#X connect 8 0 4 4;
#X connect 9 0 4 6;
#X connect 10 0 4 1;
#X connect 11 0 4 3;
#X connect 12 0 4 5;
#X connect 13 0 4 7;
