diff options
Diffstat (limited to 'Gem')
231 files changed, 1599 insertions, 1169 deletions
diff --git a/Gem/GLdefine-help.pd b/Gem/GLdefine-help.pd index e64cc25..09235e0 100644 --- a/Gem/GLdefine-help.pd +++ b/Gem/GLdefine-help.pd @@ -1,4 +1,5 @@ -#N canvas 78 37 701 310 10; +#N canvas 78 61 701 310 10; +#X declare -lib Gem; #X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 584 234 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 @@ -56,6 +57,7 @@ in the OpenGL C++ code.; #X msg 542 98 GL_LINES; #X obj 534 142 GLdefine GL_ADD; #X msg 553 119 symbol GL_ACCUM; +#X obj 588 8 declare -lib Gem; #X connect 2 0 3 0; #X connect 3 0 2 0; #X connect 14 0 27 0; diff --git a/Gem/Gem.pd_darwin b/Gem/Gem.pd_darwin Binary files differindex 70c5d71..24947a2 100755 --- a/Gem/Gem.pd_darwin +++ b/Gem/Gem.pd_darwin diff --git a/Gem/accumrotate-help.pd b/Gem/accumrotate-help.pd index a040c5f..3adcade 100644 --- a/Gem/accumrotate-help.pd +++ b/Gem/accumrotate-help.pd @@ -1,4 +1,5 @@ -#N canvas 57 47 634 374 10; +#N canvas 57 61 634 374 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X text 50 12 Synopsis: [accumrotate]; #X obj 8 197 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 @@ -65,6 +66,7 @@ transformation matrix by the specified delta-rotation; #X text 34 335 see also:; #X obj 143 337 rotateXYZ; #X obj 95 337 rotate; +#X obj 520 8 declare -lib Gem; #X connect 21 0 22 0; #X connect 22 0 21 0; #X connect 26 0 31 0; diff --git a/Gem/alpha-help.pd b/Gem/alpha-help.pd index 0f913ea..a7d6f8c 100644 --- a/Gem/alpha-help.pd +++ b/Gem/alpha-help.pd @@ -1,4 +1,5 @@ #N canvas 50 237 711 539 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 330 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -40,7 +41,8 @@ #X obj 451 197 cnv 15 80 60 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 579 186 color 1 0 0 0.5; -#X text 60 219 Inlet 1: float: turn alpha blending on/off (default:1); +#X text 60 219 Inlet 1: float: turn alpha blending on/off (default:1) +; #X text 50 12 Synopsis: [alpha]; #X text 29 77 Description: enable alpha blending; #X obj 458 310 square; @@ -91,6 +93,7 @@ blended ones.; #X obj 477 210 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X floatatom 501 210 2 0 19 0 - - -; +#X obj 588 8 declare -lib Gem; #X connect 11 0 12 0; #X connect 12 0 11 0; #X connect 16 0 27 0; diff --git a/Gem/ambient-help.pd b/Gem/ambient-help.pd index b57f8b6..edf8b9a 100644 --- a/Gem/ambient-help.pd +++ b/Gem/ambient-help.pd @@ -1,4 +1,5 @@ #N canvas 260 145 639 369 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -58,6 +59,7 @@ see any effects.; #X floatatom 549 193 5 0 0 0 - - -; #X obj 84 332 ambientRGB; #X text 21 332 see also:; +#X obj 519 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 27 0; diff --git a/Gem/ambientRGB-help.pd b/Gem/ambientRGB-help.pd index 128ad0f..970feca 100644 --- a/Gem/ambientRGB-help.pd +++ b/Gem/ambientRGB-help.pd @@ -1,4 +1,5 @@ -#N canvas 4 49 641 366 10; +#N canvas 6 61 641 366 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -64,6 +65,7 @@ see any effects.; #X obj 500 211 rotate 70 1 0 0; #X text 20 333 see also:; #X obj 93 332 ambient; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 30 0; diff --git a/Gem/camera-help.pd b/Gem/camera-help.pd index 9b0d5f8..ebfcc45 100644 --- a/Gem/camera-help.pd +++ b/Gem/camera-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 22 630 494 10; +#N canvas 6 61 630 494 10; +#X declare -lib Gem; #X obj 179 157 camera; #X obj 179 45 gemhead; #X obj 162 82 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 @@ -53,6 +54,7 @@ #X restore 175 344 pd gemwin; #X msg 175 325 create; #X text 171 304 Create window:; +#X obj 488 18 declare -lib Gem; #X connect 1 0 0 0; #X connect 2 0 14 0; #X connect 3 0 13 0; diff --git a/Gem/circle-help.pd b/Gem/circle-help.pd index 7682479..5ed5a05 100644 --- a/Gem/circle-help.pd +++ b/Gem/circle-help.pd @@ -1,4 +1,5 @@ #N canvas 291 154 710 345 10; +#X declare -lib Gem; #X text 33 14 Synopsis: [circle]; #X text 54 30 Class: geometric object; #X text 525 29 Example:; @@ -56,6 +57,7 @@ with the draw message \, its size can be changed via the second inlet. #X floatatom 626 130 5 0 0 2 size - -; #X text 64 191 default:1; #X text 27 247 Inlet 1: message: draw [line|fill|point|default]; +#X obj 588 8 declare -lib Gem; #X connect 18 0 19 0; #X connect 19 0 18 0; #X connect 23 0 22 0; diff --git a/Gem/color-help.pd b/Gem/color-help.pd index b797ca4..94af8b1 100644 --- a/Gem/color-help.pd +++ b/Gem/color-help.pd @@ -1,4 +1,5 @@ #N canvas 48 102 639 342 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -55,6 +56,7 @@ set the alpha-value \, you will need an [alpha] object to enable alpha-blending #X text 29 67 Description: colouring; #X text 449 272 see also:; #X obj 452 301 colorRGB; +#X obj 519 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 21 0; diff --git a/Gem/colorRGB-help.pd b/Gem/colorRGB-help.pd index f55a268..85cd352 100644 --- a/Gem/colorRGB-help.pd +++ b/Gem/colorRGB-help.pd @@ -1,4 +1,5 @@ -#N canvas 42 24 639 342 10; +#N canvas 42 61 639 342 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -61,6 +62,7 @@ If you set the alpha-value \, you will need an [alpha] object to enable alpha-blending; #X text 447 272 see also:; #X obj 449 297 color; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 30 0; diff --git a/Gem/colorSquare-help.pd b/Gem/colorSquare-help.pd index aac9afc..7944e6d 100644 --- a/Gem/colorSquare-help.pd +++ b/Gem/colorSquare-help.pd @@ -1,4 +1,5 @@ -#N canvas 130 41 696 468 10; +#N canvas 130 61 696 468 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 479 107 cnv 15 200 250 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -69,6 +70,7 @@ corner; position. The size of the square can be changed via the second inlet. The colors of the 4 corners can be specified separately and are drawn as gradients.; +#X obj 578 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 21 0 28 0; diff --git a/Gem/cone-help.pd b/Gem/cone-help.pd index a08b413..2beb137 100644 --- a/Gem/cone-help.pd +++ b/Gem/cone-help.pd @@ -1,6 +1,7 @@ #N canvas 290 157 710 345 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 479 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 479 47 cnv 15 180 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 544 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; @@ -58,6 +59,7 @@ message \, its size can be changed via the second inlet.; #X text 64 180 defaults: 1 10; #X text 63 162 size of the cone \, number of segments; #X text 27 247 Inlet 1: message: draw [line|fill|point|default]; +#X obj 548 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 21 0 29 0; diff --git a/Gem/cube-help.pd b/Gem/cube-help.pd index d80e0e1..e0ef5ea 100644 --- a/Gem/cube-help.pd +++ b/Gem/cube-help.pd @@ -1,4 +1,5 @@ #N canvas 289 160 710 345 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -55,6 +56,7 @@ inlet.; #X obj 593 159 cube; #X msg 525 106 draw line; #X msg 525 85 draw default; +#X obj 588 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 23 0 27 0; diff --git a/Gem/cuboid-help.pd b/Gem/cuboid-help.pd index 428b791..edd04f1 100644 --- a/Gem/cuboid-help.pd +++ b/Gem/cuboid-help.pd @@ -1,4 +1,5 @@ #N canvas 289 160 710 363 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -62,6 +63,7 @@ via the last three inlets.; #X text 27 275 Inlet 3: float: height (dimY); #X text 27 289 Inlet 4: float: depth (dimZ); #X text 65 181 default: 1 1 0; +#X obj 588 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 23 0; diff --git a/Gem/curve-help.pd b/Gem/curve-help.pd index 6922779..7a0811a 100644 --- a/Gem/curve-help.pd +++ b/Gem/curve-help.pd @@ -1,4 +1,5 @@ -#N canvas 65 18 762 461 10; +#N canvas 65 61 682 456 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X text 475 39 Example:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 @@ -84,6 +85,7 @@ of control-points.; #X floatatom 600 274 5 0 100 0 - - -; #X msg 600 291 res \$1; #X msg 605 213 \$1 \$1 \$1; +#X obj 569 8 declare -lib Gem; #X connect 13 0 14 0; #X connect 14 0 13 0; #X connect 30 0 47 0; diff --git a/Gem/curve3d-help.pd b/Gem/curve3d-help.pd index 397113d..25307c6 100644 --- a/Gem/curve3d-help.pd +++ b/Gem/curve3d-help.pd @@ -1,4 +1,5 @@ #N canvas 362 96 968 580 10; +#X declare -lib Gem; #X text 145 42 Class: geometric object; #X obj 13 64 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -1611,8 +1612,9 @@ point. (Mx \, My : position of the point in the matrix. X \, Y \, Z #X text 21 447 examples :; #X text 29 87 The curve3d object renders a curve at the current position with current color or texture. The shape of the curve is controlled -from a matrix. Note that control points are not necessarily part of the -curve.; +from a matrix. Note that control points are not necessarily part of +the curve.; +#X obj 848 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 18 0 45 0; diff --git a/Gem/cylinder-help.pd b/Gem/cylinder-help.pd index e9781f7..0628d33 100644 --- a/Gem/cylinder-help.pd +++ b/Gem/cylinder-help.pd @@ -1,6 +1,7 @@ -#N canvas 291 154 710 345 10; +#N canvas 291 154 674 345 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 479 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 479 47 cnv 15 180 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 544 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; @@ -59,6 +60,7 @@ with the draw message \, its size can be changed via the second inlet. #X text 63 167 size of the cylinder \, segments; #X text 63 182 defaults: 1 \, 10; #X text 27 247 Inlet 1: message: draw [line|fill|point|default]; +#X obj 558 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 27 0; diff --git a/Gem/depth-help.pd b/Gem/depth-help.pd index 83fe3d9..38ddb56 100644 --- a/Gem/depth-help.pd +++ b/Gem/depth-help.pd @@ -1,4 +1,5 @@ -#N canvas 15 24 724 431 10; +#N canvas 15 61 724 431 10; +#X declare -lib Gem; #X obj 17 299 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 28 302 Inlets:; @@ -72,6 +73,7 @@ for the objects "below".; #X obj 607 252 s \$0-gemwin; #X text 630 210 lighting; #X text 516 113 turn depth test on/off; +#X obj 608 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 16 0 17 0; diff --git a/Gem/diffuse-help.pd b/Gem/diffuse-help.pd index a9c9d69..cbaecb2 100644 --- a/Gem/diffuse-help.pd +++ b/Gem/diffuse-help.pd @@ -1,5 +1,6 @@ -#N canvas 61 22 630 385 10; -#X text 452 8 GEM object; +#N canvas 61 61 630 385 10; +#X declare -lib Gem; +#X text 432 8 GEM object; #X obj 8 196 cnv 15 430 180 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 34 198 Inlets:; @@ -58,6 +59,7 @@ see any effects.; #X obj 451 156 diffuse 0 1 0; #X obj 451 355 diffuseRGB; #X text 448 332 see also:; +#X obj 508 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 30 0; diff --git a/Gem/diffuseRGB-help.pd b/Gem/diffuseRGB-help.pd index 9bad398..7f5a97d 100644 --- a/Gem/diffuseRGB-help.pd +++ b/Gem/diffuseRGB-help.pd @@ -1,5 +1,6 @@ -#N canvas 61 22 632 388 10; -#X text 452 8 GEM object; +#N canvas 61 61 632 388 10; +#X declare -lib Gem; +#X text 432 8 GEM object; #X obj 8 196 cnv 15 430 180 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 198 Inlets:; @@ -63,6 +64,7 @@ see any effects.; #X obj 500 211 rotate 63 1 0 0; #X text 447 331 see also:; #X obj 449 353 diffuse; +#X obj 508 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 33 0; diff --git a/Gem/disk-help.pd b/Gem/disk-help.pd index d225dd2..0219f11 100644 --- a/Gem/disk-help.pd +++ b/Gem/disk-help.pd @@ -1,4 +1,5 @@ -#N canvas 291 154 710 345 10; +#N canvas 291 154 667 345 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 479 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -38,7 +39,7 @@ #X text 27 233 Inlet 1: gemlist; #X text 9 307 Outlets:; #X text 21 320 Outlet 1: gemlist; -#X obj 481 81 cnv 15 160 140 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 481 81 cnv 15 165 140 empty empty empty 20 12 0 14 -24198 -66577 0; #X msg 485 95 draw line; #X msg 485 116 draw fill; @@ -61,6 +62,7 @@ via the second inlet \, the size of the hole via the third inlet.; radius); #X text 29 191 defaults: 1 \, 10 \, 0; #X text 27 247 Inlet 1: message: draw [line|fill|point|default]; +#X obj 548 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 17 0 29 0; diff --git a/Gem/emission-help.pd b/Gem/emission-help.pd index dae2398..c84f8da 100644 --- a/Gem/emission-help.pd +++ b/Gem/emission-help.pd @@ -1,4 +1,5 @@ -#N canvas 61 22 639 342 10; +#N canvas 61 61 639 342 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -59,6 +60,7 @@ for all subsequent vertex-operations. You have to enable lighting to see any effects.; #X text 448 285 see also:; #X obj 450 308 emissionRGB; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 24 0; diff --git a/Gem/emissionRGB-help.pd b/Gem/emissionRGB-help.pd index b2137af..ee74e0e 100644 --- a/Gem/emissionRGB-help.pd +++ b/Gem/emissionRGB-help.pd @@ -1,4 +1,5 @@ -#N canvas 61 22 639 342 10; +#N canvas 61 61 639 342 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -60,6 +61,7 @@ for all subsequent vertex-operations. You have to enable lighting to see any effects.; #X text 449 284 see also:; #X obj 451 307 emission; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 28 0; diff --git a/Gem/fragment_program-help.pd b/Gem/fragment_program-help.pd index a1b6362..a3a4861 100644 --- a/Gem/fragment_program-help.pd +++ b/Gem/fragment_program-help.pd @@ -1,4 +1,5 @@ -#N canvas 35 199 694 458 10; +#N canvas 35 199 651 458 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 335 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -77,6 +78,7 @@ program to load; #X text 443 406 see also; #X obj 508 406 vertex_program; #X obj 451 226 fragment_program random.fp; +#X obj 538 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 33 0; diff --git a/Gem/gem_filmAVF.so b/Gem/gem_filmAVF.so Binary files differindex 79b00fa..12535cd 100755 --- a/Gem/gem_filmAVF.so +++ b/Gem/gem_filmAVF.so diff --git a/Gem/gem_imageIO.so b/Gem/gem_imageIO.so Binary files differindex 30f111c..27fbab9 100755 --- a/Gem/gem_imageIO.so +++ b/Gem/gem_imageIO.so diff --git a/Gem/gem_imageJPEG.so b/Gem/gem_imageJPEG.so Binary files differindex cf70b9b..bc6b486 100755 --- a/Gem/gem_imageJPEG.so +++ b/Gem/gem_imageJPEG.so diff --git a/Gem/gem_imageSGI.so b/Gem/gem_imageSGI.so Binary files differindex 5821638..1b2fb2c 100755 --- a/Gem/gem_imageSGI.so +++ b/Gem/gem_imageSGI.so diff --git a/Gem/gem_imageSTB.so b/Gem/gem_imageSTB.so Binary files differindex c41286f..b3b026c 100755 --- a/Gem/gem_imageSTB.so +++ b/Gem/gem_imageSTB.so diff --git a/Gem/gem_imageTIFF.so b/Gem/gem_imageTIFF.so Binary files differindex ec2a3dd..cfa5e2c 100755 --- a/Gem/gem_imageTIFF.so +++ b/Gem/gem_imageTIFF.so diff --git a/Gem/gem_modelOBJ.so b/Gem/gem_modelOBJ.so Binary files differindex 2cb7e83..50f45ae 100755 --- a/Gem/gem_modelOBJ.so +++ b/Gem/gem_modelOBJ.so diff --git a/Gem/gem_videoAVF.so b/Gem/gem_videoAVF.so Binary files differindex f17dea5..485d68d 100755 --- a/Gem/gem_videoAVF.so +++ b/Gem/gem_videoAVF.so diff --git a/Gem/gemcocoawindow.pd_darwin b/Gem/gemcocoawindow.pd_darwin Binary files differindex 4d08058..e11b04a 100755 --- a/Gem/gemcocoawindow.pd_darwin +++ b/Gem/gemcocoawindow.pd_darwin diff --git a/Gem/gemcubeframebuffer-help.pd b/Gem/gemcubeframebuffer-help.pd index a333dcb..d324b4f 100644 --- a/Gem/gemcubeframebuffer-help.pd +++ b/Gem/gemcubeframebuffer-help.pd @@ -1,4 +1,5 @@ #N canvas 584 161 745 692 10; +#X declare -lib Gem; #X obj 482 415 cnv 15 90 40 empty empty empty 20 12 0 14 -257985 -66577 0; #X obj 175 337 cnv 15 90 60 empty empty empty 20 12 0 14 -257985 -66577 @@ -48,7 +49,7 @@ #X connect 14 0 4 0; #X connect 15 0 16 0; #X restore 32 131 pd gemwin; -#X msg 32 109 destroy; +#X msg 32 109 create; #X obj 174 225 cnv 15 180 30 empty empty empty 20 12 0 14 -4034 -66577 0; #X obj 184 24 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 @@ -114,10 +115,10 @@ #X obj 81 47 inlet num_face; #X obj 50 9 inlet head; #X obj 50 304 outlet head; -#X floatatom 163 186 5 0 0 0 - - -, f 5; -#X floatatom 89 245 5 0 0 0 - - -, f 5; -#X floatatom 148 250 5 0 0 0 - - -, f 5; -#X floatatom 57 253 5 0 0 0 - - -, f 5; +#X floatatom 163 186 5 0 0 0 - - -; +#X floatatom 89 245 5 0 0 0 - - -; +#X floatatom 148 250 5 0 0 0 - - -; +#X floatatom 57 253 5 0 0 0 - - -; #X obj 50 216 rotateXYZ 0 90 0; #X obj 50 280 rotateXYZ -90 0 90; #X connect 0 0 15 1; @@ -155,8 +156,8 @@ #X obj 156 300 change; #X obj 138 191 change; #X msg 138 409 link \$1 \$2; -#X floatatom 156 324 2 0 0 0 ID - -, f 2; -#X floatatom 138 214 2 0 0 0 ID - -, f 2; +#X floatatom 156 324 2 0 0 0 ID - -; +#X floatatom 138 214 2 0 0 0 ID - -; #X obj 120 60 tgl 15 0 \$0-shadOn-snd \$0-shadOn-rcv on/off 17 7 0 10 -262144 -1 -1 1 1; #X obj 21 59 inlet gemlist; @@ -276,7 +277,7 @@ #X obj 390 386 + 1; #X obj 418 387 * -1; #X obj 418 414 + 1; -#X floatatom 320 341 5 0 0 0 - - -, f 5; +#X floatatom 320 341 5 0 0 0 - - -; #X obj 63 218 color 0.8 0.2 0.2; #X obj 243 218 color 0.2 0.8 0.2; #X obj 242 385 color 0.8 0.8 0.2; @@ -284,7 +285,7 @@ #X obj 402 16 loadbang; #X obj 402 40 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; -#X floatatom 156 320 5 0 0 0 - - -, f 5; +#X floatatom 156 320 5 0 0 0 - - -; #X obj 185 34 inlet; #X obj 185 88 rotateXYZ 0 0 0; #X obj 488 187 separator; @@ -372,8 +373,8 @@ #X obj 156 300 change; #X obj 138 191 change; #X msg 138 409 link \$1 \$2; -#X floatatom 156 324 2 0 0 0 ID - -, f 2; -#X floatatom 138 214 2 0 0 0 ID - -, f 2; +#X floatatom 156 324 2 0 0 0 ID - -; +#X floatatom 138 214 2 0 0 0 ID - -; #X obj 120 60 tgl 15 0 \$0-shadOn-snd \$0-shadOn-rcv on/off 17 7 0 10 -262144 -1 -1 1 1; #X obj 21 59 inlet gemlist; @@ -453,6 +454,7 @@ #X msg 420 499 -4; #X obj 184 46 gemhead; #X text 55 245 mapped to cube; +#X obj 608 8 declare -lib Gem; #X connect 6 0 7 0; #X connect 7 0 6 0; #X connect 9 0 74 0; diff --git a/Gem/gemframebuffer-help.pd b/Gem/gemframebuffer-help.pd index ae0da6e..f01cad5 100644 --- a/Gem/gemframebuffer-help.pd +++ b/Gem/gemframebuffer-help.pd @@ -1,41 +1,42 @@ -#N canvas 125 98 893 604 10; -#X obj 465 9 cnv 15 420 570 empty empty empty 20 12 0 14 -228992 -66577 +#N canvas 125 98 896 632 10; +#X declare -lib Gem; +#X obj 465 39 cnv 15 420 570 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 472 293 cnv 15 300 60 empty empty empty 20 12 0 14 -191407 -66577 +#X obj 472 323 cnv 15 300 60 empty empty empty 20 12 0 14 -191407 -66577 0; -#X obj 474 18 cnv 15 400 250 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 474 48 cnv 15 400 250 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 477 41 gemhead 20; -#X obj 664 306 gemhead; -#X msg 615 106 dimen 320 240; -#X obj 477 468 rotateXYZ; -#X floatatom 794 427 5 0 0 0 - - -; -#X msg 762 114 color 0 0 1 0; -#X msg 602 87 dimen 1024 1024; -#X msg 751 74 color 0 0 0 0; -#X obj 477 422 t a b; -#X floatatom 717 469 5 0 0 0 - - -; -#X msg 549 232 rectangle \$1; -#X obj 549 214 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 477 71 gemhead 20; +#X obj 664 336 gemhead; +#X msg 615 136 dimen 320 240; +#X obj 477 498 rotateXYZ; +#X floatatom 794 457 5 0 0 0 - - -; +#X msg 762 144 color 0 0 1 0; +#X msg 602 117 dimen 1024 1024; +#X msg 751 104 color 0 0 0 0; +#X obj 477 452 t a b; +#X floatatom 717 499 5 0 0 0 - - -; +#X msg 549 262 rectangle \$1; +#X obj 549 244 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X msg 509 101 type FLOAT; -#X obj 664 274 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X msg 509 131 type FLOAT; +#X obj 664 304 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 477 382 translateXYZ 0 0 -4; -#X obj 477 298 gemframebuffer; -#X obj 664 331 pix_texture; -#X obj 664 358 t a b; -#X msg 531 187 texunit \$1; -#X msg 495 62 type BYTE; -#X msg 503 82 type INT; -#X msg 658 179 format YUV; -#X msg 649 158 format RGB; -#X msg 668 200 format RGBA; -#X msg 680 220 format RGB32; -#X obj 664 487 square 2; -#X obj 664 449 rotateXYZ -40 0 200; -#X floatatom 707 429 5 0 0 0 - - -; -#X obj 477 487 pqtorusknots; +#X obj 477 412 translateXYZ 0 0 -4; +#X obj 477 328 gemframebuffer; +#X obj 664 361 pix_texture; +#X obj 664 388 t a b; +#X msg 531 217 texunit \$1; +#X msg 495 92 type BYTE; +#X msg 503 112 type INT; +#X msg 658 209 format YUV; +#X msg 649 188 format RGB; +#X msg 668 230 format RGBA; +#X msg 680 250 format RGB32; +#X obj 664 517 square 2; +#X obj 664 479 rotateXYZ -40 0 200; +#X floatatom 707 459 5 0 0 0 - - -; +#X obj 477 517 pqtorusknots; #N canvas 0 50 450 300 rotation 0; #X obj 33 19 inlet; #X obj 33 110 % 360; @@ -65,8 +66,8 @@ #X connect 9 0 12 0; #X connect 11 0 5 0; #X connect 12 0 8 0; -#X restore 509 443 pd rotation; -#X floatatom 531 167 5 0 0 0 - - -; +#X restore 509 473 pd rotation; +#X floatatom 531 197 5 0 0 0 - - -; #N canvas 125 50 450 300 rotation 0; #X obj 112 29 inlet; #X obj 112 105 % 360; @@ -78,23 +79,23 @@ #X connect 1 0 3 0; #X connect 2 0 4 0; #X connect 4 0 1 0; -#X restore 794 402 pd rotation; -#X obj 762 93 loadbang; -#X obj 477 402 color 1 0 0; -#X obj 649 245 t a; -#X obj 585 124 t a; -#X obj 751 135 t a; -#X obj 495 130 t a; -#X floatatom 563 361 5 0 0 0 - - -; -#X floatatom 607 362 5 0 0 0 - - -; -#X floatatom 520 361 5 0 0 0 - - -; -#X obj 495 154 t a; -#X obj 470 514 cnv 15 410 60 empty empty empty 20 12 0 14 -195568 -66577 +#X restore 794 432 pd rotation; +#X obj 762 123 loadbang; +#X obj 477 432 color 1 0 0; +#X obj 649 275 t a; +#X obj 585 154 t a; +#X obj 751 165 t a; +#X obj 495 160 t a; +#X floatatom 563 391 5 0 0 0 - - -; +#X floatatom 607 392 5 0 0 0 - - -; +#X floatatom 520 391 5 0 0 0 - - -; +#X obj 495 184 t a; +#X obj 470 544 cnv 15 410 60 empty empty empty 20 12 0 14 -195568 -66577 0; -#X msg 757 544 color 0 0 0 0; -#X msg 746 522 color 0 1 1 0; -#X msg 637 525 lighting \$1; -#X obj 615 526 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X msg 757 574 color 0 0 0 0; +#X msg 746 552 color 0 1 1 0; +#X msg 637 555 lighting \$1; +#X obj 615 556 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #N canvas 0 50 450 300 gemwin 0; #X obj 132 136 gemwin; @@ -118,64 +119,65 @@ #X connect 7 1 5 0; #X connect 7 2 0 0; #X connect 8 0 9 0; -#X restore 473 554 pd gemwin; -#X msg 473 529 destroy; -#X text 471 513 Create window:; -#X obj 637 552 t a; -#X text 476 22 Example:; -#X text 379 -10 GEM object; -#X obj 7 41 cnv 15 450 130 empty empty empty 20 12 0 14 -233017 -66577 +#X restore 473 584 pd gemwin; +#X msg 473 559 destroy; +#X text 471 543 Create window:; +#X obj 637 582 t a; +#X text 476 52 Example:; +#X text 699 10 GEM object; +#X obj 7 71 cnv 15 450 130 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 7 208 cnv 15 450 370 empty empty empty 20 12 0 14 -233017 -66577 +#X obj 7 238 cnv 15 450 370 empty empty empty 20 12 0 14 -233017 -66577 0; -#X text 10 214 Inlets:; -#X obj 7 175 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 +#X text 10 244 Inlets:; +#X obj 7 205 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; -#X text 14 174 Arguments:; -#X text 28 233 Inlet 1: gemlist; -#X text 15 523 Outlets:; -#X text 31 539 Outlet 1: gemlist; -#X text 60 187 <none>; -#X text 102 -1 Synopsis: [gemframebuffer]; -#X text 122 15 Class: framebuffer object; -#X text 12 50 Description: Renders a scene in a texture \, for later +#X text 14 204 Arguments:; +#X text 28 263 Inlet 1: gemlist; +#X text 15 553 Outlets:; +#X text 31 569 Outlet 1: gemlist; +#X text 60 217 <none>; +#X text 102 29 Synopsis: [gemframebuffer]; +#X text 122 45 Class: framebuffer object; +#X text 12 80 Description: Renders a scene in a texture \, for later use.; -#X text 12 68 this example renders a scene (pqtorusknots) into a framebuffer +#X text 12 98 this example renders a scene (pqtorusknots) into a framebuffer \, which is then used as a texture onto a square.; -#X text 13 98 you need framebuffer support (and its driver) on your +#X text 13 128 you need framebuffer support (and its driver) on your gfx-card; -#X text 28 247 Inlet 1: message: type [BYTE | INT | FLOAT]; -#X text 27 315 Inlet 1: message: dimen <x> <y>; -#X text 27 349 Inlet 1: message: color <r> <g> <b> <a>; -#X text 26 430 Inlet 1: message: texunit <f>; -#X text 27 280 Inlet 1: message: format [RGB|RGBA|RGB32|YUV]; -#X text 26 385 Inlet 1: message: rectangle [0|1]; -#X text 103 262 (type of the framebuffer data); -#X text 102 330 (dimension of the framebuffer texture); -#X text 106 465 (useful only with shader); -#X text 106 448 (change texunit of the texture); -#X text 104 402 (texturing mode \; rectangle (1) or normalized (0)) +#X text 28 277 Inlet 1: message: type [BYTE | INT | FLOAT]; +#X text 27 345 Inlet 1: message: dimen <x> <y>; +#X text 27 379 Inlet 1: message: color <r> <g> <b> <a>; +#X text 26 460 Inlet 1: message: texunit <f>; +#X text 27 310 Inlet 1: message: format [RGB|RGBA|RGB32|YUV]; +#X text 26 415 Inlet 1: message: rectangle [0|1]; +#X text 103 292 (type of the framebuffer data); +#X text 102 360 (dimension of the framebuffer texture); +#X text 106 495 (useful only with shader); +#X text 106 478 (change texunit of the texture); +#X text 104 432 (texturing mode \; rectangle (1) or normalized (0)) ; -#X text 100 296 (color format of the framebuffer); -#X text 102 365 (background color of the framebuffer); -#X obj 556 41 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +#X text 100 326 (color format of the framebuffer); +#X text 102 395 (background color of the framebuffer); +#X obj 556 71 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; -#X floatatom 493 323 5 0 0 0 - - -; -#X obj 477 342 scaleXYZ; -#X floatatom 563 326 5 0 0 0 - - -; -#X floatatom 528 325 5 0 0 0 - - -; -#X msg 585 30 perspec -1 1 -1 1 1 20; -#X msg 593 56 perspec -1 1 -1 1 3 75; -#X text 98 497 (frustum of the framebuffer); -#X text 752 29 default; -#X text 11 130 NOTE: the default view-point of [gemframebuffer] is +#X floatatom 493 353 5 0 0 0 - - -; +#X obj 477 372 scaleXYZ; +#X floatatom 563 356 5 0 0 0 - - -; +#X floatatom 528 355 5 0 0 0 - - -; +#X msg 585 60 perspec -1 1 -1 1 1 20; +#X msg 593 86 perspec -1 1 -1 1 3 75; +#X text 98 527 (frustum of the framebuffer); +#X text 752 59 default; +#X text 11 160 NOTE: the default view-point of [gemframebuffer] is at the origin 0/0/0 \, unlike [gemwin] where it is at 0/0/4. You might want to manually insert a [translateXYZ 0 0 -4].; -#X text 23 482 Inlet 1: message: perspec <left><right><bottom><top><near> +#X text 23 512 Inlet 1: message: perspec <left><right><bottom><top><near> ; -#X text 428 482 <far>; -#X text 31 557 Outlet 2: texture info : <id> <width> <height> <type> +#X text 428 512 <far>; +#X text 31 587 Outlet 2: texture info : <id> <width> <height> <type> <0.>; +#X obj 778 8 declare -lib Gem; #X connect 3 0 18 0; #X connect 4 0 19 0; #X connect 5 0 38 0; diff --git a/Gem/gemglutwindow.pd_darwin b/Gem/gemglutwindow.pd_darwin Binary files differindex 83f923c..89d971e 100755 --- a/Gem/gemglutwindow.pd_darwin +++ b/Gem/gemglutwindow.pd_darwin diff --git a/Gem/gemhead-help.pd b/Gem/gemhead-help.pd index 66f30be..46bf8ab 100644 --- a/Gem/gemhead-help.pd +++ b/Gem/gemhead-help.pd @@ -1,5 +1,6 @@ #N canvas 30 89 960 649 10; -#X text 452 8 GEM object; +#X declare -lib Gem; +#X text 742 8 GEM object; #X obj 8 438 cnv 15 430 150 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 18 440 Inlets:; @@ -97,6 +98,7 @@ light).; #X obj 791 183 translateXYZ 2 0 0; #X text 42 520 Inlet 1: context <name> : change rendering context (for multiple windows).; +#X obj 818 8 declare -lib Gem; #X connect 12 0 14 0; #X connect 14 0 12 0; #X connect 26 0 30 0; diff --git a/Gem/gemkeyboard-help.pd b/Gem/gemkeyboard-help.pd index 1dbca78..8c08cac 100644 --- a/Gem/gemkeyboard-help.pd +++ b/Gem/gemkeyboard-help.pd @@ -1,4 +1,5 @@ -#N canvas 64 27 679 445 10; +#N canvas 64 61 679 445 10; +#X declare -lib Gem; #X obj 27 85 cnv 15 450 170 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 28 303 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 @@ -9,7 +10,7 @@ #X text 37 264 Arguments:; #X text 472 28 GEM object; #X text 29 337 Outlets:; -#X text 495 49 Example:; +#X text 485 69 Example:; #X text 74 50 Class: control object; #X obj 486 84 cnv 15 170 180 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -57,6 +58,7 @@ will give the same KeyCode for the same key pressed !!!; #X floatatom 508 153 5 0 0 1 keyCode - -; #X text 488 274 see also:; #X obj 489 299 gemkeyname; +#X obj 556 30 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 24 0 25 0; diff --git a/Gem/gemkeyname-help.pd b/Gem/gemkeyname-help.pd index d5d5e9c..44f2323 100644 --- a/Gem/gemkeyname-help.pd +++ b/Gem/gemkeyname-help.pd @@ -1,4 +1,5 @@ -#N canvas 64 27 679 445 10; +#N canvas 64 61 679 445 10; +#X declare -lib Gem; #X obj 27 85 cnv 15 450 200 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 27 325 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 @@ -9,7 +10,7 @@ #X text 36 291 Arguments:; #X text 472 28 GEM object; #X text 35 361 Outlets:; -#X text 495 49 Example:; +#X text 495 69 Example:; #X text 74 50 Class: control object; #X obj 486 84 cnv 15 170 180 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -62,6 +63,7 @@ same symbols as [gemkeyname]; #X floatatom 508 160 2 0 0 1 state - -; #X symbolatom 565 134 10 0 0 0 keyName - -; #X obj 508 115 gemkeyname; +#X obj 558 28 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 29 0 27 0; diff --git a/Gem/gemlist-help.pd b/Gem/gemlist-help.pd index bd6e313..b2b5a83 100644 --- a/Gem/gemlist-help.pd +++ b/Gem/gemlist-help.pd @@ -1,4 +1,5 @@ #N canvas 443 181 661 405 10; +#X declare -lib Gem; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 216 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 @@ -58,6 +59,7 @@ by sending it a "bang" message.; #X obj 498 107 route gem_state; #X obj 498 127 route float; #X obj 498 86 t a a; +#X obj 538 8 declare -lib Gem; #X connect 20 0 21 0; #X connect 21 0 20 0; #X connect 23 0 33 0; diff --git a/Gem/gemlist_info-help.pd b/Gem/gemlist_info-help.pd index a2e497f..2cfcf2b 100644 --- a/Gem/gemlist_info-help.pd +++ b/Gem/gemlist_info-help.pd @@ -1,4 +1,5 @@ #N canvas 594 117 688 676 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 206 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -40,7 +41,8 @@ #X text 10 414 Create window:; #X text 50 12 Synopsis: [gemlist_info]; #X text 71 31 Class: information object; -#X text 29 77 Description: get current transformation of a gemlist; +#X text 29 77 Description: get current transformation of a gemlist +; #X text 42 94 [gemlist_info] accepts a gemList decompost the transformation matrix in basic transformation (translation \, scale \, shear \, rotation) ; @@ -260,6 +262,7 @@ transformation matrix decomposed with gemlist_info; #X text 76 349 <- more about gemlist_info; #X text 18 375 see also :; #X obj 100 375 gemlist_matrix; +#X obj 548 8 declare -lib Gem; #X connect 11 0 12 0; #X connect 12 0 11 0; #X connect 27 0 56 0; diff --git a/Gem/gemlist_matrix-help.pd b/Gem/gemlist_matrix-help.pd index 7c1aae3..17bbe63 100644 --- a/Gem/gemlist_matrix-help.pd +++ b/Gem/gemlist_matrix-help.pd @@ -1,4 +1,5 @@ #N canvas 594 117 675 520 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 206 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -95,6 +96,7 @@ #X text 42 94 [gemlist_matrix] accepts a gemList and output the transformation matrix.; #X text 62 265 Outlet 2: transformation matrix (16 floats); +#X obj 538 8 declare -lib Gem; #X connect 11 0 12 0; #X connect 12 0 11 0; #X connect 19 0 32 0; diff --git a/Gem/gemmacoswindow.pd_darwin b/Gem/gemmacoswindow.pd_darwin Binary files differindex df87589..70c6955 100755 --- a/Gem/gemmacoswindow.pd_darwin +++ b/Gem/gemmacoswindow.pd_darwin diff --git a/Gem/gemmouse-help.pd b/Gem/gemmouse-help.pd index 77b243c..e604ef4 100644 --- a/Gem/gemmouse-help.pd +++ b/Gem/gemmouse-help.pd @@ -1,4 +1,5 @@ -#N canvas 179 30 929 414 10; +#N canvas 179 61 929 414 10; +#X declare -lib Gem; #X obj 7 65 cnv 15 450 170 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 283 cnv 15 450 120 empty empty empty 20 12 0 14 -233017 -66577 @@ -7,7 +8,7 @@ #X obj 8 245 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 244 Arguments:; -#X text 452 8 GEM object; +#X text 712 8 GEM object; #X text 9 317 Outlets:; #X text 475 29 Example:; #X text 54 30 Class: control object; @@ -101,6 +102,7 @@ is pressed and a 0 when it is released.; #X connect 12 0 13 0; #X connect 13 0 11 0; #X restore 656 209 pd follow_mouse; +#X obj 788 8 declare -lib Gem; #X connect 11 0 12 0; #X connect 12 0 11 0; #X connect 29 0 30 0; diff --git a/Gem/gemorb-help.pd b/Gem/gemorb-help.pd index 8c74880..7546795 100644 --- a/Gem/gemorb-help.pd +++ b/Gem/gemorb-help.pd @@ -1,5 +1,6 @@ #N canvas 293 148 600 556 10; -#X text 135 37 part of GEM; +#X declare -lib Gem; +#X text 375 7 part of GEM; #X obj 157 187 gemorb 1; #X text 69 93 respond to events of a SpaceOrb on a specified comport. ; @@ -24,6 +25,7 @@ on the device or with the "reset"-message.; ; #X text 67 503 You can set the pause between the polls of the SpaceOrb with the "timer" message.; +#X obj 458 8 declare -lib Gem; #X connect 1 0 3 0; #X connect 1 1 4 0; #X connect 1 2 5 0; diff --git a/Gem/gemreceive-help.pd b/Gem/gemreceive-help.pd index 3f19d31..6ce8b95 100644 --- a/Gem/gemreceive-help.pd +++ b/Gem/gemreceive-help.pd @@ -1,4 +1,5 @@ -#N canvas 4 52 570 713 10; +#N canvas 6 61 570 713 10; +#X declare -lib Gem; #X obj 96 51 gemreceive; #X text 169 51 ordered receive; #X obj 72 227 gemreceive foo -1; @@ -38,6 +39,7 @@ Pd's [receive]) that specifies the priority.; #X msg 72 173 bang; #X obj 235 359 s fou; #X msg 107 331 symbol fou; +#X obj 448 18 declare -lib Gem; #X connect 2 0 3 0; #X connect 4 0 5 0; #X connect 6 0 7 0; diff --git a/Gem/gemtablet-help.pd b/Gem/gemtablet-help.pd index 4879c2a..5dcb332 100644 --- a/Gem/gemtablet-help.pd +++ b/Gem/gemtablet-help.pd @@ -1,5 +1,6 @@ #N canvas 293 148 600 385 10; -#X text 135 37 part of GEM; +#X declare -lib Gem; +#X text 365 7 part of GEM; #X text 152 70 [gemtablet]; #X text 69 93 respond to events of a graph-tablet; #X obj 110 118 gemtablet ........; @@ -14,6 +15,7 @@ have a graph-tablet to make any use of [gemtablet]; #X floatatom 200 178 1 0 0 1 Left_Button - -; #X floatatom 215 160 1 0 0 1 Middle_Button - -; #X floatatom 231 140 1 0 0 1 Right_Button - -; +#X obj 438 8 declare -lib Gem; #X connect 3 0 5 0; #X connect 3 1 6 0; #X connect 3 2 7 0; diff --git a/Gem/gemvertexbuffer-help.pd b/Gem/gemvertexbuffer-help.pd index f6ee5da..7037570 100644 --- a/Gem/gemvertexbuffer-help.pd +++ b/Gem/gemvertexbuffer-help.pd @@ -1,4 +1,5 @@ -#N canvas 152 51 983 713 10; +#N canvas 152 61 983 713 10; +#X declare -lib Gem; #N canvas 1 89 450 300 fps 0; #X obj 46 -61 gemhead; #X obj 46 -21 realtime; @@ -17,7 +18,7 @@ #X connect 6 0 7 0; #X connect 7 0 5 0; #X restore 466 149 pd fps; -#X floatatom 466 172 5 0 0 1 fps - -, f 5; +#X floatatom 466 172 5 0 0 1 fps - -; #X obj 6 76 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 7 236 cnv 15 450 375 empty empty empty 20 12 0 14 -233017 -66577 @@ -119,7 +120,7 @@ 1; #X text 577 14 Example:; #X msg 816 658 resize 128; -#X floatatom 636 96 5 0 0 0 - - -, f 5; +#X floatatom 636 96 5 0 0 0 - - -; #X obj 579 95 scale 3; #X msg 593 271 position blablax blablay blablaz; #X msg 604 290 color colorr colorg colorb colora; @@ -130,12 +131,12 @@ #X obj 841 56 cnv 15 120 160 empty empty empty 20 12 0 14 -233017 -66577 0; #N canvas 615 145 657 666 lorenz 0; -#X floatatom 82 248 5 0 0 0 - - -, f 5; -#X floatatom 124 248 5 0 0 0 - - -, f 5; -#X floatatom 83 201 5 0 0 0 - - -, f 5; -#X floatatom 125 201 5 0 0 0 - - -, f 5; -#X floatatom 81 156 5 0 0 0 - - -, f 5; -#X floatatom 124 156 5 0 0 0 - - -, f 5; +#X floatatom 82 248 5 0 0 0 - - -; +#X floatatom 124 248 5 0 0 0 - - -; +#X floatatom 83 201 5 0 0 0 - - -; +#X floatatom 125 201 5 0 0 0 - - -; +#X floatatom 81 156 5 0 0 0 - - -; +#X floatatom 124 156 5 0 0 0 - - -; #N canvas 145 116 1131 666 table 0; #X obj 266 31 loadbang; #X msg 266 53 dsp 1; @@ -152,15 +153,15 @@ #X obj 392 275 v pr; #X obj 523 276 v r; #X obj 449 277 v b; -#X floatatom 392 246 5 0 0 0 - - -, f 5; -#X floatatom 523 248 5 0 0 0 - - -, f 5; +#X floatatom 392 246 5 0 0 0 - - -; +#X floatatom 523 248 5 0 0 0 - - -; #X msg 393 221 10; #X obj 447 218 expr 8./3; #X msg 344 344 set 1.2 2.3 4.4; -#X floatatom 449 247 7 0 0 0 - - -, f 7; +#X floatatom 449 247 7 0 0 0 - - -; #X msg 321 308 stop; #X msg 291 275 start; -#X floatatom 615 248 5 0 0 0 - - -, f 5; +#X floatatom 615 248 5 0 0 0 - - -; #X obj 615 277 v dt; #X msg 526 220 18; #X msg 611 221 0.01; @@ -250,7 +251,7 @@ which generate chaotic signals; #X obj 38 136 alpha; #X msg 118 577 draw line; #X msg 184 575 draw points; -#X floatatom 147 288 5 0 0 0 - - -, f 5; +#X floatatom 147 288 5 0 0 0 - - -; #X msg 82 449 color_enable \$1; #X obj 82 430 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; @@ -322,15 +323,15 @@ which generate chaotic signals; #X obj 849 80 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #N canvas 285 255 805 628 wave 0; -#X floatatom 87 237 5 0 0 0 - - -, f 5; -#X floatatom 129 237 5 0 0 0 - - -, f 5; -#X floatatom 172 237 5 0 0 0 - - -, f 5; -#X floatatom 88 190 5 0 0 0 - - -, f 5; -#X floatatom 130 190 5 0 0 0 - - -, f 5; -#X floatatom 173 190 5 0 0 0 - - -, f 5; -#X floatatom 86 145 5 0 0 0 - - -, f 5; -#X floatatom 129 145 5 0 0 0 - - -, f 5; -#X floatatom 173 145 5 0 0 0 - - -, f 5; +#X floatatom 87 237 5 0 0 0 - - -; +#X floatatom 129 237 5 0 0 0 - - -; +#X floatatom 172 237 5 0 0 0 - - -; +#X floatatom 88 190 5 0 0 0 - - -; +#X floatatom 130 190 5 0 0 0 - - -; +#X floatatom 173 190 5 0 0 0 - - -; +#X floatatom 86 145 5 0 0 0 - - -; +#X floatatom 129 145 5 0 0 0 - - -; +#X floatatom 173 145 5 0 0 0 - - -; #X obj 43 592 gemvertexbuffer; #N canvas 145 161 1131 747 table 0; #X obj 36 59 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 @@ -460,7 +461,7 @@ which generate chaotic signals; #X obj 341 72 t b b; #X obj 349 318 f; #X obj 440 380 +; -#X floatatom 903 395 5 0 0 0 - - -, f 5; +#X floatatom 903 395 5 0 0 0 - - -; #X obj 583 71 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; #X obj 87 310 sig~ 0.3; @@ -695,12 +696,12 @@ performance if you wish to update point positions at every frame; #X obj 118 231 table \$0phasor 8192; #X obj 79 306 i \$0; #X msg 79 342 posX \$1phasor \, posY \$1sound; -#X floatatom 155 34 5 0 0 0 - - -, f 5; +#X floatatom 155 34 5 0 0 0 - - -; #X obj 15 157 scale 1; -#X floatatom 52 115 5 0 0 0 - - -, f 5; +#X floatatom 52 115 5 0 0 0 - - -; #X msg 227 395 draw points; #X msg 298 73 8192; -#X floatatom 298 95 5 0 0 0 - - -, f 5; +#X floatatom 298 95 5 0 0 0 - - -; #X obj 298 234 /; #X obj 298 118 t f b f f; #X msg 414 154 resize \$1; @@ -855,8 +856,8 @@ draw lot's of points very efficiently.; #X obj 579 675 gemvertexbuffer; #X msg 728 569 draw_range \$1 \$2; #X obj 728 549 pack 0 0; -#X floatatom 728 507 5 0 0 0 - - -, f 5; -#X floatatom 774 507 5 0 0 0 - - -, f 5; +#X floatatom 728 507 5 0 0 0 - - -; +#X floatatom 774 507 5 0 0 0 - - -; #X obj 774 526 t b f; #X text 27 452 Inlet 1: message: draw_range float float : set the range for partial draw.; @@ -865,8 +866,8 @@ for partial draw.; #X text 668 458 as soon as they are updated; #X text 598 443 default : all VBO are disabled \, but they are enabled ; -#X floatatom 699 135 5 1 64 0 - - -, f 5; -#X floatatom 719 113 5 0 0 0 - - -, f 5; +#X floatatom 699 135 5 1 64 0 - - -; +#X floatatom 719 113 5 0 0 0 - - -; #X text 27 479 Inlet 1: message: program float : set the id for glsl program.; #X text 27 409 Inlet 1: message: position_enable float \, color_enable @@ -883,6 +884,7 @@ how to; #X text 15 661 use attribute tables with the vertex buffer.; #X text 57 190 number of vertices to be used. if this is a power of two (2^n) \, you might have some performance gain.; +#X obj 868 8 declare -lib Gem; #X connect 0 0 1 0; #X connect 9 0 10 0; #X connect 10 0 9 0; diff --git a/Gem/gemwin-help.pd b/Gem/gemwin-help.pd index 442f295..be5b862 100644 --- a/Gem/gemwin-help.pd +++ b/Gem/gemwin-help.pd @@ -1,4 +1,5 @@ #N canvas 126 111 676 689 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 7 193 cnv 15 430 480 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -73,7 +74,7 @@ on Screen2; #X text -86 -130 FULLSCREEN SUPPORT; #X obj -85 -1 vradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1 -1 0; -#X floatatom -85 50 5 0 0 0 - - -, f 5; +#X floatatom -85 50 5 0 0 0 - - -; #X msg -85 71 reset \, fullscreen \$1 \, create \, 1; #X text -63 -4 deactivate fullscreen; #X text -64 13 fullscreen on screen 1; @@ -104,8 +105,8 @@ have no more access to the other windows of your system.; #X connect 9 0 12 0; #X connect 11 0 9 0; #X restore 356 288 pd fullscreen; -#X text 57 253 the x and y dimensions of the window. (default: 500 500) -; +#X text 57 253 the x and y dimensions of the window. (default: 500 +500); #X text 29 508 frame <number> : number of frames per second (default 20); #X text 30 268 FSAA <number> : anti aliasing (default:0); @@ -452,11 +453,11 @@ window, f 32; #X text 105 158 set stereo-mode; #X text 54 61 off; #X msg 48 210 stereoSep \$1; -#X floatatom 48 188 5 0 0 0 - - -, f 5; +#X floatatom 48 188 5 0 0 0 - - -; #X text 137 209 set the stereo-separation (default:-15); #X msg 66 258 stereoFoc \$1; #X text 150 259 set the stereo-focal; -#X floatatom 66 234 5 0 0 0 - - -, f 5; +#X floatatom 66 234 5 0 0 0 - - -; #X obj 80 283 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X text 174 297 turn the separation-line between the 2 screens in stereo-mode @@ -484,8 +485,8 @@ window, f 32; 0); #X text 30 238 dimen <x> <y>:; #X text 30 333 offset <x> <y>:; -#X text 29 593 view <x> <y> <z> : translate the camera (default: 0 0 -4); +#X text 29 593 view <x> <y> <z> : translate the camera (default: 0 +0 4); #N canvas 124 233 762 647 more 0; #X text 43 11 messages to [gemwin] regarding the view-point ("camera") ; @@ -530,9 +531,9 @@ defined via the vector (up_X \, up_Y \, up_Z); #X msg 90 389 set perspec \$1 \$2 \$3 \$4 \$5 \$6 \, bang; #X msg 172 453 set perspec \, adddollar 1 \, adddollar 2 \, adddollar 3 \, adddollar 4 \, adddollar 5 \, adddollar 6; -#X floatatom 103 117 5 0.1 5 1 x_wideness - -, f 5; -#X floatatom 103 134 5 0.1 5 1 y_wideness - -, f 5; -#X floatatom 103 151 5 0 0 1 z_depth - -, f 5; +#X floatatom 103 117 5 0.1 5 1 x_wideness - -; +#X floatatom 103 134 5 0.1 5 1 y_wideness - -; +#X floatatom 103 151 5 0 0 1 z_depth - -; #X obj 360 196 select 1; #X obj 405 219 t b f f; #X obj 249 226 t b f f; @@ -591,10 +592,10 @@ defined via the vector (up_X \, up_Y \, up_Z); #X text 292 554 the default camera has a very wide angle. this message allows to narrow it.; #N canvas 506 305 612 484 view 0; -#X floatatom 112 114 5 0 0 0 x - -, f 5; -#X floatatom 158 114 5 0 0 0 y - -, f 5; -#X floatatom 201 114 5 0 0 0 z - -, f 5; -#X floatatom 236 114 5 0 0 2 azimuth - -, f 5; +#X floatatom 112 114 5 0 0 0 x - -; +#X floatatom 158 114 5 0 0 0 y - -; +#X floatatom 201 114 5 0 0 0 z - -; +#X floatatom 236 114 5 0 0 2 azimuth - -; #X obj 369 109 loadbang; #X obj 140 335 outlet; #X obj 201 226 t b f; @@ -626,10 +627,10 @@ allows to narrow it.; #X coords 0 -1 1 1 180 30 1 100 100; #X restore 42 156 pd view; #N canvas 508 299 612 484 view 0; -#X floatatom 112 114 5 0 0 0 x - -, f 5; -#X floatatom 158 114 5 0 0 0 y - -, f 5; -#X floatatom 201 114 5 0 0 0 z - -, f 5; -#X floatatom 236 114 5 0 0 2 azimuth - -, f 5; +#X floatatom 112 114 5 0 0 0 x - -; +#X floatatom 158 114 5 0 0 0 y - -; +#X floatatom 201 114 5 0 0 0 z - -; +#X floatatom 236 114 5 0 0 2 azimuth - -; #X obj 369 109 loadbang; #X obj 140 335 outlet; #X obj 201 226 t b f; @@ -639,7 +640,7 @@ allows to narrow it.; #X msg 398 196 set 4; #X msg 140 296 set view \$1 \$2 \$3 \$4 \$5 \, bang; #X obj 140 274 pack 0 0 4 0 0; -#X floatatom 286 114 5 0 0 2 elevate - -, f 5; +#X floatatom 286 114 5 0 0 2 elevate - -; #X obj 291 226 t b f; #X msg 213 342 set view \, adddollar 1 \, adddollar 2 \, adddollar 3 \, adddollar 4 \, adddollar 5; @@ -666,9 +667,9 @@ allows to narrow it.; #X coords 0 -1 1 1 230 30 1 100 100; #X restore 49 216 pd view; #N canvas 509 296 612 484 view 0; -#X floatatom 112 114 5 0 0 0 x - -, f 5; -#X floatatom 158 114 5 0 0 0 y - -, f 5; -#X floatatom 201 114 5 0 0 0 z - -, f 5; +#X floatatom 112 114 5 0 0 0 x - -; +#X floatatom 158 114 5 0 0 0 y - -; +#X floatatom 201 114 5 0 0 0 z - -; #X obj 369 109 loadbang; #X obj 140 335 outlet; #X obj 201 226 t b f; @@ -696,23 +697,23 @@ allows to narrow it.; #X coords 0 -1 1 1 140 30 1 100 100; #X restore 25 65 pd view; #N canvas 380 50 612 484 view 0; -#X floatatom 214 114 5 0 0 2 X - -, f 5; +#X floatatom 214 114 5 0 0 2 X - -; #X obj 166 22 loadbang; #X obj 139 335 outlet; #X obj 174 177 t b f; #X obj 139 177 t b f; #X obj 214 177 t b f; #X msg 174 79 set 4; -#X floatatom 249 114 5 0 0 2 Y - -, f 5; +#X floatatom 249 114 5 0 0 2 Y - -; #X obj 249 177 t b f; #X obj 139 274 pack 0 0 4 0 0 0 0 1 0; -#X floatatom 284 114 5 0 0 2 Z - -, f 5; -#X floatatom 104 114 5 0 0 2 x - -, f 5; -#X floatatom 139 114 5 0 0 2 y - -, f 5; -#X floatatom 174 114 5 0 0 2 z - -, f 5; -#X floatatom 324 114 5 0 0 2 upX - -, f 5; -#X floatatom 359 114 5 0 0 2 upY - -, f 5; -#X floatatom 394 114 5 0 0 2 upZ - -, f 5; +#X floatatom 284 114 5 0 0 2 Z - -; +#X floatatom 104 114 5 0 0 2 x - -; +#X floatatom 139 114 5 0 0 2 y - -; +#X floatatom 174 114 5 0 0 2 z - -; +#X floatatom 324 114 5 0 0 2 upX - -; +#X floatatom 359 114 5 0 0 2 upY - -; +#X floatatom 394 114 5 0 0 2 upZ - -; #X obj 284 177 t b f; #X obj 324 177 t b f; #X obj 359 177 t b f; @@ -800,6 +801,7 @@ of this object can interact with separate windows.; #X text 30 177 2d argument : context name; #X text 443 457 see also examples/14.multiple_windows; #X msg 490 260 color \$1 \$1 \$1 \$1; +#X obj 558 8 declare -lib Gem; #X connect 11 0 10 0; #X connect 12 0 10 0; #X connect 21 0 10 0; diff --git a/Gem/glsl_fragment-help.pd b/Gem/glsl_fragment-help.pd index ea7a537..c374e19 100644 --- a/Gem/glsl_fragment-help.pd +++ b/Gem/glsl_fragment-help.pd @@ -1,4 +1,5 @@ -#N canvas 90 26 633 413 10; +#N canvas 90 61 633 413 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 257 cnv 15 430 140 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -81,6 +82,7 @@ in your openGL implementation; #X restore 470 116 pd open; #X msg 470 136 open Toon.frag; #X obj 453 382 glsl_geometry; +#X obj 518 8 declare -lib Gem; #X connect 18 1 17 0; #X connect 28 0 18 0; #X connect 29 0 18 0; diff --git a/Gem/glsl_geometry-help.pd b/Gem/glsl_geometry-help.pd index 08220ac..4b4b367 100644 --- a/Gem/glsl_geometry-help.pd +++ b/Gem/glsl_geometry-help.pd @@ -1,4 +1,5 @@ -#N canvas 40 32 633 413 10; +#N canvas 40 61 638 426 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 257 cnv 15 430 140 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -81,6 +82,7 @@ in your openGL implementation; #X text 14 157 IMPORTANT NOTE: your openGL-implementation (gfx-card driver \, ...) has to support the GLSL-standard (which is part of openGL-2.1) in order to make use of this object.; +#X obj 518 8 declare -lib Gem; #X connect 16 1 15 0; #X connect 26 0 16 0; #X connect 27 0 16 0; diff --git a/Gem/glsl_program-help.pd b/Gem/glsl_program-help.pd index 6ca9c17..a38fe9d 100644 --- a/Gem/glsl_program-help.pd +++ b/Gem/glsl_program-help.pd @@ -1,6 +1,7 @@ #N canvas 23 79 651 581 10; +#X declare -lib Gem; #X text 452 8 GEM object; -#X obj 8 307 cnv 15 430 260 empty empty empty 20 12 0 14 -233017 -66577 +#X obj 8 307 cnv 15 430 270 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 11 308 Inlets:; #X text 10 524 Outlets:; @@ -101,6 +102,7 @@ number of vertices to be created (default: MAX_OUTPUT_VERTICES); ; #X restore 29 503 pd geometry shaders; #X obj 453 402 glsl_geometry; +#X obj 518 8 declare -lib Gem; #X connect 16 0 17 0; #X connect 16 1 31 0; #X connect 32 0 16 0; diff --git a/Gem/glsl_vertex-help.pd b/Gem/glsl_vertex-help.pd index 34b1eb7..cf444dd 100644 --- a/Gem/glsl_vertex-help.pd +++ b/Gem/glsl_vertex-help.pd @@ -1,4 +1,5 @@ -#N canvas 40 32 633 413 10; +#N canvas 40 61 633 413 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 257 cnv 15 430 140 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -80,6 +81,7 @@ in your openGL implementation; #X restore 473 119 pd open; #X msg 473 139 open Toon.vert; #X obj 453 382 glsl_geometry; +#X obj 518 8 declare -lib Gem; #X connect 17 1 16 0; #X connect 27 0 17 0; #X connect 28 0 17 0; diff --git a/Gem/imageVert-help.pd b/Gem/imageVert-help.pd index 5ed8cac..c99b9bf 100644 --- a/Gem/imageVert-help.pd +++ b/Gem/imageVert-help.pd @@ -1,4 +1,5 @@ -#N canvas 344 47 655 397 10; +#N canvas 344 61 655 397 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 70 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -78,6 +79,7 @@ taller \, while darker pixels are shorter).; #X text 71 31 Class: geometric object; #X obj 451 165 rotateXYZ; #X floatatom 476 144 5 0 0 0 - - -; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/light-help.pd b/Gem/light-help.pd index 611c89d..967d8e4 100644 --- a/Gem/light-help.pd +++ b/Gem/light-help.pd @@ -1,4 +1,5 @@ #N canvas 124 217 710 507 10; +#X declare -lib Gem; #X text 475 49 Example:; #X obj 7 64 cnv 15 450 220 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -66,10 +67,10 @@ of the values of the light get set first.; #X obj 483 96 rotateXYZ 0 -120 0; #X obj 472 274 gemhead 40; #X floatatom 523 121 5 1 4 0 - - -; -#X obj 549 261 cnv 15 85 50 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 549 266 cnv 15 85 50 empty empty empty 20 12 0 14 -24198 -66577 0; -#X msg 551 288 lighting \$1; -#X obj 551 266 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X msg 551 293 lighting \$1; +#X obj 551 271 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 17 155 You can place the light with [rotate] and [translate]. If you are lost use "debug" to display the light source as a small @@ -81,6 +82,7 @@ sphere.; #X obj 492 175 tgl 20 0 empty \$0-onoff empty 17 7 0 10 -262144 -1 -1 0 1; #X text 27 362 Inlet 1: float: turn light on/off (default:1); +#X obj 538 9 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 16 0 31 0; diff --git a/Gem/linear_path-help.pd b/Gem/linear_path-help.pd index 0dac33f..0629e7d 100644 --- a/Gem/linear_path-help.pd +++ b/Gem/linear_path-help.pd @@ -1,5 +1,6 @@ -#N canvas 37 45 711 482 10; -#X text 458 11 GEM object; +#N canvas 37 61 711 482 10; +#X declare -lib Gem; +#X text 498 8 GEM object; #X text 41 430 see also:; #X obj 115 429 linear_path; #X text 54 22 Synopsis: [linear_path]; @@ -59,6 +60,7 @@ its values in n-tuples like: "<r1> <g1> <b1> <r2> <g2> <b2>..." Therefore #X text 50 240 name of the table; #X obj 516 168 linear_path 3 array; #X msg 543 140 open array; +#X obj 568 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 12 1 14 0; #X connect 12 2 15 0; diff --git a/Gem/mesh_line-help.pd b/Gem/mesh_line-help.pd index 19a1502..bc600d9 100644 --- a/Gem/mesh_line-help.pd +++ b/Gem/mesh_line-help.pd @@ -1,4 +1,5 @@ #N canvas 379 171 706 465 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 470 65 cnv 15 230 390 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -34,7 +35,7 @@ 0; #X text 17 175 Arguments:; #X text 27 277 Inlet 2: float: size; -#X text 468 21 GEM object; +#X text 508 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 321 Outlets:; #X text 21 334 Outlet 1: gemlist; @@ -63,6 +64,7 @@ via the second inlet. This object is useful when working with vertex_shader ; #X text 63 186 resolution of the line mesh; #X text 575 107 (draw line); +#X obj 578 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 27 0; diff --git a/Gem/mesh_square-help.pd b/Gem/mesh_square-help.pd index 28809ff..1f983ee 100644 --- a/Gem/mesh_square-help.pd +++ b/Gem/mesh_square-help.pd @@ -1,4 +1,5 @@ #N canvas 91 105 706 465 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 470 65 cnv 15 230 390 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -34,7 +35,7 @@ 0; #X text 17 175 Arguments:; #X text 27 302 Inlet 2: float: size; -#X text 468 21 GEM object; +#X text 508 11 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 321 Outlets:; #X text 21 334 Outlet 1: gemlist; @@ -70,6 +71,7 @@ the current position with current color. The size of the square can be changed via the second inlet. This object is useful when working with vertex_shader; +#X obj 578 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 33 0; diff --git a/Gem/model-help.pd b/Gem/model-help.pd index 7837110..977cbd5 100644 --- a/Gem/model-help.pd +++ b/Gem/model-help.pd @@ -1,4 +1,5 @@ -#N canvas 426 119 793 647 10; +#N canvas 426 119 673 647 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 464 77 cnv 15 200 480 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -135,6 +136,7 @@ been loaded (and thus the loader-backend has been determined); #X connect 9 0 0 0; #X connect 11 0 0 0; #X restore 533 478 pd properties; +#X obj 558 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 22 0 23 0; diff --git a/Gem/multimodel-help.pd b/Gem/multimodel-help.pd index 48e2397..2f41a92 100644 --- a/Gem/multimodel-help.pd +++ b/Gem/multimodel-help.pd @@ -1,4 +1,5 @@ -#N canvas 368 22 710 565 10; +#N canvas 368 61 710 490 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 464 77 cnv 15 200 180 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -62,6 +63,7 @@ the * in the file name and replaces it with a number.; #X text 7 69 Description: load multiple an Alias/Wavefront-Model and renders one of them; #X text 18 386 for other messages to [multimodel] see [model]; +#X obj 558 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 19 0; diff --git a/Gem/newWave-help.pd b/Gem/newWave-help.pd index 8034c2c..7c021a3 100644 --- a/Gem/newWave-help.pd +++ b/Gem/newWave-help.pd @@ -1,4 +1,5 @@ #N canvas 402 236 760 620 10; +#X declare -lib Gem; #X text 54 27 Class: geometric object; #X obj 479 47 cnv 15 250 550 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -38,7 +39,7 @@ 0; #X text 17 142 Arguments:; #X text 26 347 Inlet 1: message: draw [line|fill|point]; -#X text 452 8 GEM object; +#X text 552 8 GEM object; #X text 27 210 Inlet 1: gemlist; #X text 9 420 Outlets:; #X text 20 433 Outlet 1: gemlist; @@ -112,12 +113,13 @@ factors (defaults: K1=0.05 D1=0.1 K2=K3=D2=D3=0); #X msg 502 146 texture 0; #X msg 591 389 force 15 5 -0.5; #X obj 494 115 rotateXYZ 135 0 0; -#X text 24 290 Inlet 1: message: force (X Y val): apply a force of value -"val" onto the wave at position (X Y); +#X text 24 290 Inlet 1: message: force (X Y val): apply a force of +value "val" onto the wave at position (X Y); #X text 63 159 1 : X grid-resolution \, default : 3; #X text 63 171 2 : Y grid resolution \, default : X value; #X text 26 362 Inlet 1 : message texture [1|2] : change texturing mode ; +#X obj 628 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 77 0; diff --git a/Gem/ortho-help.pd b/Gem/ortho-help.pd index 726a028..b2f31e7 100644 --- a/Gem/ortho-help.pd +++ b/Gem/ortho-help.pd @@ -1,4 +1,5 @@ -#N canvas 397 92 629 343 10; +#N canvas 397 92 628 342 10; +#X declare -lib Gem; #X obj 462 275 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 22 450 300 gemwin 0; @@ -22,7 +23,7 @@ #X restore 467 314 pd gemwin; #X msg 467 295 create; #X text 463 274 Create window:; -#X text 485 29 Example:; +#X text 465 49 Example:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 216 cnv 15 450 120 empty empty empty 20 12 0 14 -233017 -66577 @@ -31,7 +32,7 @@ #X obj 8 176 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 175 Arguments:; -#X text 452 8 GEM object; +#X text 432 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 304 Outlets:; #X text 21 316 Outlet 1: gemlist; @@ -51,20 +52,21 @@ subsequent shapes.; 0; #X obj 466 157 cnv 15 150 80 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 490 68 gemhead; +#X obj 490 72 gemhead; #X obj 490 246 cylinder; -#X obj 490 89 t a b; -#X obj 520 108 i; +#X obj 490 93 t a b; +#X obj 520 112 i; #X obj 490 200 ortho; #X obj 470 183 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; -#X obj 565 87 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +#X obj 565 91 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; -#X obj 549 108 + 0; -#X obj 490 129 rotateXYZ 45 45 0; +#X obj 549 112 + 0; +#X obj 490 133 rotateXYZ 45 45 0; #X msg 521 180 compat \$1; #X obj 521 160 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; +#X obj 508 8 declare -lib Gem; #X connect 1 0 2 0; #X connect 2 0 1 0; #X connect 23 0 25 0; diff --git a/Gem/part_color-help.pd b/Gem/part_color-help.pd index d2481a3..dccb619 100644 --- a/Gem/part_color-help.pd +++ b/Gem/part_color-help.pd @@ -1,4 +1,5 @@ -#N canvas -64 430 759 378 10; +#N canvas 6 430 759 378 10; +#X declare -lib Gem; #X obj 525 177 part_color; #X text 98 142 sets the color(s) of a particle-system. You can set 2 different colors \, particles will have either the one or the other. @@ -43,6 +44,7 @@ #X text 38 41 inlet 1: gemlist (with part_head); #X obj 524 17 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; +#X obj 648 8 declare -lib Gem; #X connect 0 0 11 0; #X connect 2 0 3 0; #X connect 3 0 2 0; diff --git a/Gem/part_damp-help.pd b/Gem/part_damp-help.pd index d8ca126..2599f34 100644 --- a/Gem/part_damp-help.pd +++ b/Gem/part_damp-help.pd @@ -1,4 +1,5 @@ -#N canvas -48 0 754 404 10; +#N canvas 6 61 754 404 10; +#X declare -lib Gem; #X text 540 156 This is the damping vector; #X text 541 176 To slow particles down; #X text 99 206 keep all of the values less than one; @@ -37,10 +38,11 @@ vector greater than 1 \, 1 \, 1 will speed up the particles.; #X text 519 316 Create window:; #X floatatom 663 192 5 0 0 0 - - -; #X msg 663 211 \$1 1 1; -#X obj 521 10 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +#X obj 521 10 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 521 80 part_source 5; #X obj 521 237 part_damp 0.1 0.1 0.1; +#X obj 628 8 declare -lib Gem; #X connect 9 0 10 0; #X connect 10 0 19 0; #X connect 11 0 20 0; diff --git a/Gem/part_draw-help.pd b/Gem/part_draw-help.pd index 5fcc582..1b8e7bc 100644 --- a/Gem/part_draw-help.pd +++ b/Gem/part_draw-help.pd @@ -1,4 +1,5 @@ #N canvas 539 315 813 403 10; +#X declare -lib Gem; #X msg 631 212 draw point; #X text 536 159 This is the drawing mode: line/point; #X text 98 109 [part_draw] finally draws a particle system that was @@ -41,6 +42,7 @@ set up with [part_head] and other [part_]-objects.; #X text 38 41 inlet 1: gemlist (with part_head) \, draw [line|point|<nr>] ; #X text 31 14 Synopsis: [part_draw]; +#X obj 688 8 declare -lib Gem; #X connect 0 0 11 0; #X connect 7 0 8 0; #X connect 8 0 10 0; diff --git a/Gem/part_follow-help.pd b/Gem/part_follow-help.pd index 312c468..cf9aa09 100644 --- a/Gem/part_follow-help.pd +++ b/Gem/part_follow-help.pd @@ -1,4 +1,5 @@ #N canvas 22 325 802 373 10; +#X declare -lib Gem; #X text 583 138 particle acceleration; #X text 97 112 [part_follow] lets the particles follow each other. ; @@ -38,6 +39,7 @@ #X obj 521 75 part_source 5; #X obj 521 51 part_head; #X obj 521 243 part_draw; +#X obj 678 8 declare -lib Gem; #X connect 6 0 16 0; #X connect 7 0 6 0; #X connect 8 0 9 0; diff --git a/Gem/part_gravity-help.pd b/Gem/part_gravity-help.pd index 188ab09..5901488 100644 --- a/Gem/part_gravity-help.pd +++ b/Gem/part_gravity-help.pd @@ -1,4 +1,5 @@ #N canvas 23 236 644 359 10; +#X declare -lib Gem; #X msg 139 109 gemList; #X text 176 62 GEM object; #X msg 242 151 x y z; @@ -8,5 +9,6 @@ #X text 43 257 [part_gravity] sets the gravity-vector of the particle-system. No matter in which direction particles are emitted (pE. via [part_velsphere]) in the end \, they have to follow the gravity.; +#X obj 528 8 declare -lib Gem; #X connect 0 0 3 0; #X connect 2 0 3 1; diff --git a/Gem/part_head-help.pd b/Gem/part_head-help.pd index a0eada7..890c615 100644 --- a/Gem/part_head-help.pd +++ b/Gem/part_head-help.pd @@ -1,4 +1,5 @@ #N canvas 174 110 664 498 10; +#X declare -lib Gem; #X msg 180 101 gemList; #X text 176 62 GEM object; #X msg 180 195 gemList; @@ -17,6 +18,7 @@ in one instance of time as a creation-argument. (default:1000); #X text 53 424 if your particles do not die (e.g.: because the are killed with [part_killold]) \, your particle source will stop emitting particles after some time.; +#X obj 548 8 declare -lib Gem; #X connect 0 0 3 0; #X connect 3 0 2 0; #X connect 6 0 3 0; diff --git a/Gem/part_info-help.pd b/Gem/part_info-help.pd index 8b79a5f..d12bf9c 100644 --- a/Gem/part_info-help.pd +++ b/Gem/part_info-help.pd @@ -1,4 +1,5 @@ #N canvas 162 181 644 454 10; +#X declare -lib Gem; #X msg 139 99 gemList; #X text 176 62 GEM object; #X msg 139 294 gemList; @@ -15,6 +16,7 @@ and other [part_]-objects.; #X msg 151 272 ID; #X text 36 379 If your system contains 15 particles \, then you will get the information on the outlets 15 times per rendering circle.; +#X obj 538 8 declare -lib Gem; #X connect 0 0 4 0; #X connect 4 0 2 0; #X connect 4 1 11 0; diff --git a/Gem/part_killold-help.pd b/Gem/part_killold-help.pd index ada3bc9..87d39ea 100644 --- a/Gem/part_killold-help.pd +++ b/Gem/part_killold-help.pd @@ -1,4 +1,5 @@ #N canvas 309 237 664 366 10; +#X declare -lib Gem; #X msg 199 131 gemList; #X text 176 62 GEM object; #X obj 199 182 part_killold; @@ -8,6 +9,7 @@ #X text 91 291 kill all particles which are older than the kill time. The default time is 10 Make the number longer for particles to live longer and shorter to remove them quicker.; +#X obj 548 8 declare -lib Gem; #X connect 0 0 2 0; #X connect 2 0 5 0; #X connect 3 0 2 1; diff --git a/Gem/part_killslow-help.pd b/Gem/part_killslow-help.pd index 01dcbeb..67ce06a 100644 --- a/Gem/part_killslow-help.pd +++ b/Gem/part_killslow-help.pd @@ -1,4 +1,5 @@ #N canvas 853 285 600 500 10; +#X declare -lib Gem; #X msg 199 131 gemList; #X text 176 62 GEM object; #X obj 199 229 part_killslow; @@ -6,5 +7,6 @@ #X msg 285 182 speed; #X text 90 291 kill all particles which are slower than the kill speed. The default speed is 0.01; +#X obj 478 8 declare -lib Gem; #X connect 0 0 2 0; #X connect 4 0 2 1; diff --git a/Gem/part_orbitpoint-help.pd b/Gem/part_orbitpoint-help.pd index c4bfe7b..d20defe 100644 --- a/Gem/part_orbitpoint-help.pd +++ b/Gem/part_orbitpoint-help.pd @@ -1,4 +1,5 @@ #N canvas 214 154 600 327 10; +#X declare -lib Gem; #X msg 110 93 gemList; #X text 121 50 GEM object; #X obj 110 190 part_orbitpoint; @@ -8,6 +9,7 @@ #X text 65 253 [part_orbitpoint] will make the particles orbit about the position x \, y \, z. The gravity is how attracted the particles are to the point. The default gravity is 1; +#X obj 488 8 declare -lib Gem; #X connect 0 0 2 0; #X connect 3 0 2 1; #X connect 4 0 2 2; diff --git a/Gem/part_render-help.pd b/Gem/part_render-help.pd index 1cc53cf..c5595a8 100644 --- a/Gem/part_render-help.pd +++ b/Gem/part_render-help.pd @@ -1,4 +1,5 @@ #N canvas 162 181 644 454 10; +#X declare -lib Gem; #X msg 139 99 gemList; #X text 176 62 GEM object; #X obj 139 207 part_render; @@ -13,6 +14,7 @@ normal gemLists (for instance a [sphere]); ; #X text 39 381 you can turn on/off sizing of paticles (via [part_size]) ; +#X obj 538 8 declare -lib Gem; #X connect 0 0 2 0; #X connect 2 0 3 0; #X connect 5 0 2 0; diff --git a/Gem/part_sink-help.pd b/Gem/part_sink-help.pd index 95e060d..55b228d 100644 --- a/Gem/part_sink-help.pd +++ b/Gem/part_sink-help.pd @@ -1,4 +1,5 @@ -#N canvas 142 0 627 488 10; +#N canvas 142 61 627 488 10; +#X declare -lib Gem; #X msg 110 73 gemList; #X text 121 50 GEM object; #X msg 110 219 gemList; @@ -22,6 +23,7 @@ and the corresponding arguments.; #X obj 269 199 part_sink <domain> [<arguments>...]; #X text 56 297 you can turn on/off the killing of particles (default:off) ; +#X obj 508 8 declare -lib Gem; #X connect 0 0 9 0; #X connect 5 0 9 1; #X connect 7 0 9 2; diff --git a/Gem/part_size-help.pd b/Gem/part_size-help.pd index 741d998..df3264c 100644 --- a/Gem/part_size-help.pd +++ b/Gem/part_size-help.pd @@ -1,4 +1,5 @@ #N canvas 309 237 664 366 10; +#X declare -lib Gem; #X msg 180 86 gemList; #X text 176 62 GEM object; #X msg 180 195 gemList; @@ -11,6 +12,7 @@ #X text 52 254 change the size of the particles of a particle-system. You can also give an initial value.; #X text 52 295 the particle-size defaults to 1.0f; +#X obj 548 8 declare -lib Gem; #X connect 0 0 4 0; #X connect 4 0 2 0; #X connect 5 0 4 1; diff --git a/Gem/part_source-help.pd b/Gem/part_source-help.pd index 1f3bc7e..19cf4f0 100644 --- a/Gem/part_source-help.pd +++ b/Gem/part_source-help.pd @@ -1,4 +1,5 @@ -#N canvas 203 0 664 575 10; +#N canvas 203 61 664 575 10; +#X declare -lib Gem; #X msg 180 86 gemList; #X text 176 62 GEM object; #X msg 180 195 gemList; @@ -21,6 +22,7 @@ number of particles that are emitted at each rendering-frame; domain (like "x y z" for "point" \, "x1 y1 z1 x2 y2 z2" for "line" \, "x y z r" for "sphere" \, ...). The meaning of the arguments depends -of course- on the domain.; +#X obj 548 8 declare -lib Gem; #X connect 0 0 5 0; #X connect 5 0 2 0; #X connect 9 0 5 1; diff --git a/Gem/part_targetcolor-help.pd b/Gem/part_targetcolor-help.pd index d6c1b43..f2f646e 100644 --- a/Gem/part_targetcolor-help.pd +++ b/Gem/part_targetcolor-help.pd @@ -1,4 +1,5 @@ #N canvas 853 285 600 500 10; +#X declare -lib Gem; #X msg 199 131 gemList; #X text 176 62 GEM object; #X text 185 27 part_targetcolor; @@ -8,6 +9,7 @@ #X text 89 291 part_targetcolor changes the color of the particles by a scale factor every frame. The target color can be an RGB or RGBA vector. The scale value defaults to 0.05; +#X obj 488 8 declare -lib Gem; #X connect 0 0 3 0; #X connect 4 0 3 1; #X connect 5 0 3 2; diff --git a/Gem/part_targetsize-help.pd b/Gem/part_targetsize-help.pd index d4ea201..e686d78 100644 --- a/Gem/part_targetsize-help.pd +++ b/Gem/part_targetsize-help.pd @@ -1,4 +1,5 @@ #N canvas 853 285 600 500 10; +#X declare -lib Gem; #X msg 199 131 gemList; #X text 176 62 GEM object; #X msg 299 178 scale; @@ -9,6 +10,7 @@ a scale factor every frame. The default size is 1 The scale value defaults to 0.05; #X obj 198 277 part_targetsize 3 0.01; +#X obj 488 8 declare -lib Gem; #X connect 0 0 4 0; #X connect 2 0 4 2; #X connect 5 0 4 1; diff --git a/Gem/part_velcone-help.pd b/Gem/part_velcone-help.pd index 4243ce3..4c942c2 100644 --- a/Gem/part_velcone-help.pd +++ b/Gem/part_velcone-help.pd @@ -1,4 +1,5 @@ #N canvas 109 126 635 466 10; +#X declare -lib Gem; #X msg 110 93 gemList; #X text 121 50 GEM object; #X msg 170 151 x y z; @@ -14,6 +15,7 @@ midpoint to be the velocity-domain of newly emitted particles within the system.; #X msg 465 326 x y z height; #X obj 239 360 part_velocity cone <x> <z> <z> <height>; +#X obj 518 8 declare -lib Gem; #X connect 0 0 8 0; #X connect 2 0 8 1; #X connect 8 0 3 0; diff --git a/Gem/part_velocity-help.pd b/Gem/part_velocity-help.pd index e7d6120..faf8105 100644 --- a/Gem/part_velocity-help.pd +++ b/Gem/part_velocity-help.pd @@ -1,4 +1,5 @@ -#N canvas 142 -38 627 488 10; +#N canvas 142 61 627 488 10; +#X declare -lib Gem; #X msg 110 93 gemList; #X text 121 50 GEM object; #X msg 110 219 gemList; @@ -18,6 +19,7 @@ arguments.; domain (like "x y z" for "point" \, "x1 y1 z1 x2 y2 z2" for "line" \, "x y z r" for "sphere" \, ...). The meaning of the arguments depends -of course- on the domain.; +#X obj 508 8 declare -lib Gem; #X connect 0 0 5 0; #X connect 5 0 2 0; #X connect 7 0 5 1; diff --git a/Gem/part_velsphere-help.pd b/Gem/part_velsphere-help.pd index 470ca35..a71af6a 100644 --- a/Gem/part_velsphere-help.pd +++ b/Gem/part_velsphere-help.pd @@ -1,4 +1,5 @@ #N canvas 109 126 635 466 10; +#X declare -lib Gem; #X msg 110 93 gemList; #X text 121 50 GEM object; #X msg 170 151 x y z; @@ -14,6 +15,7 @@ the system.; #X text 41 361 this is obsolete \, use; #X obj 239 360 part_velocity sphere <x> <z> <z> <radius>; #X msg 465 326 x y z radius; +#X obj 518 8 declare -lib Gem; #X connect 0 0 4 0; #X connect 2 0 4 1; #X connect 4 0 5 0; diff --git a/Gem/part_vertex-help.pd b/Gem/part_vertex-help.pd index d47f06e..a3fd0d7 100644 --- a/Gem/part_vertex-help.pd +++ b/Gem/part_vertex-help.pd @@ -1,4 +1,5 @@ -#N canvas 318 36 664 366 10; +#N canvas 318 61 664 366 10; +#X declare -lib Gem; #X msg 180 86 gemList; #X text 176 62 GEM object; #X msg 180 195 gemList; @@ -10,6 +11,7 @@ #X text 51 252 add a particle at the specified offset. You will need this if you want any particles in your particle-system \, especially with moving particle sources.; +#X obj 548 8 declare -lib Gem; #X connect 0 0 5 0; #X connect 5 0 2 0; #X connect 7 0 5 1; diff --git a/Gem/pix_2grey-help.pd b/Gem/pix_2grey-help.pd index e665004..9d4a67d 100644 --- a/Gem/pix_2grey-help.pd +++ b/Gem/pix_2grey-help.pd @@ -1,5 +1,6 @@ -#N canvas 404 365 654 372 10; -#X text 452 8 GEM object; +#N canvas 404 365 632 342 10; +#X declare -lib Gem; +#X text 442 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 252 Inlets:; @@ -69,6 +70,7 @@ a YUV-image will be set to 127 (no chroma); #X text 17 97 Assuming that you have an image in the gemList (for instance \, loaded in with pix_image) \, [pix_2grey] will convert the image into a greyscale \, without changing the actual colorspace.; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_a_2grey-help.pd b/Gem/pix_a_2grey-help.pd index 3b68576..cb7d509 100644 --- a/Gem/pix_a_2grey-help.pd +++ b/Gem/pix_a_2grey-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 372 10; +#N canvas 6 61 626 372 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 275 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -78,6 +79,7 @@ where ever the pixel alpha is less than the -alphaVal.; #X msg 523 171 0.5; #X msg 479 170 -0.5; #X obj 451 137 pix_coloralpha; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_add-help.pd b/Gem/pix_add-help.pd index 69f3bb9..cca6407 100644 --- a/Gem/pix_add-help.pd +++ b/Gem/pix_add-help.pd @@ -1,4 +1,5 @@ #N canvas 270 306 683 381 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -9,10 +10,10 @@ #X text 17 185 Arguments:; #X obj 8 66 cnv 15 430 110 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 449 77 cnv 15 170 280 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 449 67 cnv 15 170 300 empty empty empty 20 12 0 14 -228992 -66577 0; -#X text 453 60 Example:; -#X obj 514 290 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X text 453 50 Example:; +#X obj 514 303 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; @@ -32,13 +33,13 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 519 329 pd gemwin; -#X msg 519 310 create; -#X text 515 289 Create window:; -#X obj 451 168 cnv 15 160 80 empty empty empty 20 12 0 14 -24198 -66577 +#X restore 519 342 pd gemwin; +#X msg 519 323 create; +#X text 515 302 Create window:; +#X obj 451 188 cnv 15 160 80 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 451 119 gemhead; -#X obj 502 102 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 451 139 gemhead; +#X obj 496 122 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #N canvas 0 0 587 366 image 0; #X obj 77 48 inlet; @@ -52,14 +53,14 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 451 138 pd image; -#X obj 451 263 pix_texture; +#X restore 451 158 pd image; +#X obj 451 276 pix_texture; #X text 63 196 <none>; #X text 47 318 Outlet 1: gemlist; #X text 53 262 Inlet 1: gemlist; -#X obj 451 285 square 3; +#X obj 451 298 square 3; #X text 503 88 (JPEG \, TIFF \, ..); -#X obj 541 122 gemhead; +#X obj 541 142 gemhead; #N canvas 0 0 587 366 image 0; #X obj 77 48 inlet; #X obj 77 344 outlet; @@ -72,19 +73,20 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 541 141 pd image; -#X obj 592 103 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X restore 541 161 pd image; +#X obj 586 123 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #X text 53 291 Inlet 2: gemlist; -#X text 449 77 open two different images; +#X text 449 67 open two different images; #X text 50 12 Synopsis: [pix_add]; #X text 71 31 Class: pix mix object; #X text 29 67 Description: add 2 images; #X text 29 91 [pix_add] simply adds two pixes together. It clamps the images so that they remain in the range of the image. (In other words \, it is easy to get a white out).; -#X obj 451 198 pix_add; +#X obj 451 218 pix_add; #X text 33 137 The 2 images have to be of the same size.; +#X obj 527 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/pix_aging-help.pd b/Gem/pix_aging-help.pd index c13c055..1c24f31 100644 --- a/Gem/pix_aging-help.pd +++ b/Gem/pix_aging-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 490 10; +#N canvas 6 61 654 446 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 140 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -90,7 +91,7 @@ Fukuchi (http://effectv.sourceforge.net); 1; #X msg 580 199 pits \$1; #X msg 480 197 coloraging \$1; -#X obj 481 179 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 481 179 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X floatatom 525 143 5 0 0 0 - - -; #X msg 525 161 scratch \$1; @@ -99,6 +100,7 @@ Fukuchi (http://effectv.sourceforge.net); #X text 63 324 Inlet 1: scratch <int> : add a maximum of # scratches ; #X text 63 306 Inlet 1: coloraging 0|1: color-bleaching; +#X obj 538 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_alpha-help.pd b/Gem/pix_alpha-help.pd index 3c6c78c..9e0e73a 100644 --- a/Gem/pix_alpha-help.pd +++ b/Gem/pix_alpha-help.pd @@ -1,4 +1,5 @@ -#N canvas 42 278 695 523 10; +#N canvas 42 278 631 490 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 345 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -12,7 +13,7 @@ #X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 453 60 Example:; -#X obj 574 341 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 514 421 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; @@ -32,9 +33,9 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 579 380 pd gemwin; -#X msg 579 361 create; -#X text 575 340 Create window:; +#X restore 519 460 pd gemwin; +#X msg 519 441 create; +#X text 515 420 Create window:; #X obj 450 158 cnv 15 160 120 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; @@ -90,6 +91,7 @@ threshold \, then the pixel alpha is set to the other value.; #X text 63 388 Inlet 3: <float>: ALPHA-value if not passed; #X text 63 400 Inlet 4: <list>: high-threshold (RGB); #X text 63 413 Inlet 4: <list>: low-threshold (RGB); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 30 0; diff --git a/Gem/pix_background-help.pd b/Gem/pix_background-help.pd index 5194d49..05df91b 100644 --- a/Gem/pix_background-help.pd +++ b/Gem/pix_background-help.pd @@ -1,4 +1,5 @@ -#N canvas 436 51 655 473 10; +#N canvas 436 61 655 437 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 256 cnv 15 430 170 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -94,6 +95,7 @@ in Gray-mode only the first value is important <+-gray>; #X restore 451 113 pd film; #X text 516 105 open an movie; #X text 509 118 (AVI \, MPEG \, MOV); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 35 0; diff --git a/Gem/pix_backlight-help.pd b/Gem/pix_backlight-help.pd index 2fef528..4ed1b61 100644 --- a/Gem/pix_backlight-help.pd +++ b/Gem/pix_backlight-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 651 393 10; +#N canvas 6 61 651 356 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 125 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -77,6 +78,7 @@ can set the amount of the displacement as well as floor/ceiling limits #X obj 469 172 / 100; #X text 516 105 open an image; #X text 509 118 (JPEG \, TIFF \, ..); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_biquad-help.pd b/Gem/pix_biquad-help.pd index a392626..ae52406 100644 --- a/Gem/pix_biquad-help.pd +++ b/Gem/pix_biquad-help.pd @@ -1,4 +1,5 @@ -#N canvas 288 289 775 405 10; +#N canvas 288 289 658 405 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 265 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -145,6 +146,7 @@ x(n) with the "set"-command.; #X obj 457 209 pack 1 0 0 1 0 0; #X text 22 327 Inlet 1: <list> : the filter-coefficients "fb0 fb1 fb2 ff1 ff2 ff3"; +#X obj 548 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 20 0; diff --git a/Gem/pix_bitmask-help.pd b/Gem/pix_bitmask-help.pd index e0f7363..4c9e6a5 100644 --- a/Gem/pix_bitmask-help.pd +++ b/Gem/pix_bitmask-help.pd @@ -1,4 +1,5 @@ -#N canvas 43 367 654 479 10; +#N canvas 43 367 654 380 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -79,6 +80,7 @@ since low bit values will reduce the luminance of the pix.; ; #X text 13 295 Inlet 3: list: 3 (RGB) or 4 (RGBA) mask-values in INTeger (0..255); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_blob-help.pd b/Gem/pix_blob-help.pd index 285e9c0..d5058f4 100644 --- a/Gem/pix_blob-help.pd +++ b/Gem/pix_blob-help.pd @@ -1,15 +1,16 @@ -#N canvas 0 0 634 679 10; +#N canvas 6 61 489 679 10; +#X declare -lib Gem; #X msg 142 104 gemList; #X msg 142 307 gemList; #X text 169 16 part of GEM; -#X floatatom 186 256 3 0 0; -#X floatatom 164 281 3 0 0; +#X floatatom 186 256 3 0 0 0 - - -; +#X floatatom 164 281 3 0 0 0 - - -; #X obj 142 207 pix_blob; #X text 176 43 [pix_blob]; #X text 93 73 get the "center of gravity" of an image; #X msg 175 133 <mode>; #X msg 209 173 <color-weights>; -#X floatatom 209 232 3 0 0; +#X floatatom 209 232 3 0 0 0 - - -; #X text 250 231 size; #X text 232 261 Y; #X text 210 282 X; @@ -29,6 +30,7 @@ than to the red-channel \, green- and alpha-values will be ignored. ; #X text 56 617 Specifying only one single color-weight <w> \, is the same as "<w> <w> <w> 0"; +#X obj 378 8 declare -lib Gem; #X connect 0 0 5 0; #X connect 5 0 1 0; #X connect 5 1 4 0; diff --git a/Gem/pix_buf-help.pd b/Gem/pix_buf-help.pd index 3b5ba1b..3d692a6 100644 --- a/Gem/pix_buf-help.pd +++ b/Gem/pix_buf-help.pd @@ -1,4 +1,5 @@ -#N canvas 404 68 654 486 10; +#N canvas 404 68 627 477 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 325 cnv 15 430 140 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -82,6 +83,7 @@ the same image-data. Thus is is also called [pix_separator]; force all subsequent [pix_]-objects to process.; #X text 22 391 Inlet 1: auto 1|0: force image-processing in subsequent objects each render-cycle (default:0); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_buffer-help.pd b/Gem/pix_buffer-help.pd index 4597446..8071b74 100644 --- a/Gem/pix_buffer-help.pd +++ b/Gem/pix_buffer-help.pd @@ -1,6 +1,7 @@ -#N canvas 350 148 784 564 10; +#N canvas 350 148 668 535 10; +#X declare -lib Gem; #X text 452 8 GEM object; -#X obj 9 263 cnv 15 430 170 empty empty empty 20 12 0 14 -233017 -66577 +#X obj 9 263 cnv 15 430 250 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 40 265 Inlets:; #X obj 9 227 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 @@ -65,6 +66,7 @@ and preallocate memory for them (pixes will be set to black); slot <src> to slot <target>; #X text 23 444 Inlet 1: message: save <filename> <index>: save image in given slot to harddisk.; +#X obj 548 8 declare -lib Gem; #X connect 16 0 23 0; #X connect 18 0 23 0; #X connect 23 0 17 0; diff --git a/Gem/pix_buffer_read-help.pd b/Gem/pix_buffer_read-help.pd index ce046e1..2566ed0 100644 --- a/Gem/pix_buffer_read-help.pd +++ b/Gem/pix_buffer_read-help.pd @@ -1,4 +1,5 @@ -#N canvas 48 174 691 473 10; +#N canvas 48 174 691 406 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 265 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -63,6 +64,7 @@ can change the buffer to read from on the fly via the [set( message. ; #X msg 464 138 set depot3; #X obj 508 362 pix_buffer depot3 1; +#X obj 548 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 25 0; diff --git a/Gem/pix_buffer_write-help.pd b/Gem/pix_buffer_write-help.pd index 53a2595..7e08da4 100644 --- a/Gem/pix_buffer_write-help.pd +++ b/Gem/pix_buffer_write-help.pd @@ -1,4 +1,5 @@ -#N canvas 19 20 691 473 10; +#N canvas 19 61 654 413 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 265 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -83,6 +84,7 @@ buffer.; #X text 29 57 Description: write images to a [pix_buffer]; #X obj 451 272 translate 2 0 1 0; #X obj 451 292 square 1.9; +#X obj 548 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 18 0; diff --git a/Gem/pix_chroma_key-help.pd b/Gem/pix_chroma_key-help.pd index d7fc864..50701d4 100644 --- a/Gem/pix_chroma_key-help.pd +++ b/Gem/pix_chroma_key-help.pd @@ -1,5 +1,6 @@ -#N canvas 280 22 628 495 10; -#X text 452 8 GEM object; +#N canvas 280 61 632 502 10; +#X declare -lib Gem; +#X text 442 8 GEM object; #X obj 8 277 cnv 15 430 210 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 277 Inlets:; @@ -124,6 +125,7 @@ time.; #X restore 546 139 pd image; #X text 37 215 RGB values are 0-1 \, YUV values are 16/255-239/255 ; +#X obj 508 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 41 0; diff --git a/Gem/pix_clearblock-help.pd b/Gem/pix_clearblock-help.pd index f5d5323..1ec1430 100644 --- a/Gem/pix_clearblock-help.pd +++ b/Gem/pix_clearblock-help.pd @@ -1,4 +1,5 @@ #N canvas 159 184 656 313 10; +#X declare -lib Gem; #X msg 164 109 gemList; #X msg 164 227 gemList; #X text 155 10 part of GEM; @@ -7,5 +8,6 @@ #X text 60 78 clear an image without destroying the texture; #X text 58 255 all texture information/setup will be stored \, whereas the image itself will be deleted; +#X obj 538 8 declare -lib Gem; #X connect 0 0 3 0; #X connect 3 0 1 0; diff --git a/Gem/pix_color-help.pd b/Gem/pix_color-help.pd index 5a459a1..75fe4c8 100644 --- a/Gem/pix_color-help.pd +++ b/Gem/pix_color-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 372 10; +#N canvas 6 61 630 343 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -73,6 +74,7 @@ Generally it is NOT a good idea to use [pix_color] if the same result can be achieved with the [color] object !; #X text 516 105 open an image; #X text 509 118 (JPEG \, TIFF \, ..); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_coloralpha-help.pd b/Gem/pix_coloralpha-help.pd index 76e7a45..cb18ac8 100644 --- a/Gem/pix_coloralpha-help.pd +++ b/Gem/pix_coloralpha-help.pd @@ -1,4 +1,5 @@ -#N canvas 75 13 690 372 10; +#N canvas 75 61 633 341 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -12,7 +13,7 @@ #X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 453 60 Example:; -#X obj 520 218 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 520 218 cnv 15 90 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; @@ -34,7 +35,7 @@ #X connect 7 0 0 0; #X restore 525 257 pd gemwin; #X msg 525 238 create; -#X text 521 217 Create window:; +#X text 521 218 Create window:; #X obj 450 138 cnv 15 160 50 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; @@ -76,6 +77,7 @@ mean-value of the RGB-triple for each pixel.; #X text 63 275 Inlet 1: 1|0 : turn on/off (default:1); #X obj 467 142 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_colorclassify-help.pd b/Gem/pix_colorclassify-help.pd index a08315f..3e236fb 100644 --- a/Gem/pix_colorclassify-help.pd +++ b/Gem/pix_colorclassify-help.pd @@ -1,4 +1,5 @@ -#N canvas 117 177 850 516 10; +#N canvas 117 177 635 396 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -71,7 +72,7 @@ representatives for each pixel: red [1 0 0] \, green [0 1 0] \, blue [0 0 1] \, yellow [1 1 0] \, black [0 0 0] \, white [1 1 1] \, unsure [154/255 \, 115/255 \, 86/255]; -#X obj 451 196 pix_colorclassify; +#X obj 451 180 pix_colorclassify; #X text 16 357 Author: Ricardo Fabbri labmacambira.sf.net rfabbri at gmail; #X text 42 95 [pix_colorclassify] will detect colors in a pixImage @@ -79,6 +80,7 @@ gmail; \, black \, white \, or 'uncertain'. It will only detect a color if it is unambiguous.; #X text 50 12 Synopsis: [pix_colorclassify]; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_colormatrix-help.pd b/Gem/pix_colormatrix-help.pd index bf0da28..d143db8 100644 --- a/Gem/pix_colormatrix-help.pd +++ b/Gem/pix_colormatrix-help.pd @@ -1,4 +1,5 @@ #N canvas 76 273 636 411 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 295 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -78,15 +79,15 @@ then the alpha is set to 1; #X text 93 204 r g b; #X text 94 221 r g b; #X obj 451 266 pix_colormatrix; -#X floatatom 495 195 3 -1 2 0 - - -; -#X floatatom 518 195 3 -1 2 0 - - -; -#X floatatom 541 195 3 -1 2 0 - - -; -#X floatatom 495 209 3 -1 2 0 - - -; -#X floatatom 518 209 3 -1 2 0 - - -; -#X floatatom 541 209 3 -1 2 0 - - -; -#X floatatom 495 223 3 -1 2 0 - - -; -#X floatatom 518 223 3 -1 2 0 - - -; -#X floatatom 541 223 3 -1 2 0 - - -; +#X floatatom 495 165 3 -1 2 0 - - -; +#X floatatom 518 165 3 -1 2 0 - - -; +#X floatatom 541 165 3 -1 2 0 - - -; +#X floatatom 495 189 3 -1 2 0 - - -; +#X floatatom 518 189 3 -1 2 0 - - -; +#X floatatom 541 189 3 -1 2 0 - - -; +#X floatatom 495 213 3 -1 2 0 - - -; +#X floatatom 518 213 3 -1 2 0 - - -; +#X floatatom 541 213 3 -1 2 0 - - -; #N canvas 0 0 450 300 pack 0; #X obj 69 169 pack 0 0 0 0 0 0 0 0 0; #X obj 69 139 t b f; @@ -136,6 +137,7 @@ then the alpha is set to 1; #X restore 474 236 pd pack 9 . . .; #X msg 471 164 1; #X obj 471 145 loadbang; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_colorreduce-help.pd b/Gem/pix_colorreduce-help.pd index 619b175..890b2cf 100644 --- a/Gem/pix_colorreduce-help.pd +++ b/Gem/pix_colorreduce-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 372 10; +#N canvas 6 61 631 342 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -74,6 +75,7 @@ a pixImage \, based on statistical information of the image.; 1; #X text 516 105 open an image; #X text 509 118 (JPEG \, TIFF \, ..); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_compare-help.pd b/Gem/pix_compare-help.pd index a2c0f85..e1c2f6a 100644 --- a/Gem/pix_compare-help.pd +++ b/Gem/pix_compare-help.pd @@ -1,4 +1,5 @@ -#N canvas 69 186 667 394 10; +#N canvas 69 186 628 389 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -37,9 +38,9 @@ #X text 515 278 Create window:; #X obj 451 157 cnv 15 160 80 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 451 108 gemhead; +#X obj 451 112 gemhead; #X text 71 31 Class: pix object; -#X obj 502 91 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 496 95 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; @@ -53,14 +54,14 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 451 127 pd image; +#X restore 451 131 pd image; #X obj 451 252 pix_texture; #X text 63 196 <direction>; #X text 47 308 Outlet 1: gemlist; #X text 53 242 Inlet 1: gemlist; #X obj 451 274 square 3; #X text 503 77 (JPEG \, TIFF \, ..); -#X obj 541 111 gemhead; +#X obj 541 115 gemhead; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; #X obj 77 344 outlet; @@ -73,8 +74,8 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 541 130 pd image; -#X obj 592 92 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X restore 541 134 pd image; +#X obj 586 96 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #X msg 491 185 direction \$1; #X obj 491 167 tgl 15 1 empty empty empty 0 -6 0 8 -262144 -1 -1 0 @@ -95,6 +96,7 @@ can also be effective in RGB.; #X text 33 354 see also:; #X obj 99 355 pix_diff; #X obj 159 355 pix_subtract; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_composite-help.pd b/Gem/pix_composite-help.pd index 6085294..661d21c 100644 --- a/Gem/pix_composite-help.pd +++ b/Gem/pix_composite-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 252 683 381 10; +#N canvas 6 252 639 381 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -37,8 +38,8 @@ #X text 515 289 Create window:; #X obj 451 208 cnv 15 160 40 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 451 119 gemhead; -#X obj 502 102 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 451 122 gemhead; +#X obj 496 105 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #N canvas 0 0 587 366 image 0; #X obj 77 48 inlet; @@ -52,14 +53,14 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 451 138 pd image; +#X restore 451 141 pd image; #X obj 451 263 pix_texture; #X text 63 196 <none>; #X text 47 318 Outlet 1: gemlist; #X text 53 262 Inlet 1: gemlist; #X obj 451 285 square 3; #X text 503 88 (JPEG \, TIFF \, ..); -#X obj 541 122 gemhead; +#X obj 547 122 gemhead; #N canvas 0 0 587 366 image 0; #X obj 77 48 inlet; #X obj 77 344 outlet; @@ -72,8 +73,8 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 541 141 pd image; -#X obj 592 103 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X restore 547 141 pd image; +#X obj 592 105 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #X text 53 291 Inlet 2: gemlist; #X text 449 77 open two different images; @@ -85,6 +86,7 @@ #X text 13 84 [pix_composite] mixes two pixes together based on the alpha value of the 1st pix.; #X obj 451 166 pix_coloralpha; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/pix_contrast-help.pd b/Gem/pix_contrast-help.pd index abd040f..f4ee19f 100644 --- a/Gem/pix_contrast-help.pd +++ b/Gem/pix_contrast-help.pd @@ -1,4 +1,5 @@ -#N canvas 59 276 654 372 10; +#N canvas 59 276 630 345 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 225 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -73,6 +74,7 @@ can be modified (since there is no hue); image. Both contrast and saturation modifiers must be >=0!; #X text 63 261 Inlet 2: float: contrast (>=0. default:1); #X text 63 274 Inlet 3: float: saturation (>=0. default:1); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_convert-help.pd b/Gem/pix_convert-help.pd index 63337fd..317d829 100644 --- a/Gem/pix_convert-help.pd +++ b/Gem/pix_convert-help.pd @@ -1,4 +1,5 @@ -#N canvas 473 0 654 372 10; +#N canvas 473 61 629 372 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -89,6 +90,7 @@ Gem \, although it is quite CPU-consumptive.; into a format you can choose.; #X obj 451 233 pix_texture; #X obj 451 256 square 3; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_convolve-help.pd b/Gem/pix_convolve-help.pd index b5693df..3ad2fbf 100644 --- a/Gem/pix_convolve-help.pd +++ b/Gem/pix_convolve-help.pd @@ -1,4 +1,5 @@ -#N canvas 105 476 664 410 10; +#N canvas 105 476 635 410 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 295 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -210,6 +211,7 @@ The default is 1.0.; of the matrix-values row after row.; #X text 63 266 <int><int>: matrix dimensions; #X text 28 190 Currently \, only square matrices are supported.; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 21 0 23 0; diff --git a/Gem/pix_coordinate-help.pd b/Gem/pix_coordinate-help.pd index 0f18a93..ad5af86 100644 --- a/Gem/pix_coordinate-help.pd +++ b/Gem/pix_coordinate-help.pd @@ -1,4 +1,5 @@ -#N canvas 395 396 694 458 10; +#N canvas 395 396 626 458 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 335 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -69,7 +70,7 @@ the texture S \, T values from 1 \, 1 to 2 \, 2 (See the examples). #X text 63 367 Inlet 2: list: 8 values (4 (s \, t)-pairs); #X obj 538 144 loadbang; #X msg 461 237 \$1 \$1 0 \$1 0 0 \$1 0; -#X floatatom 461 220 3 0 256 0 - - -, f 3; +#X floatatom 461 220 3 0 256 0 - - -; #X obj 451 136 pix_texture; #X text 14 159 IMPORTANT NOTE-1: [pix_texture] sets the texture-coordinates to "appropriate" values \, so you probably want to use [pix_coordinate] @@ -84,6 +85,7 @@ powers-of-2 \, will not "repeat" properly in any case., f 60; #X text 14 203 IMPORTANT NOTE-2: if your hardware supports it \, Gem tries to use "rectangle-texturing"\\\, which does not support "repeat" mode. This is an OpenGL limitation; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_crop-help.pd b/Gem/pix_crop-help.pd index 634f718..83cd98d 100644 --- a/Gem/pix_crop-help.pd +++ b/Gem/pix_crop-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 651 393 10; +#N canvas 6 61 624 360 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 125 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -35,7 +36,7 @@ #X restore 519 293 pd gemwin; #X msg 519 274 create; #X text 515 253 Create window:; -#X obj 450 146 cnv 15 160 80 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 450 146 cnv 15 165 80 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; #X text 71 31 Class: pix object; @@ -75,6 +76,7 @@ on. The selection is made by the dimension of the subimage in pixels and the offset (in pixels) from the lower left corner.; #X text 516 105 open an image; #X text 509 118 (JPEG \, TIFF \, ..); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_curve-help.pd b/Gem/pix_curve-help.pd index 2879fac..2c1227c 100644 --- a/Gem/pix_curve-help.pd +++ b/Gem/pix_curve-help.pd @@ -1,5 +1,6 @@ -#N canvas 0 321 774 553 10; -#X text 452 8 GEM object; +#N canvas 6 321 733 553 10; +#X declare -lib Gem; +#X text 542 8 GEM object; #X obj 8 386 cnv 15 430 150 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 388 Inlets:; @@ -9,7 +10,7 @@ #X text 47 305 Arguments:; #X obj 7 76 cnv 15 430 220 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 449 77 cnv 15 210 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 449 77 cnv 15 270 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 453 60 Example:; #X obj 514 254 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 @@ -35,7 +36,7 @@ #X restore 519 293 pd gemwin; #X msg 519 274 create; #X text 515 253 Create window:; -#X obj 450 138 cnv 15 200 100 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 451 138 cnv 15 260 100 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; #X text 71 31 Class: pix object; @@ -145,6 +146,7 @@ alpha); for all channels; #X text 23 461 Inlet 1: set <table1><table2><table3><table4>: separate tables for all channels (incl. Alpha); +#X obj 618 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_data-help.pd b/Gem/pix_data-help.pd index 1762b09..762dc10 100644 --- a/Gem/pix_data-help.pd +++ b/Gem/pix_data-help.pd @@ -1,4 +1,5 @@ -#N canvas 1413 30 695 382 10; +#N canvas 141 109 695 382 10; +#X declare -lib Gem; #X text 92 6 [pix_data]; #X text 93 25 get pixel-data of an image; #X obj 14 57 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 @@ -72,6 +73,7 @@ as RGB-triplet.; #X restore 345 332 pd gemwin; #X msg 345 313 create; #X text 341 292 Create window:; +#X obj 568 8 declare -lib Gem; #X connect 12 1 15 0; #X connect 12 2 14 0; #X connect 13 0 12 0; diff --git a/Gem/pix_deinterlace-help.pd b/Gem/pix_deinterlace-help.pd index 68a0b0a..345087b 100644 --- a/Gem/pix_deinterlace-help.pd +++ b/Gem/pix_deinterlace-help.pd @@ -1,4 +1,5 @@ #N canvas 392 297 654 372 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -7,7 +8,7 @@ #X obj 8 204 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 203 Arguments:; -#X obj 7 76 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577 +#X obj 7 76 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -82,6 +83,7 @@ difference between adjacent pixels). In mode "1" de-interlacing is always enforced.; #X text 63 282 Inlet 1: mode <int>: enforce(1) or not(0) (default:1) ; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_delay-help.pd b/Gem/pix_delay-help.pd index 8dfc7f9..3c3d460 100644 --- a/Gem/pix_delay-help.pd +++ b/Gem/pix_delay-help.pd @@ -1,4 +1,5 @@ -#N canvas 230 0 683 377 10; +#N canvas 230 61 629 377 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 225 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -77,6 +78,7 @@ in the delay-line have to have the same dimensions and colour-space. You can specify the length of the entire delay-line (==maximum delay) as an argument to the [pix_delay] object. The delay in frames defaults to 0 (route through) and can be changed via the second inlet.; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 23 0; diff --git a/Gem/pix_diff-help.pd b/Gem/pix_diff-help.pd index 2c71f56..e09f4bb 100644 --- a/Gem/pix_diff-help.pd +++ b/Gem/pix_diff-help.pd @@ -1,4 +1,5 @@ -#N canvas 4 320 683 381 10; +#N canvas 6 320 629 381 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -37,8 +38,8 @@ #X text 514 278 Create window:; #X obj 450 157 cnv 15 160 80 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 450 108 gemhead; -#X obj 501 91 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 450 118 gemhead; +#X obj 495 101 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; @@ -52,14 +53,14 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 450 127 pd image; +#X restore 450 137 pd image; #X obj 450 252 pix_texture; #X text 63 196 <none>; #X text 42 306 Outlet 1: gemlist; #X text 48 250 Inlet 1: gemlist; #X obj 450 274 square 3; #X text 502 77 (JPEG \, TIFF \, ..); -#X obj 540 111 gemhead; +#X obj 540 118 gemhead; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; #X obj 77 344 outlet; @@ -72,8 +73,8 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 540 130 pd image; -#X obj 591 92 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X restore 540 137 pd image; +#X obj 585 101 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #X text 48 279 Inlet 2: gemlist; #X text 448 66 open two different images; @@ -87,6 +88,7 @@ between 2 images (in contrast to [pix_subtract]); #X text 32 353 see also:; #X obj 100 353 pix_subtract; #X obj 180 353 pix_compare; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/pix_dot-help.pd b/Gem/pix_dot-help.pd index 3b603aa..cb85338 100644 --- a/Gem/pix_dot-help.pd +++ b/Gem/pix_dot-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 22 658 376 10; +#N canvas 6 61 633 352 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -40,7 +41,7 @@ #X obj 451 84 gemhead; #X text 50 12 Synopsis: [pix_dot]; #X text 71 31 Class: pix object; -#X obj 451 196 pix_dot; +#X obj 451 180 pix_dot; #X obj 510 85 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 -1 -1; #N canvas 0 22 587 366 image 0; @@ -56,7 +57,7 @@ #X connect 4 0 2 0; #X connect 5 0 4 0; #X restore 451 113 pd image; -#X floatatom 524 184 5 0 100 2 size - -; +#X floatatom 524 181 5 0 100 2 size - -; #X obj 451 233 pix_texture; #X text 57 295 Outlet 1: gemlist; #X text 63 212 Inlet 1: gemlist; @@ -69,6 +70,7 @@ be segmented and each segment will be represented by a white dot \, whose size is relative to the luminance of the original segment.; #X obj 451 255 square 3; #X text 63 166 <size>; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 19 0; diff --git a/Gem/pix_draw-help.pd b/Gem/pix_draw-help.pd index e066089..a977db2 100644 --- a/Gem/pix_draw-help.pd +++ b/Gem/pix_draw-help.pd @@ -1,4 +1,5 @@ -#N canvas 106 178 654 400 10; +#N canvas 106 178 626 382 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 295 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -77,6 +78,7 @@ is MUCH SLOWER than [pix_texture]!!; #X floatatom 563 149 5 -4 2 0 - - -; #X text 16 216 [pix_draw] is used in the example patches a lot \, just because it is one object less (compared to [pix_texture]; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_drum.pd_darwin b/Gem/pix_drum.pd_darwin Binary files differindex ad12cb4..69b19e4 100755 --- a/Gem/pix_drum.pd_darwin +++ b/Gem/pix_drum.pd_darwin diff --git a/Gem/pix_dump-help.pd b/Gem/pix_dump-help.pd index 91b78ac..c48e2d8 100644 --- a/Gem/pix_dump-help.pd +++ b/Gem/pix_dump-help.pd @@ -1,4 +1,5 @@ -#N canvas 842 262 654 372 10; +#N canvas 207 155 629 372 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -77,6 +78,7 @@ #X obj 451 267 rectangle 3 3; #X msg 530 186 bytemode \$1; #X text 63 286 Inlet 1: bytemode: set normalization on or off; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_duotone-help.pd b/Gem/pix_duotone-help.pd index 0af8d8a..5bb857f 100644 --- a/Gem/pix_duotone-help.pd +++ b/Gem/pix_duotone-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 651 393 10; +#N canvas 6 61 651 353 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 125 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -78,6 +79,7 @@ the values are not RGB but YCrCb.; #X text 63 245 Inlet 2: list: threshold (RGB); #X text 516 105 open an image; #X text 509 118 (JPEG \, TIFF \, ..); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_equal-help.pd b/Gem/pix_equal-help.pd index be573a3..16969b6 100644 --- a/Gem/pix_equal-help.pd +++ b/Gem/pix_equal-help.pd @@ -1,4 +1,5 @@ -#N canvas 1526 184 639 504 10; +#N canvas 176 166 639 504 10; +#X declare -lib Gem; #X text 462 18 GEM object; #X obj 18 206 cnv 15 430 210 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -88,6 +89,7 @@ color; #X text 456 373 and having any alpha; #X text 457 342 e.g. marks whatever is within; #X text 456 358 a certain bright yellow range; +#X obj 528 18 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_fiducialtrack.pd_darwin b/Gem/pix_fiducialtrack.pd_darwin Binary files differindex ce98c34..45407ad 100755 --- a/Gem/pix_fiducialtrack.pd_darwin +++ b/Gem/pix_fiducialtrack.pd_darwin diff --git a/Gem/pix_film-help.pd b/Gem/pix_film-help.pd index f09afc5..e924bba 100644 --- a/Gem/pix_film-help.pd +++ b/Gem/pix_film-help.pd @@ -1,4 +1,5 @@ #N canvas 163 146 704 623 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 272 cnv 15 430 340 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -162,6 +163,7 @@ on rendering (starting with 0), f 69; #X msg 486 212 loader foo; #X text 17 391 Inlet 1: message : loader <name>: open the film using only the specified backend(s), f 70; +#X obj 578 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 46 0; diff --git a/Gem/pix_flip-help.pd b/Gem/pix_flip-help.pd index 9ff0da6..fb9a188 100644 --- a/Gem/pix_flip-help.pd +++ b/Gem/pix_flip-help.pd @@ -1,4 +1,5 @@ -#N canvas 477 283 654 372 10; +#N canvas 477 283 641 360 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -72,6 +73,7 @@ #X obj 451 226 pix_flip; #X obj 451 253 pix_texture; #X obj 451 274 square; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_freeframe-help.pd b/Gem/pix_freeframe-help.pd index c0e8b7c..3766111 100644 --- a/Gem/pix_freeframe-help.pd +++ b/Gem/pix_freeframe-help.pd @@ -1,4 +1,5 @@ -#N canvas 346 44 665 538 10; +#N canvas 346 61 665 552 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 340 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 0; @@ -116,6 +117,7 @@ settable parameter; from 1); #X text 22 441 Inlet 1: <name> <value>: set parameter given by <name> ; +#X obj 538 8 declare -lib Gem; #X connect 16 0 17 0; #X connect 17 0 16 0; #X connect 19 0 22 0; diff --git a/Gem/pix_frei0r-help.pd b/Gem/pix_frei0r-help.pd index 27300de..9d1895d 100644 --- a/Gem/pix_frei0r-help.pd +++ b/Gem/pix_frei0r-help.pd @@ -1,5 +1,6 @@ -#N canvas 19 44 676 544 10; -#X text 452 8 GEM object; +#N canvas 19 61 676 556 10; +#X declare -lib Gem; +#X text 482 18 GEM object; #X obj 7 376 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 11 378 Inlets:; @@ -114,6 +115,7 @@ settable parameter; from 1); #X text 22 441 Inlet 1: <name> <value>: set parameter given by <name> ; +#X obj 548 18 declare -lib Gem; #X connect 22 0 23 0; #X connect 23 0 22 0; #X connect 25 0 28 0; diff --git a/Gem/pix_gain-help.pd b/Gem/pix_gain-help.pd index c5f509f..d02a6bc 100644 --- a/Gem/pix_gain-help.pd +++ b/Gem/pix_gain-help.pd @@ -1,4 +1,5 @@ -#N canvas 394 120 654 440 10; +#N canvas 394 120 624 402 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 275 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -77,6 +78,7 @@ done on the CPU!!!; #X text 23 305 Inlet 1: <float>: multiplier for all channels; #X text 23 321 Inlet 2: list: 3 (RGB) or 4 (RGBA) values as multipliers for each channels; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_grey-help.pd b/Gem/pix_grey-help.pd index bb38b6c..66a753c 100644 --- a/Gem/pix_grey-help.pd +++ b/Gem/pix_grey-help.pd @@ -1,4 +1,5 @@ -#N canvas 637 82 654 432 10; +#N canvas 637 82 627 432 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -81,6 +82,7 @@ do nothing.; #X obj 24 390 pix_2grey; #X text 97 384 produces similar ("grey") results \, but does NO colourspace-conversion!! ; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_halftone-help.pd b/Gem/pix_halftone-help.pd index 4526d39..c899033 100644 --- a/Gem/pix_halftone-help.pd +++ b/Gem/pix_halftone-help.pd @@ -1,4 +1,5 @@ -#N canvas 318 0 654 480 10; +#N canvas 318 61 628 469 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -84,6 +85,7 @@ of the patterns and how blurry they are on-screen.; #X text 111 405 2...diamond dots; #X text 111 418 3...'euclidean' dots; #X text 111 431 4...postscript diamond dots; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/pix_histo-help.pd b/Gem/pix_histo-help.pd index b27da08..892aa3e 100644 --- a/Gem/pix_histo-help.pd +++ b/Gem/pix_histo-help.pd @@ -1,4 +1,5 @@ #N canvas 230 118 660 604 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 405 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -9,7 +10,7 @@ #X text 17 335 Arguments:; #X obj 7 76 cnv 15 430 250 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 449 77 cnv 15 200 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 453 60 Example:; #X obj 514 254 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 @@ -35,7 +36,7 @@ #X restore 519 293 pd gemwin; #X msg 519 274 create; #X text 515 253 Create window:; -#X obj 450 132 cnv 15 160 90 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 450 143 cnv 15 180 90 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; #X text 71 31 Class: pix object; @@ -57,7 +58,7 @@ #X text 56 518 Outlet 1: gemlist; #X text 63 422 Inlet 1: gemlist; #X text 50 12 Synopsis: [pix_color]; -#X obj 451 233 pix_draw; +#X obj 451 253 pix_draw; #X text 516 105 open an image; #X text 509 118 (JPEG \, TIFF \, ..); #X text 20 101 [pix_histo] will get the histogram (density function) @@ -76,14 +77,14 @@ sum up to 1.0f; #X obj 158 543 table tab-1; #X obj 242 544 table tab-2; #X obj 325 545 table tab-3; -#X msg 461 156 set tab-1 tab-2 tab-3; -#N canvas 0 0 450 300 graph6 0; +#X msg 461 167 set tab-1 tab-2 tab-3; +#N canvas 0 0 450 300 (subpatch) 0; #X array tab-0 100 float 0; #X coords 0 1 99 -1 200 140 1; -#X restore 445 333 graph; -#X obj 451 196 pix_histo tab-0; -#X msg 459 135 set tab-0; -#X msg 457 177 set tab-1 tab-2 tab-3 tab-0; +#X restore 448 363 graph; +#X obj 451 207 pix_histo tab-0; +#X msg 459 146 set tab-0; +#X msg 457 188 set tab-1 tab-2 tab-3 tab-0; #X text 63 346 1 arg:: <tablename> to store grey-histogram; #X text 62 363 3 args: <tablename>s to store RGB-histograms; #X text 62 378 4 args: <tablename>s to store RGBA-histograms; @@ -93,6 +94,7 @@ sum up to 1.0f; RGB-histograms; #X text 63 474 Inlet 1: set <table1><table2><table3><table4> : tables to store RGBA-histograms; +#X obj 528 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_hit.pd_darwin b/Gem/pix_hit.pd_darwin Binary files differindex 4e231cb..0a69e13 100755 --- a/Gem/pix_hit.pd_darwin +++ b/Gem/pix_hit.pd_darwin diff --git a/Gem/pix_hsv2rgb-help.pd b/Gem/pix_hsv2rgb-help.pd index 635e82c..1cb35b0 100644 --- a/Gem/pix_hsv2rgb-help.pd +++ b/Gem/pix_hsv2rgb-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 413 10; +#N canvas 6 61 626 365 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -73,6 +74,7 @@ RGBA. The Red-channel is interpreted as Hue-values....; #X text 94 340 see also:; #X obj 187 338 pix_rgb2hsv; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_image-help.pd b/Gem/pix_image-help.pd index 8a6e5d3..247c80b 100644 --- a/Gem/pix_image-help.pd +++ b/Gem/pix_image-help.pd @@ -1,5 +1,6 @@ -#N canvas 265 101 690 413 10; -#X text 452 8 GEM object; +#N canvas 265 101 690 395 10; +#X declare -lib Gem; +#X text 502 8 GEM object; #X obj 8 295 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 298 Inlets:; @@ -35,7 +36,7 @@ #X restore 519 293 pd gemwin; #X msg 519 274 create; #X text 515 253 Create window:; -#X obj 451 148 cnv 15 160 70 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 451 148 cnv 15 220 100 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; #X text 56 368 Outlet 1: gemlist; @@ -85,6 +86,7 @@ this might eventually slow down your machine.; #X text 15 138 [pix_image] loads in TIFFs \, JPEGs and probably more (depending on your platform and how Gem was compiled); #X obj 451 226 pix_image examples/data/fractal.JPG; +#X obj 578 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 34 0; diff --git a/Gem/pix_imageInPlace-help.pd b/Gem/pix_imageInPlace-help.pd index 7489998..e2d72fa 100644 --- a/Gem/pix_imageInPlace-help.pd +++ b/Gem/pix_imageInPlace-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 706 507 10; +#N canvas 6 61 629 507 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 335 cnv 15 430 160 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -73,6 +74,7 @@ texture-RAM; When you select an image to display with [pix_multiimage] \, it copies over the image data to the pix-buffer \, which is then used by [pix_texture]. ; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 23 0; diff --git a/Gem/pix_indycam-help.pd b/Gem/pix_indycam-help.pd index 297feeb..1839d59 100644 --- a/Gem/pix_indycam-help.pd +++ b/Gem/pix_indycam-help.pd @@ -1,4 +1,5 @@ #N canvas 69 65 686 503 10; +#X declare -lib Gem; #X msg 122 72 gemList; #X msg 122 213 gemList; #X text 83 44 get a video signal; @@ -17,5 +18,6 @@ the camera (especially to create an image with dimensions a power of ; #X text 41 264 [pix_indycam] obviously only works with SGI video workstations. The name indicates that it likes SGI-indy's the most.; +#X obj 578 8 declare -lib Gem; #X connect 0 0 10 0; #X connect 10 0 1 0; diff --git a/Gem/pix_info-help.pd b/Gem/pix_info-help.pd index 6336619..f5661d3 100644 --- a/Gem/pix_info-help.pd +++ b/Gem/pix_info-help.pd @@ -1,4 +1,5 @@ -#N canvas 1474 88 651 488 10; +#N canvas 398 110 651 488 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 236 cnv 15 430 160 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -84,6 +85,7 @@ YUV (not standardized); #X text 57 380 Outlet 8: pointer: image-data; #X text 57 349 Outlet 6: list: <type> <upsidedown> <notowned>; #X text 57 366 Outlet 7: list: <newimage> <newfilm>; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_invert-help.pd b/Gem/pix_invert-help.pd index c7f1258..04ecb07 100644 --- a/Gem/pix_invert-help.pd +++ b/Gem/pix_invert-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 337 10; +#N canvas 6 61 626 337 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -68,6 +69,7 @@ #X text 16 126 [pix_invert] will invert your image. Thus all black pixels will become white and vice-versa.; #X text 50 12 Synopsis: [pix_invert]; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_kaleidoscope-help.pd b/Gem/pix_kaleidoscope-help.pd index 577df9f..c38d193 100644 --- a/Gem/pix_kaleidoscope-help.pd +++ b/Gem/pix_kaleidoscope-help.pd @@ -1,4 +1,5 @@ -#N canvas 102 92 665 538 10; +#N canvas 102 92 647 538 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 7 206 cnv 15 430 280 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -110,6 +111,7 @@ segment \; altering this value will squash or expand (0.1..10 \, default: #X floatatom 547 187 4 0 100 0 - - -; #X obj 495 206 * 0.01; #X obj 547 206 * 0.01; +#X obj 538 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 22 0 24 0; diff --git a/Gem/pix_levels-help.pd b/Gem/pix_levels-help.pd index 6fa975b..e3330b9 100644 --- a/Gem/pix_levels-help.pd +++ b/Gem/pix_levels-help.pd @@ -1,4 +1,5 @@ -#N canvas 537 22 651 547 10; +#N canvas 537 61 630 547 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 300 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -78,7 +79,7 @@ #X msg 520 158 inv \$1; #X msg 461 225 0 1 0.5 0.6; #X obj 451 265 pix_levels; -#X msg 546 216 0.5 0.6 0 1; +#X msg 536 216 0.5 0.6 0 1; #X msg 460 195 uni \$1; #X text 29 77 Description: level adjustment; #X text 33 274 Inlet 1: message: uni [1|0] (choose between uniform @@ -102,9 +103,10 @@ specify the lowest/highest values of both input and output. There is also an auto-mode available; #X text 33 247 Inlet 1: message: auto [1|0] (turns automatic level-correction on/off)(default:0); -#X msg 546 193 0 0.1 1 0.5; +#X msg 536 193 0 0.1 1 0.5; #X text 516 105 open an image; #X text 509 118 (JPEG \, TIFF \, ..); +#X obj 523 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_lumaoffset-help.pd b/Gem/pix_lumaoffset-help.pd index 5a0b6eb..2d1dabe 100644 --- a/Gem/pix_lumaoffset-help.pd +++ b/Gem/pix_lumaoffset-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 651 393 10; +#N canvas 6 61 629 393 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 125 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -83,6 +84,7 @@ or left black \, if filled \, the transition can be smoothed.; #X text 509 118 (JPEG \, TIFF \, ..); #X text 13 357 NOTE: specifying too high offsets might cause crashes!!! ; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_mano.pd_darwin b/Gem/pix_mano.pd_darwin Binary files differindex eb3ceb1..838217d 100755 --- a/Gem/pix_mano.pd_darwin +++ b/Gem/pix_mano.pd_darwin diff --git a/Gem/pix_mask-help.pd b/Gem/pix_mask-help.pd index 6339024..7b06f70 100644 --- a/Gem/pix_mask-help.pd +++ b/Gem/pix_mask-help.pd @@ -1,4 +1,5 @@ #N canvas 71 263 665 372 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 110 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -38,7 +39,7 @@ #X obj 451 166 cnv 15 160 40 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 108 gemhead; -#X obj 502 91 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 496 91 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; @@ -52,7 +53,7 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 451 127 pd image; +#X restore 451 128 pd image; #X obj 451 242 pix_texture; #X text 63 201 <none>; #X text 41 299 Outlet 1: gemlist; @@ -71,8 +72,8 @@ #X connect 3 0 5 0; #X connect 4 0 3 0; #X connect 5 0 1 0; -#X restore 531 127 pd image; -#X obj 582 89 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X restore 531 128 pd image; +#X obj 576 89 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #X text 47 272 Inlet 2: gemlist; #X text 449 56 open two different images; @@ -91,6 +92,7 @@ become the alpha-value of the left pix.; #X obj 531 108 gemhead 1; #X text 17 340 see also:; #X obj 82 342 pix_takealpha; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/pix_mean_color-help.pd b/Gem/pix_mean_color-help.pd index f0979ca..7a4119c 100644 --- a/Gem/pix_mean_color-help.pd +++ b/Gem/pix_mean_color-help.pd @@ -1,4 +1,5 @@ -#N canvas 473 0 654 372 10; +#N canvas 473 61 654 372 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 185 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -35,7 +36,7 @@ #X restore 459 333 pd gemwin; #X msg 459 314 create; #X text 455 293 Create window:; -#X obj 450 135 cnv 15 160 90 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 450 141 cnv 15 160 65 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; #X text 71 31 Class: pix object; @@ -85,6 +86,7 @@ outputs it as RGBA values.; #X obj 451 208 translateXYZ 0 2 0; #X text 36 239 Outlet 2: <f:Red> <f:Green> <f:Blue> <f:Alpha>: the mean color of the image; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_metaimage-help.pd b/Gem/pix_metaimage-help.pd index 2958b13..82f939e 100644 --- a/Gem/pix_metaimage-help.pd +++ b/Gem/pix_metaimage-help.pd @@ -1,4 +1,5 @@ -#N canvas 5 51 654 531 10; +#N canvas 6 61 634 480 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 305 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -92,6 +93,7 @@ step \, giving a more jagged output but speeding up the processing. images is changed by the 'size' message. If turned on \, then the size doesn't scale linearly \, but is used as if the images were on a plane in 3D space \, and controls the distance from the plane., f 67; +#X obj 518 9 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_mix-help.pd b/Gem/pix_mix-help.pd index 9ea0717..0eca9f8 100644 --- a/Gem/pix_mix-help.pd +++ b/Gem/pix_mix-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 124 683 381 10; +#N canvas 6 124 683 381 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 196 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -35,11 +36,11 @@ #X restore 519 329 pd gemwin; #X msg 519 310 create; #X text 515 289 Create window:; -#X obj 451 158 cnv 15 160 100 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 451 161 cnv 15 160 100 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 119 gemhead; #X text 71 31 Class: pix object; -#X obj 502 102 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 496 103 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #N canvas 0 0 587 366 image 0; #X obj 77 48 inlet; @@ -54,10 +55,10 @@ #X connect 4 0 2 0; #X connect 5 0 4 0; #X restore 451 138 pd image; -#X obj 451 263 pix_texture; +#X obj 451 267 pix_texture; #X text 17 295 Outlet 1: gemlist; #X text 23 212 Inlet 1: gemlist; -#X obj 451 285 square 3; +#X obj 451 289 square 3; #X text 503 88 (JPEG \, TIFF \, ..); #X obj 541 122 gemhead; #N canvas 0 0 587 366 image 0; @@ -82,25 +83,26 @@ time.; #X connect 7 0 6 0; #X connect 8 0 7 0; #X restore 541 141 pd image; -#X obj 592 103 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 586 104 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #X text 23 227 Inlet 2: gemlist; #X text 449 77 open two different images; #X text 50 12 Synopsis: [pix_mix]; -#X obj 476 174 hsl 128 15 0 1 0 1 empty empty empty -2 -6 0 8 -262144 +#X obj 476 177 hsl 128 15 0 1 0 1 empty empty empty -2 -6 0 8 -262144 -1 -1 6300 1; -#X floatatom 473 199 5 0 0 0 - - -; -#X msg 530 198 0.7 0.7; +#X floatatom 473 202 5 0 0 0 - - -; +#X msg 530 201 0.7 0.7; #X text 29 67 Description: mix 2 images based on mixing factors; #X text 23 241 Inlet 3: list: weights for left/right image; #X text 63 166 list: [leftGain [rightGain]] (defaults: 0.5 0.5); -#X obj 451 226 pix_mix 0; +#X obj 451 229 pix_mix 0; #X text 14 81 [pix_mix] will mix 2 images just like a video-mixer. You can supply mixing factors A and B \, and the result will be out=in1*A+in2*B. If you supply only one factor A \, the result will be out=in1*(1-A)+in2*A. ; #X text 22 255 Inlet 3: float: weight for left image. right weight will be the reciprocal value (for crossfading); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_motionblur-help.pd b/Gem/pix_motionblur-help.pd index a435391..5bcc5c8 100644 --- a/Gem/pix_motionblur-help.pd +++ b/Gem/pix_motionblur-help.pd @@ -1,5 +1,6 @@ -#N canvas 230 0 683 377 10; -#X text 452 8 GEM object; +#N canvas 230 61 638 376 10; +#X declare -lib Gem; +#X text 442 8 GEM object; #X obj 9 225 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 40 227 Inlets:; @@ -81,6 +82,7 @@ the blending is the same as pix_mix output = (stream * gain) + (history * 1 - gain) applying a higher blur factor will mix in more of the history image and thus more of the history will be saved resulting in heavier blurring.; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 20 0; diff --git a/Gem/pix_movement-help.pd b/Gem/pix_movement-help.pd index 59b3ec0..5f142fb 100644 --- a/Gem/pix_movement-help.pd +++ b/Gem/pix_movement-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 198 683 405 10; +#N canvas 6 198 683 405 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 265 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -87,6 +88,7 @@ are smaller then <threshold> are ignored; #X obj 451 172 pix_rgba; #X text 457 370 see also:; #X obj 519 370 pix_movement2; +#X obj 548 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 20 0; diff --git a/Gem/pix_movement2-help.pd b/Gem/pix_movement2-help.pd index a9fda39..4cc2255 100644 --- a/Gem/pix_movement2-help.pd +++ b/Gem/pix_movement2-help.pd @@ -1,4 +1,5 @@ #N canvas 315 171 666 422 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 270 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -91,6 +92,7 @@ that are smaller then <lo_threshold> are ignored; #X text 15 78 [pix_movement2] detects movement in a frame with respect to the 2 previous frames and a "background"-image and stores it as a b/w-image (greyscale).; +#X obj 548 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 20 0; diff --git a/Gem/pix_movie-help.pd b/Gem/pix_movie-help.pd index 6cab430..21d856b 100644 --- a/Gem/pix_movie-help.pd +++ b/Gem/pix_movie-help.pd @@ -1,18 +1,19 @@ -#N canvas 469 90 707 633 10; -#X text 452 -2 GEM object; -#X obj 8 305 cnv 15 430 320 empty empty empty 20 12 0 14 -233017 -66577 +#N canvas 469 90 719 552 10; +#X declare -lib Gem; +#X text 502 8 GEM object; +#X obj 8 315 cnv 15 430 220 empty empty empty 20 12 0 14 -233017 -66577 0; -#X text 9 307 Inlets:; -#X text 9 377 Outlets:; -#X obj 8 272 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 +#X text 9 327 Inlets:; +#X text 9 397 Outlets:; +#X obj 8 282 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 0; -#X text 17 271 Arguments:; -#X obj 8 46 cnv 15 430 180 empty empty empty 20 12 0 14 -233017 -66577 +#X text 17 281 Arguments:; +#X obj 8 56 cnv 15 430 180 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 449 47 cnv 15 250 450 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 449 57 cnv 15 250 450 empty empty empty 20 12 0 14 -228992 -66577 0; -#X text 453 30 Example:; -#X obj 594 430 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X text 453 40 Example:; +#X obj 594 440 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 22 450 300 gemwin 0; #X obj 132 136 gemwin; @@ -32,47 +33,47 @@ #X connect 7 0 4 0; #X connect 7 1 6 0; #X connect 7 1 5 0; -#X restore 599 469 pd gemwin; -#X msg 599 450 create; -#X text 595 429 Create window:; -#X obj 451 78 cnv 15 155 200 empty empty empty 20 12 0 14 -24198 -66577 +#X restore 599 479 pd gemwin; +#X msg 599 460 create; +#X text 595 439 Create window:; +#X obj 451 88 cnv 15 155 200 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 451 53 gemhead; -#X text 17 391 Outlet 1: gemlist; -#X text 23 321 Inlet 1: gemlist; -#X obj 462 83 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 451 63 gemhead; +#X text 17 411 Outlet 1: gemlist; +#X text 23 341 Inlet 1: gemlist; +#X obj 462 93 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; -#X text 505 47 open a supported; -#X text 506 58 movie-clip; -#X obj 471 367 unpack 0 0 0 0; -#X floatatom 466 390 5 0 0 3 length - -; -#X floatatom 515 390 5 0 0 3 width - -; -#X floatatom 565 390 5 0 0 3 height - -; -#X obj 530 348 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144 +#X text 505 57 open a supported; +#X text 506 68 movie-clip; +#X obj 471 377 unpack 0 0 0 0; +#X floatatom 466 400 5 0 0 3 length - -; +#X floatatom 515 400 5 0 0 3 width - -; +#X floatatom 565 400 5 0 0 3 height - -; +#X obj 530 358 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144 -1 -1; -#X text 71 21 Class: pix object (pix source); -#X text 29 47 Description: load in a movie-file; -#X obj 462 112 openpanel; -#X msg 462 132 open \$1; -#X obj 451 472 rectangle 4 3; -#X text 15 68 [pix_movie] loads in a preproduced digital-video to be +#X text 71 31 Class: pix object (pix source); +#X text 29 57 Description: load in a movie-file; +#X obj 462 122 openpanel; +#X msg 462 142 open \$1; +#X obj 451 482 rectangle 4 3; +#X text 15 78 [pix_movie] loads in a preproduced digital-video to be used as a texture \, bitblit or something else.; -#X text 63 282 symbol: file to load initially; -#X msg 490 189 auto \$1; -#X obj 490 171 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X text 63 292 symbol: file to load initially; +#X msg 490 199 auto \$1; +#X obj 490 181 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X msg 501 213 colorspace Grey; -#X obj 8 229 cnv 15 430 40 empty empty empty 20 12 0 14 -260818 -66577 +#X msg 501 223 colorspace Grey; +#X obj 8 239 cnv 15 430 40 empty empty empty 20 12 0 14 -260818 -66577 0; -#X obj 451 331 pix_movie; -#X text 439 575 see also:; -#X obj 516 575 pix_film; -#X text 50 2 Synopsis: [pix_movie]; -#X obj 513 237 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 451 341 pix_movie; +#X text 459 515 see also:; +#X obj 536 515 pix_film; +#X text 50 12 Synopsis: [pix_movie]; +#X obj 513 247 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 505 290 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 +#X obj 505 300 hsl 128 15 0 127 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; -#X floatatom 502 310 5 0 0 1 frame_number - -; +#X floatatom 502 320 5 0 0 1 frame_number - -; #N canvas 830 50 450 300 demo 0; #X obj 23 26 inlet; #X text 126 127 win32:; @@ -91,24 +92,25 @@ used as a texture \, bitblit or something else.; #X connect 7 0 3 0; #X connect 8 0 3 0; #X coords 0 -1 1 1 100 17 1 20 50; -#X restore 474 152 pd demo movie; -#X text 22 353 Inlet 2: float: <frame number> sets the frame to output +#X restore 474 162 pd demo movie; +#X text 22 373 Inlet 2: float: <frame number> sets the frame to output ; -#X obj 596 575 pix_texture; -#X text 14 231 You don't need [pix_texture] to texture the image. [pix_movie] +#X obj 616 515 pix_texture; +#X text 14 241 You don't need [pix_texture] to texture the image. [pix_movie] is a combination of [pix_film] and [pix_texture]; -#X text 17 450 Outlet 4: list: the texture id \, same as Outlet 2 of +#X text 17 470 Outlet 4: list: the texture id \, same as Outlet 2 of [pix_texture]; -#X msg 513 256 rectangle \$1; -#X floatatom 615 390 5 0 0 3 fps - -; -#X text 17 107 This object accepts the same set of messages as [pix_film]. +#X msg 513 266 rectangle \$1; +#X floatatom 615 400 5 0 0 3 fps - -; +#X text 17 117 This object accepts the same set of messages as [pix_film]. In addition \, it will immediately download the frames to the gfx-card and make them available as a texture.; -#X text 23 336 Inlet 1: see [pix_film]; -#X text 17 407 Outlet 2: see [pix_film]; -#X text 17 430 Outlet 3: see [pix_film]; -#X text 21 151 Think of this object as a hybrid between [pix_film] +#X text 23 356 Inlet 1: see [pix_film]; +#X text 17 427 Outlet 2: see [pix_film]; +#X text 17 450 Outlet 3: see [pix_film]; +#X text 21 161 Think of this object as a hybrid between [pix_film] and [pix_texture]...; +#X obj 578 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 36 0; diff --git a/Gem/pix_multiblob-help.pd b/Gem/pix_multiblob-help.pd index 11e205f..a7b40c2 100644 --- a/Gem/pix_multiblob-help.pd +++ b/Gem/pix_multiblob-help.pd @@ -1,4 +1,5 @@ -#N canvas 93 136 690 540 10; +#N canvas 93 136 663 540 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 323 cnv 15 430 145 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -176,7 +177,7 @@ minimum size of a blob that is needed to be detected.; #X text 17 439 Outlet 2: (k \, 9) matrix: describing k detected blobs (with 0<=k<N); #X text 461 464 * angle converted to degrees but is originally in radians -; +, f 30; #X text 18 154 the output is a matrix following the conventions of the mtx-objects from zexy/iemmatrix. each row describes one detected blob as follows: centerX(weighted) \, centerY(weighted) \, size(weighted) @@ -184,6 +185,7 @@ blob as follows: centerX(weighted) \, centerY(weighted) \, size(weighted) each pixel is weighted by its luminance value during the calculation. "angle" is the (weighted) orientation of the principal axis of the blob in the [-pi/2 \, pi/2] range.; +#X obj 548 8 declare -lib Gem; #X connect 22 0 23 0; #X connect 23 0 22 0; #X connect 26 0 28 0; diff --git a/Gem/pix_multiimage-help.pd b/Gem/pix_multiimage-help.pd index edf7d85..e218b11 100644 --- a/Gem/pix_multiimage-help.pd +++ b/Gem/pix_multiimage-help.pd @@ -1,4 +1,5 @@ -#N canvas 4 49 632 462 10; +#N canvas 6 61 632 462 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 305 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -66,6 +67,7 @@ in the filename is expanded with integer 0..#); #X text 456 336 see also:; #X obj 465 359 pix_buffer; #X obj 465 379 pix_image; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 20 0; diff --git a/Gem/pix_multiply-help.pd b/Gem/pix_multiply-help.pd index c38ce59..f672553 100644 --- a/Gem/pix_multiply-help.pd +++ b/Gem/pix_multiply-help.pd @@ -1,5 +1,6 @@ -#N canvas 497 199 683 381 10; -#X text 452 8 GEM object; +#N canvas 497 199 638 381 10; +#X declare -lib Gem; +#X text 442 8 GEM object; #X obj 8 226 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 248 Inlets:; @@ -37,8 +38,8 @@ #X text 515 289 Create window:; #X obj 451 168 cnv 15 160 80 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 451 119 gemhead; -#X obj 502 102 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 451 126 gemhead; +#X obj 496 109 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; @@ -52,14 +53,14 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 451 138 pd image; +#X restore 451 145 pd image; #X obj 451 263 pix_texture; #X text 63 196 <none>; #X text 47 318 Outlet 1: gemlist; #X text 53 262 Inlet 1: gemlist; #X obj 451 285 square 3; #X text 503 88 (JPEG \, TIFF \, ..); -#X obj 541 122 gemhead; +#X obj 541 129 gemhead; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; #X obj 77 344 outlet; @@ -72,8 +73,8 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 541 141 pd image; -#X obj 592 103 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X restore 541 148 pd image; +#X obj 586 110 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #X text 53 291 Inlet 2: gemlist; #X text 449 77 open two different images; @@ -85,6 +86,7 @@ #X text 29 91 [pix_multiply] simply multiplies two pixes together. E.g: where either of the pixels is black \, the resulting image will be black too. Thus it is simple to get black images.; +#X obj 508 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/pix_multitexture-help.pd b/Gem/pix_multitexture-help.pd index 4ca2da8..b4dd127 100644 --- a/Gem/pix_multitexture-help.pd +++ b/Gem/pix_multitexture-help.pd @@ -1,4 +1,5 @@ -#N canvas 656 205 721 650 10; +#N canvas 656 205 633 650 10; +#X declare -lib Gem; #N canvas 87 154 247 179 Gem.init 0; #X obj 118 46 loadbang; #X msg 118 81 reset; @@ -27,7 +28,7 @@ working with shaders.; #X text 514 536 Create window:; #X obj 455 442 cnv 15 160 50 empty empty empty 20 12 0 14 -24198 -66577 0; -#X text 452 4 GEM object; +#X text 452 9 GEM object; #X text 453 56 Example:; #X obj 463 88 gemhead; #X obj 489 208 gemhead 11; @@ -138,6 +139,7 @@ working with shaders.; #X connect 16 0 0 0; #X coords 0 -1 1 1 85 40 1 100 100; #X restore 522 576 pd gemwin; +#X obj 518 8 declare -lib Gem; #X connect 0 0 39 0; #X connect 15 0 19 0; #X connect 16 0 30 0; diff --git a/Gem/pix_noise-help.pd b/Gem/pix_noise-help.pd index f76e308..3e78706 100644 --- a/Gem/pix_noise-help.pd +++ b/Gem/pix_noise-help.pd @@ -1,5 +1,6 @@ -#N canvas 509 51 641 529 10; -#X text 462 20 GEM object; +#N canvas 509 61 641 529 10; +#X declare -lib Gem; +#X text 442 10 GEM object; #X obj 18 324 cnv 15 430 190 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 18 291 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 @@ -85,6 +86,7 @@ frame.; function, f 62; #X text 42 425 set <width> <height> : change size of the image (default : 64*64), f 66; +#X obj 518 8 declare -lib Gem; #X connect 8 0 9 0; #X connect 9 0 8 0; #X connect 12 0 40 0; diff --git a/Gem/pix_normalize-help.pd b/Gem/pix_normalize-help.pd index b8b7b30..946af5e 100644 --- a/Gem/pix_normalize-help.pd +++ b/Gem/pix_normalize-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 335 10; +#N canvas 6 61 654 335 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -76,6 +77,7 @@ #X text 29 123 [pix_normalize] will normalize your image \, so that contrasts will appear sharper.; #X text 50 12 Synopsis: [pix_normalize]; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_offset-help.pd b/Gem/pix_offset-help.pd index 3ddecca..b9980ab 100644 --- a/Gem/pix_offset-help.pd +++ b/Gem/pix_offset-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 375 10; +#N canvas 6 61 654 375 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -73,6 +74,7 @@ is done. Thus you can wrap around the color-space.; instead of "1 1 1"); #X text 63 295 Inlet 2: <float> : offset for all channels; #X text 63 311 Inlet 3: list : offset for each channels; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_pix2sig~-help.pd b/Gem/pix_pix2sig~-help.pd index 4dd4daa..872303f 100644 --- a/Gem/pix_pix2sig~-help.pd +++ b/Gem/pix_pix2sig~-help.pd @@ -1,4 +1,5 @@ -#N canvas 330 40 689 418 10; +#N canvas 330 61 689 418 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 150 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -9,7 +10,7 @@ #X text 17 205 Arguments:; #X obj 7 76 cnv 15 430 125 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 449 77 cnv 15 170 290 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 449 77 cnv 15 200 290 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 453 60 Example:; #X obj 514 244 cnv 15 100 100 empty empty empty 20 12 0 14 -195568 @@ -35,7 +36,7 @@ #X restore 519 283 pd gemwin; #X msg 519 264 create; #X text 515 243 Create window:; -#X obj 450 135 cnv 15 160 90 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 450 135 cnv 15 180 90 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; #X text 71 31 Class: pix object; @@ -87,6 +88,7 @@ with [block~ <n>].; #X obj 564 171 env~ 65536; #X obj 533 171 env~ 65536; #X obj 502 171 env~ 65536; +#X obj 528 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_posterize-help.pd b/Gem/pix_posterize-help.pd index 213899e..a82ddc6 100644 --- a/Gem/pix_posterize-help.pd +++ b/Gem/pix_posterize-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 254 651 393 10; +#N canvas 6 254 651 350 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 125 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -78,6 +79,7 @@ conversion. LATER make pix_posterize eat RGBA too...; #X text 509 118 (JPEG \, TIFF \, ..); #X text 20 121 currently only YUV images are supported. use [pix_yuv] to make sure that you are in the correct colorspace.; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_puzzle-help.pd b/Gem/pix_puzzle-help.pd index 300dd50..ade7a61 100644 --- a/Gem/pix_puzzle-help.pd +++ b/Gem/pix_puzzle-help.pd @@ -1,4 +1,5 @@ -#N canvas 18 198 654 599 10; +#N canvas 18 198 626 548 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 345 cnv 15 430 150 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -111,6 +112,7 @@ and find it:; #X connect 7 0 1 0; #X restore 475 176 pd numkeys; #X text 12 285 (i admit this is not very intuitive...); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_rds-help.pd b/Gem/pix_rds-help.pd index 27ef8d0..a271f12 100644 --- a/Gem/pix_rds-help.pd +++ b/Gem/pix_rds-help.pd @@ -1,4 +1,5 @@ -#N canvas 22 29 655 397 10; +#N canvas 22 61 638 358 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 125 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -79,6 +80,7 @@ is basically an invertation (front becomes back) of cross-eyed.; #X floatatom 495 139 5 10 100 1 stride - -; #X text 63 245 Inlet 1: method [0|1] (crosseyed|walleyed); #X text 63 259 Inlet 1: stride <int> distance (default:40); +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_record-help.pd b/Gem/pix_record-help.pd index af7d447..0861e73 100644 --- a/Gem/pix_record-help.pd +++ b/Gem/pix_record-help.pd @@ -1,14 +1,15 @@ -#N canvas 435 49 682 509 10; -#X text 363 9 GEM object; +#N canvas 435 61 682 509 10; +#X declare -lib Gem; +#X text 433 9 GEM object; #X obj 9 375 cnv 15 430 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 18 374 Arguments:; #X obj 8 56 cnv 15 430 310 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 449 43 cnv 15 170 410 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 449 53 cnv 15 170 410 empty empty empty 20 12 0 14 -228992 -66577 0; -#X text 453 26 Example:; -#X obj 479 419 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X text 453 36 Example:; +#X obj 479 429 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; @@ -28,15 +29,15 @@ #X connect 7 0 4 0; #X connect 7 1 6 0; #X connect 7 1 5 0; -#X restore 484 458 pd gemwin; -#X msg 484 439 create; -#X text 480 418 Create window:; -#X obj 451 184 cnv 15 167 230 empty empty empty 20 12 0 14 -24198 -66577 +#X restore 484 468 pd gemwin; +#X msg 484 449 create; +#X text 480 428 Create window:; +#X obj 451 194 cnv 15 167 230 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 451 49 gemhead; -#X obj 451 118 pix_film; -#X obj 515 118 t f; -#X obj 464 71 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +#X obj 451 59 gemhead; +#X obj 451 128 pix_film; +#X obj 515 128 t f; +#X obj 464 81 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #N canvas 0 0 450 300 open 0; #X obj 85 49 inlet; @@ -50,36 +51,36 @@ #X connect 3 0 1 0; #X connect 4 0 1 0; #X connect 5 0 4 0; -#X restore 464 90 pd open; -#X text 485 64 open a supported; -#X text 486 75 movie-clip; +#X restore 464 100 pd open; +#X text 485 74 open a supported; +#X text 486 85 movie-clip; #X text 64 385 <none>; #X text 50 12 Synopsis: [pix_record]; #X text 71 31 Class: pix object (output); #X text 29 57 Description: write a sequence of pixes to a movie file ; -#X obj 451 393 pix_record; -#X obj 451 157 pix_draw; -#X obj 451 138 pix_invert; +#X obj 451 403 pix_record; +#X obj 451 167 pix_draw; +#X obj 451 148 pix_invert; #X text 18 104 You can choose the codec you want to use either via a graphical dialog or by directly sending a "codec" with either the name or the enumeration number of the codec. Use "codeclist" to query the available codecs \, their names and their number.; -#X obj 470 333 cnv 15 145 25 empty empty empty 20 12 0 14 -225271 -66577 +#X obj 470 343 cnv 15 145 25 empty empty empty 20 12 0 14 -225271 -66577 0; -#X msg 480 337 bang; -#X msg 552 337 auto \$1; -#X obj 533 338 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X msg 480 347 bang; +#X msg 552 347 auto \$1; +#X obj 533 348 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 470 189 cnv 15 145 65 empty empty empty 20 12 0 14 -225271 -66577 +#X obj 470 199 cnv 15 145 65 empty empty empty 20 12 0 14 -225271 -66577 0; -#X msg 476 214 codeclist; -#X msg 472 193 dialog; -#X obj 472 234 t a; -#X obj 460 261 cnv 15 155 65 empty empty empty 20 12 0 14 -225271 -66577 +#X msg 476 224 codeclist; +#X msg 472 203 dialog; +#X obj 472 244 t a; +#X obj 460 271 cnv 15 155 65 empty empty empty 20 12 0 14 -225271 -66577 0; -#X msg 463 282 file /tmp/mymovie.mov; -#X obj 464 263 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 +#X msg 463 292 file /tmp/mymovie.mov; +#X obj 464 273 bng 15 250 50 0 empty empty empty 0 -6 0 8 -258699 -1 -1; #N canvas 0 0 450 300 savepanel 0; #X obj 114 62 inlet; @@ -92,11 +93,11 @@ the available codecs \, their names and their number.; #X connect 2 1 1 0; #X connect 3 0 4 0; #X connect 4 0 2 0; -#X restore 484 262 pd savepanel; -#X msg 520 305 record \$1; -#X obj 500 307 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X restore 484 272 pd savepanel; +#X msg 520 315 record \$1; +#X obj 500 317 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 463 305 t a; +#X obj 463 315 t a; #X text 14 73 [pix_write] writes a series of pixes into a movie file. You can set the file to write to via the "file" message.; #X text 18 174 When file and codec are specified \, you can open the @@ -108,8 +109,8 @@ on which frames are to be recorded.; #X text 17 269 The recording is finished and the file flushed to disk \, after a "record 0" message is received. You might not be able to access the file for reading before recording has finished.; -#X text 526 140 (do something); -#X text 515 158 (monitoring); +#X text 526 150 (do something); +#X text 515 168 (monitoring); #X text 22 339 NOTE: currently only quicktime MOVies can be recorded. This might change in the future (watch the console!); #X obj 8 414 cnv 15 430 30 empty empty empty 20 12 0 14 -233017 -66577 @@ -142,9 +143,9 @@ properties unknown to the currently selected coded are ignored.; #X text 18 123 Inlet 1: dialog: popup a dialog to select the codec (if available); #X restore 83 420 pd MESSAGES; -#X floatatom 527 395 3 0 0 0 - - -; -#X msg 532 234 codec mjpa; -#X msg 552 215 codec 3; +#X floatatom 527 405 3 0 0 0 - - -; +#X msg 532 244 codec mjpa; +#X msg 552 225 codec 3; #N canvas 129 512 599 344 PROPERTIES 0; #N canvas 607 622 561 319 PropertyLogic 0; #X obj 54 6 inlet; @@ -436,9 +437,9 @@ properties unknown to the currently selected coded are ignored.; #X connect 12 0 11 0; #X connect 13 0 11 0; #X restore 243 420 pd PROPERTIES; -#X obj 553 376 r \$0-ctl; -#X obj 621 251 s \$0-ctl; -#X obj 620 322 s \$0-ctl; +#X obj 553 386 r \$0-ctl; +#X obj 621 261 s \$0-ctl; +#X obj 620 332 s \$0-ctl; #N canvas 6 49 515 369 print 0; #X obj 102 176 inlet; #X obj 102 198 s \$0-nfo; @@ -450,7 +451,8 @@ properties unknown to the currently selected coded are ignored.; out the messages generated from the [pd PROPERTIES] window.; #X connect 0 0 1 0; #X connect 2 0 3 0; -#X restore 553 393 pd print; +#X restore 553 403 pd print; +#X obj 518 8 declare -lib Gem; #X connect 7 0 8 0; #X connect 8 0 7 0; #X connect 11 0 12 0; diff --git a/Gem/pix_rectangle-help.pd b/Gem/pix_rectangle-help.pd index e9c27eb..494127e 100644 --- a/Gem/pix_rectangle-help.pd +++ b/Gem/pix_rectangle-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 413 10; +#N canvas 6 61 624 377 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -73,6 +74,7 @@ the color of the rectangle (default: 1 1 1 1); This means that you have to have an image already loaded to render into. Set the position and size with the two corners of the rectangle. ; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_refraction-help.pd b/Gem/pix_refraction-help.pd index 170a3b3..ca55e15 100644 --- a/Gem/pix_refraction-help.pd +++ b/Gem/pix_refraction-help.pd @@ -1,5 +1,6 @@ -#N canvas 0 0 654 531 10; -#X text 452 8 GEM object; +#N canvas 6 61 625 531 10; +#X declare -lib Gem; +#X text 447 8 GEM object; #X obj 8 335 cnv 15 430 130 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 338 Inlets:; @@ -73,7 +74,7 @@ #X msg 464 155 width \$1; #X msg 544 155 height \$1; #X obj 451 226 pix_refraction; -#X obj 544 176 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 544 176 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 29 56 Description: display a pix through glass bricks; #X text 80 158 range = 0.01 to 16 \, default = 2; @@ -95,6 +96,7 @@ to larger than it's original size (within each cell); #X text 63 421 Inlet 1: refract <float>; #X text 63 392 Inlet 1: height <float>; #X text 49 12 Synopsis: [pix_refraction]; +#X obj 519 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_resize-help.pd b/Gem/pix_resize-help.pd index b3cc375..aea015b 100644 --- a/Gem/pix_resize-help.pd +++ b/Gem/pix_resize-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 651 393 10; +#N canvas 6 61 634 347 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 85 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -71,6 +72,7 @@ any dimensions \, the image will be automatically resized to the next power of 2 (eg. 320x240 will be resized to 512x256). You can change the re-size with the "dimen"-message \; a value of "0" defaults to the next power-of-2 of the original image; +#X obj 519 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_rgb2hsv-help.pd b/Gem/pix_rgb2hsv-help.pd index d401e83..bc829c0 100644 --- a/Gem/pix_rgb2hsv-help.pd +++ b/Gem/pix_rgb2hsv-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 654 413 10; +#N canvas 6 61 633 364 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -74,6 +75,7 @@ green \, blue)-Image into the HSV (hue \, saturation \, value) color-space. #X text 29 162 On the technical (internal) side \, the image still stays RGBA. The Red-channel is filled with Hue-values....; #X obj 451 186 pix_rgb2hsv; +#X obj 521 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_rgba-help.pd b/Gem/pix_rgba-help.pd index c24797b..7cd17a0 100644 --- a/Gem/pix_rgba-help.pd +++ b/Gem/pix_rgba-help.pd @@ -1,4 +1,5 @@ -#N canvas 4 49 654 372 10; +#N canvas 6 61 631 372 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -79,6 +80,7 @@ into RGBA-space. If your image already is in RGBA-space \, this will do nothing.; #X text 19 133 Traditionally \, RGBA is the native colour-space of Gem \, although it is quite CPU-consumptive.; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_roi-help.pd b/Gem/pix_roi-help.pd index 69de47a..1165ca5 100644 --- a/Gem/pix_roi-help.pd +++ b/Gem/pix_roi-help.pd @@ -1,4 +1,5 @@ -#N canvas 477 282 799 436 10; +#N canvas 477 282 648 436 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 326 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -8,10 +9,10 @@ #X text 17 285 Arguments:; #X obj 7 56 cnv 15 430 220 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 459 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X text 453 60 Example:; -#X obj 514 254 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X text 463 60 Example:; +#X obj 524 254 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 1 98 450 300 gemwin 0; #X obj 132 136 gemwin; @@ -31,23 +32,22 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 519 293 pd gemwin; -#X msg 519 274 destroy; -#X obj 450 114 cnv 15 160 100 empty empty empty 20 12 0 14 -24198 -66577 +#X restore 529 293 pd gemwin; +#X msg 529 274 destroy; +#X obj 460 114 cnv 15 170 100 empty empty empty 20 12 0 14 -24198 -66577 0; #X text 71 31 Class: pix object; #X text 53 342 Inlet 1: gemlist; -#X text 463 398 and example/04.pix/27.bitmap_font.pd; #X text 50 12 Synopsis: [pix_roi]; #X text 63 296 <x1> <y1> <x2> <y2>; #X text 53 355 Inlet 1: roi <x1> <y1> <x2> <y2> : set roi; #X text 38 372 Outlets:; #X text 46 385 Outlet 1: gemlist; -#X text 515 253 Create window:; -#X msg 451 86 gem_list; -#X msg 451 238 gemlist; -#X obj 451 186 pix_roi 0.25 0.25 0.75 0.75; -#X msg 466 151 roi 0 0 0.5 0.5; +#X text 525 253 Create window:; +#X msg 461 86 gem_list; +#X msg 461 238 gemlist; +#X obj 461 186 pix_roi 0.25 0.25 0.75 0.75; +#X msg 476 151 roi 0 0 0.5 0.5; #X text 29 56 Description: set the region-of-interest of an image; #X text 22 109 The arguments set the lower left and upper right corners of the roi.Coordinates must be normalized.; @@ -57,8 +57,10 @@ of the current image-data.; doing on the so-specified sub-image.; #X text 22 170 (currently only [pix_set] supports ROI \, more will hopefully follow); +#X obj 528 8 declare -lib Gem; +#X text 442 358 see example/04.pix/27.bitmap_font.pd, f 32; #X connect 9 0 10 0; #X connect 10 0 9 0; -#X connect 21 0 23 0; +#X connect 20 0 22 0; +#X connect 22 0 21 0; #X connect 23 0 22 0; -#X connect 24 0 23 0; diff --git a/Gem/pix_roll-help.pd b/Gem/pix_roll-help.pd index 0e7d6ee..5e9c53b 100644 --- a/Gem/pix_roll-help.pd +++ b/Gem/pix_roll-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 651 393 10; +#N canvas 6 61 651 355 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 125 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -76,6 +77,7 @@ left/right vs. upper/lower edge); #X text 13 116 [pix_roll] gives an effect similar to vertical and horizontal hold on a television. the offset is user defined and can be incremented using a counter object for a looping roll effect.; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_rtx-help.pd b/Gem/pix_rtx-help.pd index 961dee7..eb300e1 100644 --- a/Gem/pix_rtx-help.pd +++ b/Gem/pix_rtx-help.pd @@ -1,4 +1,5 @@ -#N canvas 20 122 683 405 10; +#N canvas 20 122 661 405 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 265 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -80,13 +81,14 @@ have to stay in RAM); #X text 29 68 Description: Relative Time-X transformation; #X msg 551 205 set; #X msg 468 205 mode \$1; -#X obj 468 185 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 468 185 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 87 240 <none>; #X text 23 299 Inlet 1: set : sets the whole internal buffer to the next incoming frame; #X text 23 329 Inlet 1: mode 1|0 : clamp the discontinuity to the edge or not. (default:1); +#X obj 538 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 20 0; diff --git a/Gem/pix_scanline-help.pd b/Gem/pix_scanline-help.pd index f4c1b0a..df617d0 100644 --- a/Gem/pix_scanline-help.pd +++ b/Gem/pix_scanline-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 0 651 393 10; +#N canvas 6 61 628 355 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 125 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -75,6 +76,7 @@ decimator in mode 0 or as an interlacer in mode 1; draw only); #X text 23 278 Inlet 2: int: the number of lines to duplicate or the to skip between drawing; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_set-help.pd b/Gem/pix_set-help.pd index 11cbc66..a58eaeb 100644 --- a/Gem/pix_set-help.pd +++ b/Gem/pix_set-help.pd @@ -1,4 +1,5 @@ -#N canvas 285 331 794 585 10; +#N canvas 285 331 650 585 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 326 cnv 15 430 240 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -9,10 +10,10 @@ #X text 17 285 Arguments:; #X obj 7 56 cnv 15 430 220 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 449 77 cnv 15 170 300 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 453 60 Example:; -#X obj 514 254 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 514 354 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 1 98 450 300 gemwin 0; #X obj 132 136 gemwin; @@ -32,18 +33,18 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 519 293 pd gemwin; -#X msg 519 274 create; -#X text 515 253 Create window:; -#X obj 450 114 cnv 15 160 100 empty empty empty 20 12 0 14 -24198 -66577 +#X restore 519 393 pd gemwin; +#X msg 519 374 create; +#X text 515 353 Create window:; +#X obj 450 114 cnv 15 160 150 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; #X text 71 31 Class: pix object; #X text 46 475 Outlet 1: gemlist; #X text 53 342 Inlet 1: gemlist; #X text 50 12 Synopsis: [pix_set]; -#X obj 451 233 pix_texture; -#X obj 450 255 square; +#X obj 451 323 pix_texture; +#X obj 450 345 square; #X msg 459 160 RGBA; #X msg 458 119 GREY; #X msg 460 140 RGB; @@ -64,19 +65,21 @@ of the image will be set to 0 (black).; #X text 52 436 Inlet 2: list : interleaved image-data (R1 G1 B1 A1 R2 B2...) or (R1 B1 G1 R2 B2...) or (L1 L2 L3...); #X text 29 56 Description: set the pixel-data of an image; -#X text 460 376 see also; -#X obj 530 377 pix_dump; -#X msg 536 233 quality 0; -#X obj 451 186 pix_set 4 4; -#X obj 536 213 loadbang; -#X msg 512 166 1 0.25 0.5 0.75 1 0 0 0 1 1 1 0 1 0 1 0 1 1; +#X text 460 476 see also; +#X obj 530 477 pix_dump; +#X msg 536 323 quality 0; +#X obj 451 236 pix_set 4 4; +#X obj 536 303 loadbang; +#X msg 512 166 1 0.25 0.5 0.75 1 0 0 0 1 1 1 0 1 0 1 0 1 1, f 12; #X text 53 370 Inlet 1: bang send image (to update texture for example) ; #X text 53 385 Inlet 1: fill : set the whole image with value (value could be G \, RGB or RGBA); #X text 53 411 Inlet 1: set : set the size of the image; #X obj 502 142 r pix_set_in; -#N canvas 447 128 725 362 advanced_features 0; +#X text 447 511 and example/04.pix/27.bitmap_font.pd, f 32; +#X obj 518 8 declare -lib Gem; +#N canvas 447 128 725 362 advanced 0; #X msg 26 210 set 16 16; #X msg 57 238 set 4 4; #X msg 24 93 fill \$1 \, bang; @@ -133,8 +136,7 @@ could be G \, RGB or RGBA); #X connect 22 0 10 0; #X connect 23 0 22 0; #X connect 26 0 24 0; -#X restore 503 121 pd advanced_features; -#X text 477 411 and example/04.pix/27.bitmap_font.pd; +#X restore 503 121 pd advanced; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 36 0; diff --git a/Gem/pix_share_read-help.pd b/Gem/pix_share_read-help.pd index 56bb8e0..ca796fe 100644 --- a/Gem/pix_share_read-help.pd +++ b/Gem/pix_share_read-help.pd @@ -1,5 +1,6 @@ -#N canvas 533 119 904 423 10; -#X text 451 8 GEM object; +#N canvas 246 139 904 368 10; +#X declare -lib Gem; +#X text 701 8 GEM object; #X obj 8 270 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 271 Inlets:; @@ -33,9 +34,9 @@ #X connect 6 0 0 0; #X connect 7 0 0 0; #X restore 489 243 pd gemwin; -#X msg 489 224 destroy; +#X msg 489 224 create; #X text 485 203 Create window:; -#X obj 450 84 cnv 15 230 60 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 450 84 cnv 15 400 60 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 64 gemhead; #X text 71 31 Class: pix object; @@ -57,23 +58,24 @@ to the same ID).; #X text 29 56 Description: read pixels from a shared memory region ; #X text 50 12 Synopsis: [pix_share_read]; -#X text 446 333 Run the [pix_share_write] help-patch; -#X text 446 347 in a different Pd instance on your; -#X text 447 361 machine to see the effect.; +#X text 446 313 Run the [pix_share_write] help-patch; +#X text 446 327 in a different Pd instance on your; +#X text 447 341 machine to see the effect.; #X obj 519 285 pix_share_write 322 1 1 1; #X text 117 299 set <ID> <width> <height> <colorspace>; #X msg 510 94 set 323 256 256 RGBA; -#X obj 634 182 sel 0; -#X msg 634 204 shmem segment successfully created; -#X msg 670 182 can't create shmem segment error \$1; -#X obj 634 158 route error; -#X obj 634 226 print pix_share_read; +#X obj 624 182 sel 0; +#X msg 624 204 shmem segment successfully created; +#X msg 660 182 can't create shmem segment error \$1; +#X obj 624 158 route error; +#X obj 624 226 print pix_share_read; #X text 56 321 Outlet 1: gemlist; #X text 56 334 Outlet 2: error number \, 0=no error; #X obj 451 119 pix_share_read; -#X text 543 118 arguments are optional; -#X msg 666 93 set memory_name 256 256 RGBA; -#X text 669 74 also work with symbol :; +#X text 543 121 arguments are optional; +#X msg 666 103 set memory_name 256 256 RGBA; +#X text 669 86 also work with symbol :; +#X obj 778 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 39 0; diff --git a/Gem/pix_share_write-help.pd b/Gem/pix_share_write-help.pd index b2c950d..5dee99d 100644 --- a/Gem/pix_share_write-help.pd +++ b/Gem/pix_share_write-help.pd @@ -1,5 +1,6 @@ #N canvas 547 473 901 407 10; -#X text 451 8 GEM object; +#X declare -lib Gem; +#X text 701 8 GEM object; #X obj 8 270 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 271 Inlets:; @@ -35,7 +36,7 @@ #X restore 489 243 pd gemwin; #X msg 489 224 destroy; #X text 485 203 Create window:; -#X obj 450 140 cnv 15 230 60 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 450 140 cnv 15 370 60 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; #X text 71 31 Class: pix object; @@ -92,6 +93,7 @@ the same memory (they probably need to run on the same computer); #X text 548 175 arguments are optional; #X msg 626 148 set memory_name 256 256 RGBA; #X text 643 128 also work with symbol :; +#X obj 778 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_sig2pix~-help.pd b/Gem/pix_sig2pix~-help.pd index 8c7e0b4..2c8ad2d 100644 --- a/Gem/pix_sig2pix~-help.pd +++ b/Gem/pix_sig2pix~-help.pd @@ -1,4 +1,5 @@ -#N canvas 230 0 683 500 10; +#N canvas 230 61 629 500 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 351 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -81,6 +82,7 @@ The default image-size is calculated from the blocksize (eg: 64samples or the [dimen( message. If your imagesize is bigger than the blocksize \, the rest will be undefined.; #X text 11 291 Signal values must be between 0 & 1; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 41 0; diff --git a/Gem/pix_snap-help.pd b/Gem/pix_snap-help.pd index 680b579..b0f3691 100644 --- a/Gem/pix_snap-help.pd +++ b/Gem/pix_snap-help.pd @@ -1,5 +1,6 @@ -#N canvas 17 223 935 395 10; -#X text 452 8 GEM object; +#N canvas 17 223 835 395 10; +#X declare -lib Gem; +#X text 522 8 GEM object; #X obj 8 216 cnv 15 430 160 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 218 Inlets:; @@ -96,6 +97,7 @@ is captured from the current frame buffer.; #X msg 518 227 0; #X obj 451 256 pix_snap 0 0 500 500; #X msg 570 209 100 100; +#X obj 598 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 19 0 33 0; diff --git a/Gem/pix_snap2tex-help.pd b/Gem/pix_snap2tex-help.pd index 9475637..d9d2905 100644 --- a/Gem/pix_snap2tex-help.pd +++ b/Gem/pix_snap2tex-help.pd @@ -1,5 +1,6 @@ -#N canvas 16 226 935 395 10; -#X text 452 8 GEM object; +#N canvas 16 226 710 395 10; +#X declare -lib Gem; +#X text 518 8 GEM object; #X obj 8 216 cnv 15 430 160 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 218 Inlets:; @@ -42,9 +43,9 @@ #X text 33 232 Inlet 1: gemlist; #X obj 451 315 square 3; #X obj 451 256 pix_snap2tex; -#X obj 574 133 sphere; +#X obj 568 133 sphere; #X obj 451 74 gemhead 50; -#X obj 574 75 gemhead 49; +#X obj 568 75 gemhead 49; #X obj 571 256 tgl 15 1 empty empty texture_on/off 20 7 0 8 -262144 -1 -1 1 1; #X obj 482 217 spigot; @@ -72,11 +73,11 @@ window-size); #X text 63 186 list: [offsetX offsetY [dimX dimY]]; #X floatatom 527 75 5 0 0 0 - - -; #X obj 451 114 rotate 0 1 0 0; -#X obj 574 113 translate -1 0 1 0; +#X obj 568 113 translate -1 0 1 0; #X obj 451 94 translate 1 0 1 0; #X obj 451 197 t a b; #X obj 451 281 color 0.7 0.7 0.7; -#X obj 574 94 rotate 0 1 1 1; +#X obj 568 94 rotate 0 1 1 1; #N canvas 0 0 297 145 count 0; #X obj 116 39 t b; #X obj 116 60 i; @@ -90,13 +91,14 @@ window-size); #X connect 2 0 3 0; #X connect 3 0 1 1; #X connect 4 0 0 0; -#X restore 650 74 pd count; +#X restore 644 74 pd count; #X text 624 233 dimension; #X text 598 211 offset; #X text 506 171 drawn but before the square; #X obj 474 164 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X text 504 158 SNAP! after the sphere is; +#X obj 588 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 18 0 43 0; diff --git a/Gem/pix_subtract-help.pd b/Gem/pix_subtract-help.pd index a423a23..7d6ef45 100644 --- a/Gem/pix_subtract-help.pd +++ b/Gem/pix_subtract-help.pd @@ -1,4 +1,5 @@ #N canvas 103 127 664 397 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -35,10 +36,10 @@ #X restore 519 329 pd gemwin; #X msg 519 310 create; #X text 515 289 Create window:; -#X obj 451 168 cnv 15 160 80 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 451 173 cnv 15 160 80 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 451 119 gemhead; -#X obj 502 102 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 451 126 gemhead; +#X obj 496 109 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; @@ -52,14 +53,14 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 451 138 pd image; -#X obj 451 263 pix_texture; +#X restore 451 145 pd image; +#X obj 451 268 pix_texture; #X text 63 196 <none>; #X text 47 318 Outlet 1: gemlist; #X text 53 262 Inlet 1: gemlist; -#X obj 451 285 square 3; +#X obj 451 290 square 3; #X text 503 88 (JPEG \, TIFF \, ..); -#X obj 541 122 gemhead; +#X obj 541 129 gemhead; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; #X obj 77 344 outlet; @@ -72,14 +73,14 @@ #X connect 3 0 5 0; #X connect 4 0 3 0; #X connect 5 0 1 0; -#X restore 541 141 pd image; -#X obj 592 103 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X restore 541 148 pd image; +#X obj 586 110 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #X text 53 291 Inlet 2: gemlist; #X text 449 77 open two different images; #X text 71 31 Class: pix mix object; #X text 32 152 The 2 images have to be of the same size.; -#X obj 451 198 pix_subtract; +#X obj 451 203 pix_subtract; #X text 50 12 Synopsis: [pix_subtract]; #X text 29 67 Description: subtract 2 images; #X text 19 89 [pix_subtract] simply subtracts two pixes from each other. @@ -88,6 +89,7 @@ It clamps the resultant image so that no pixel values go below zero #X text 39 366 see also:; #X obj 101 368 pix_diff; #X obj 164 368 pix_compare; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/pix_tIIR-help.pd b/Gem/pix_tIIR-help.pd index e2f40f4..c8a6c75 100644 --- a/Gem/pix_tIIR-help.pd +++ b/Gem/pix_tIIR-help.pd @@ -1,4 +1,5 @@ -#N canvas 118 22 683 405 10; +#N canvas 118 61 683 405 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 9 265 cnv 15 430 135 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -9,7 +10,7 @@ #X text 18 226 Arguments:; #X obj 8 56 cnv 15 430 165 empty empty empty 20 12 0 14 -233017 -66577 0; -#X obj 449 77 cnv 15 200 280 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 449 77 cnv 15 210 280 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 453 60 Example:; #X obj 514 290 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 @@ -112,7 +113,7 @@ #X connect 14 0 3 0; #X connect 15 0 4 0; #X restore 610 201 pd init; -#X obj 610 184 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 +#X obj 610 184 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 477 182 set; #X text 24 294 Inlet 1: message: set: overwrites the filter-buffers @@ -132,6 +133,7 @@ a time n as follows; feedforward-section \, the length of each can be specified as arguments. The objects will have an inlet for each feedback-coefficient and an inlet for each feedforward-coefficient.; +#X obj 548 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 20 0; diff --git a/Gem/pix_takealpha-help.pd b/Gem/pix_takealpha-help.pd index 81808d3..2a5aa3c 100644 --- a/Gem/pix_takealpha-help.pd +++ b/Gem/pix_takealpha-help.pd @@ -1,4 +1,5 @@ -#N canvas 0 273 640 398 10; +#N canvas 6 273 640 398 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -37,8 +38,8 @@ #X text 515 278 Create window:; #X obj 451 187 cnv 15 160 40 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 451 108 gemhead; -#X obj 502 91 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X obj 451 118 gemhead; +#X obj 496 101 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; @@ -52,14 +53,14 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 451 127 pd image; +#X restore 451 137 pd image; #X obj 451 252 pix_texture; #X text 63 196 <none>; #X text 38 303 Outlet 1: gemlist; #X text 44 247 Inlet 1: gemlist; #X obj 451 274 square 3; #X text 503 77 (JPEG \, TIFF \, ..); -#X obj 519 111 gemhead; +#X obj 519 121 gemhead; #N canvas 0 22 587 366 image 0; #X obj 77 48 inlet; #X obj 77 344 outlet; @@ -72,15 +73,15 @@ #X connect 3 0 5 0; #X connect 4 0 2 0; #X connect 5 0 4 0; -#X restore 519 130 pd image; -#X obj 570 92 bng 15 250 50 0 empty empty pix_load 20 8 0 8 -262144 +#X restore 519 140 pd image; +#X obj 564 102 bng 15 250 50 0 empty empty pix_load -45 8 0 8 -262144 -1 -1; #X text 44 276 Inlet 2: gemlist; #X text 449 66 open two different images; #X text 71 31 Class: pix mix object; #X text 29 158 The 2 images have to be of the same size.; #X obj 451 197 pix_takealpha; -#X obj 519 158 pix_coloralpha; +#X obj 519 161 pix_coloralpha; #X obj 451 232 alpha; #X text 29 67 Description: transfer the alpha-channel; #X text 29 84 [pix_takealpha] takes the alpha-channel of the 2nd image @@ -91,6 +92,7 @@ value is taken instead of the Alpha-value.; #X text 50 12 Synopsis: [pix_takealpha]; #X text 31 356 see also:; #X obj 96 358 pix_mask; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/pix_texture-help.pd b/Gem/pix_texture-help.pd index 89f466b..14e945c 100644 --- a/Gem/pix_texture-help.pd +++ b/Gem/pix_texture-help.pd @@ -1,4 +1,5 @@ -#N canvas 43 51 647 715 10; +#N canvas 43 61 647 715 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 392 cnv 15 430 360 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -85,15 +86,15 @@ computationally expensive). However \, on many machines (especially SGIs) \, there is no speed difference.; #X text 14 233 [pix_texture] is able to texture images of ANY size (even non-power of 2); -#X obj 542 472 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 532 472 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X msg 542 491 rectangle \$1; +#X msg 532 491 rectangle \$1; #X obj 469 497 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; -#X obj 542 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +#X obj 532 432 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X msg 469 516 client_storage \$1; -#X msg 542 451 repeat \$1; +#X msg 532 451 repeat \$1; #X text 29 453 Inlet 1: repeat 0|1 : CLAMP_TO_EDGE or REPEAT(default) ; #X text 28 470 Inlet 1: rectangle 0|1 : use rectangle-texturing if @@ -144,6 +145,7 @@ color.; #X msg 537 351 pbo \$1; #X text 28 626 Inlet 1: message: yuv : use native YUV-mode if available (default:1), f 69; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_threshold-help.pd b/Gem/pix_threshold-help.pd index 64354e6..92b4a8e 100644 --- a/Gem/pix_threshold-help.pd +++ b/Gem/pix_threshold-help.pd @@ -1,4 +1,5 @@ -#N canvas 550 226 695 421 10; +#N canvas 550 226 628 363 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 225 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -12,7 +13,7 @@ #X obj 449 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 453 60 Example:; -#X obj 465 345 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 515 295 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; @@ -32,9 +33,9 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 470 384 pd gemwin; -#X msg 470 365 create; -#X text 466 344 Create window:; +#X restore 520 334 pd gemwin; +#X msg 520 315 create; +#X text 516 294 Create window:; #X obj 450 158 cnv 15 160 120 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 451 84 gemhead; @@ -71,6 +72,7 @@ above the value is passed. Any pixel below the value is zeroed out. #X text 63 280 Inlet 3: <list>: threshold (RGB) or (RGBA); #X obj 451 283 pix_draw; #X msg 496 205 0.6 0.1 0.8; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_threshold_bernsen-help.pd b/Gem/pix_threshold_bernsen-help.pd index cc70791..14bd23b 100644 --- a/Gem/pix_threshold_bernsen-help.pd +++ b/Gem/pix_threshold_bernsen-help.pd @@ -1,4 +1,5 @@ -#N canvas 30 21 695 351 10; +#N canvas 30 61 629 346 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 234 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -79,6 +80,7 @@ than the threshold \, this pixel is set to 1 else to 0; #X text 63 196 <w> <h>: number of tiles in x- & y-direction; #X text 123 211 default: 16 16; #X text 482 169 tiles; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_video-help.pd b/Gem/pix_video-help.pd index f03967b..e21d291 100644 --- a/Gem/pix_video-help.pd +++ b/Gem/pix_video-help.pd @@ -1,11 +1,12 @@ #N canvas 235 64 871 639 10; -#X text 451 6 GEM object; +#X declare -lib Gem; +#X text 671 9 GEM object; #X obj 8 46 cnv 15 540 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 559 47 cnv 15 280 500 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 71 21 Class: pix object (pix source); -#X text 453 27 Example:; +#X text 561 33 Example:; #X text 50 2 Synopsis: [pix_video]; #X text 29 47 Description: open a camera and get input; #X obj 9 182 cnv 15 540 365 empty empty empty 20 12 0 14 -233017 -66577 @@ -60,7 +61,7 @@ for the image (does not work on all capture devices); #X text 13 66 [pix_video] opens a wide array of cameras \, USB to FireWire to capture cards \, as long as the camera is supported by your operating system.; -#X obj 567 53 gemhead; +#X obj 567 58 gemhead; #X msg 596 124 dimen 64 64; #X msg 586 99 dimen 256 128; #X msg 635 261 enumerate; @@ -567,6 +568,7 @@ about a specific driver:; #X connect 15 0 4 0; #X coords 0 -1 1 1 170 40 1 100 100; #X restore 156 103 pd backend specific information; +#X obj 738 8 declare -lib Gem; #X connect 17 0 18 0; #X connect 18 0 17 0; #X connect 22 0 21 0; diff --git a/Gem/pix_videoDS-help.pd b/Gem/pix_videoDS-help.pd index 7f536c3..2975f15 100644 --- a/Gem/pix_videoDS-help.pd +++ b/Gem/pix_videoDS-help.pd @@ -1,64 +1,64 @@ -#N canvas 306 199 651 488 10;
-#X obj 14 204 gemhead;
-#X msg 221 66 open 0;
-#X msg 221 41 enumerate;
-#X msg 221 92 close;
-#X obj 14 401 pix_texture;
-#X obj 14 431 rectangle 4 3;
-#X obj 220 18 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
-;
-#X msg 224 158 dialog format;
-#X msg 224 182 dialog crossbar;
-#X msg 224 205 dialog source;
-#X msg 224 228 dialog display;
-#X msg 224 265 dv res full;
-#X msg 224 288 dv res half;
-#X msg 225 311 dv res quarter;
-#X msg 224 335 dv res dc;
-#X text 309 13 enable/disable;
-#X text 308 40 list available devices;
-#X text 310 67 open device N;
-#X text 311 96 close the device;
-#X text 354 158 display format dialog;
-#X text 356 133 display all configuration dialogs;
-#X text 354 182 display crossbar dialog;
-#X text 355 208 display source dialog;
-#X text 355 231 display display dialog;
-#X text 356 267 (DV only) set decode res to full;
-#X text 356 288 (DV only) set decode res to half;
-#X text 356 310 (DV only) set decode res to quarter;
-#X text 355 335 (DV only) set decode res to dc;
-#X text 12 -13 pix_videoDS;
-#X text 127 -13 Live video capture using DirectShow (Windows only)
-;
-#X msg 224 132 dialog;
-#X obj 21 116 gemwin;
-#X msg 21 35 create;
-#X obj 123 66 tgl 30 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1
-;
-#X msg 37 68 destroy;
-#X msg 225 393 colorspace \$1;
-#X symbolatom 225 373 6 0 0 0 - - -;
-#X text 283 372 RGBA|YUV|Grey;
-#X obj 14 371 pix_video;
-#X connect 0 0 38 0;
-#X connect 1 0 38 0;
-#X connect 2 0 38 0;
-#X connect 3 0 38 0;
-#X connect 4 0 5 0;
-#X connect 6 0 38 0;
-#X connect 7 0 38 0;
-#X connect 8 0 38 0;
-#X connect 9 0 38 0;
-#X connect 10 0 38 0;
-#X connect 11 0 38 0;
-#X connect 12 0 38 0;
-#X connect 13 0 38 0;
-#X connect 14 0 38 0;
-#X connect 30 0 38 0;
-#X connect 32 0 31 0;
-#X connect 33 0 31 0;
-#X connect 34 0 31 0;
-#X connect 35 0 38 0;
-#X connect 36 0 35 0;
-#X connect 38 0 4 0;
+#N canvas 306 199 651 488 10; +#X obj 14 204 gemhead; +#X msg 221 66 open 0; +#X msg 221 41 enumerate; +#X msg 221 92 close; +#X obj 14 401 pix_texture; +#X obj 14 431 rectangle 4 3; +#X obj 220 18 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X msg 224 158 dialog format; +#X msg 224 182 dialog crossbar; +#X msg 224 205 dialog source; +#X msg 224 228 dialog display; +#X msg 224 265 dv res full; +#X msg 224 288 dv res half; +#X msg 225 311 dv res quarter; +#X msg 224 335 dv res dc; +#X text 309 13 enable/disable; +#X text 308 40 list available devices; +#X text 310 67 open device N; +#X text 311 96 close the device; +#X text 354 158 display format dialog; +#X text 356 133 display all configuration dialogs; +#X text 354 182 display crossbar dialog; +#X text 355 208 display source dialog; +#X text 355 231 display display dialog; +#X text 356 267 (DV only) set decode res to full; +#X text 356 288 (DV only) set decode res to half; +#X text 356 310 (DV only) set decode res to quarter; +#X text 355 335 (DV only) set decode res to dc; +#X text 12 -13 pix_videoDS; +#X text 127 -13 Live video capture using DirectShow (Windows only) +; +#X msg 224 132 dialog; +#X obj 21 116 gemwin; +#X msg 21 35 create; +#X obj 123 66 tgl 30 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1 +; +#X msg 37 68 destroy; +#X msg 225 393 colorspace \$1; +#X symbolatom 225 373 6 0 0 0 - - -; +#X text 283 372 RGBA|YUV|Grey; +#X obj 14 371 pix_video; +#X connect 0 0 38 0; +#X connect 1 0 38 0; +#X connect 2 0 38 0; +#X connect 3 0 38 0; +#X connect 4 0 5 0; +#X connect 6 0 38 0; +#X connect 7 0 38 0; +#X connect 8 0 38 0; +#X connect 9 0 38 0; +#X connect 10 0 38 0; +#X connect 11 0 38 0; +#X connect 12 0 38 0; +#X connect 13 0 38 0; +#X connect 14 0 38 0; +#X connect 30 0 38 0; +#X connect 32 0 31 0; +#X connect 33 0 31 0; +#X connect 34 0 31 0; +#X connect 35 0 38 0; +#X connect 36 0 35 0; +#X connect 38 0 4 0; diff --git a/Gem/pix_write-help.pd b/Gem/pix_write-help.pd index 5fb3ded..aab9971 100644 --- a/Gem/pix_write-help.pd +++ b/Gem/pix_write-help.pd @@ -1,4 +1,5 @@ -#N canvas 536 123 795 620 10; +#N canvas 536 123 739 620 10; +#X declare -lib Gem; #X obj 17 419 cnv 15 430 190 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 28 422 Inlets:; @@ -16,7 +17,7 @@ write it to a file; 0 0); #X text 52 548 Inlet 3: list: dimenX dimenY (in pixels \; default: window-size); -#X text 466 15 GEM object; +#X text 536 6 GEM object; #X obj 459 77 cnv 15 250 370 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 463 60 Example:; @@ -51,12 +52,12 @@ window-size); #X msg 584 265 100 100; #X obj 461 84 gemhead 51; #X msg 470 116 file pix_test 99; -#X text 600 138 type : jpg; -#X text 600 127 name : pix_testXXXXX.jpg; -#X text 600 151 quality : 99; -#X text 600 115 set pix_write to:; -#X msg 490 221 auto \$1; -#X obj 490 202 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +#X text 580 138 type : jpg; +#X text 580 127 name : pix_testXXXXX.jpg; +#X text 580 151 quality : 99; +#X text 580 115 set pix_write to:; +#X msg 490 215 auto \$1; +#X obj 490 196 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 491 245 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; @@ -81,7 +82,7 @@ the file will be something like: "<basefilename><current#>.<ext>" (like TIFF-writing can be slow due to the large file size of uncompressed images! JPEG might be faster (but quality will be lower due to compression) ; -#X text 543 221 activate/deactivate auto snapshot; +#X text 543 209 activate/deactivate auto snapshot, f 24; #X text 52 473 Inlet 1: file <quality> : set type/quality (quality=0:TIFF \, quality>0:JPG); #X text 52 498 Inlet 1: file <basefilename> <quality> : set basefilename @@ -97,7 +98,8 @@ the current frame buffer. When grabbing \, be sure that something is in the rendering-buffer \, else you will get a black texture. color_mode let you grab 1 (only red channel) \, 3 (RGB) or 4 (RGBA) byte per pixel. RGBA mode is useful with framebuffer.; -#X msg 480 182 color_format 4; +#X msg 480 162 color_format 4; +#X obj 608 8 declare -lib Gem; #X connect 15 0 16 0; #X connect 16 0 15 0; #X connect 19 0 48 2; diff --git a/Gem/pix_writer-help.pd b/Gem/pix_writer-help.pd index 5ff0ebe..43515b2 100644 --- a/Gem/pix_writer-help.pd +++ b/Gem/pix_writer-help.pd @@ -1,4 +1,5 @@ -#N canvas 200 49 843 513 10; +#N canvas 200 61 755 513 10; +#X declare -lib Gem; #X obj 17 340 cnv 15 430 150 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 28 342 Inlets:; @@ -14,8 +15,8 @@ type = TIFF; #X text 52 418 Inlet 1: file <basefilename> <type> : set basefilename and type; -#X text 466 15 GEM object; -#X obj 459 77 cnv 15 250 300 empty empty empty 20 12 0 14 -228992 -66577 +#X text 536 17 GEM object; +#X obj 459 77 cnv 15 280 300 empty empty empty 20 12 0 14 -228992 -66577 0; #X text 463 60 Example:; #X obj 604 313 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 @@ -41,20 +42,20 @@ and type; #X restore 609 352 pd gemwin; #X msg 609 333 create; #X text 605 312 Create window:; -#X obj 460 132 cnv 15 240 170 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 460 132 cnv 15 270 170 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 461 84 gemhead 51; -#X msg 539 139 file pix_test 99; -#X text 652 161 type : jpg; -#X text 652 150 name : pix_testXXXXX.jpg; -#X text 652 174 quality : 99; -#X text 652 138 set pix_write to:; -#X msg 540 191 auto \$1; -#X obj 540 172 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +#X msg 469 139 file pix_test 99; +#X text 582 161 type : jpg; +#X text 582 150 name : pix_testXXXXX.jpg; +#X text 582 174 quality : 99; +#X text 582 138 set pix_write to:; +#X msg 470 191 auto \$1; +#X obj 470 172 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; -#X obj 541 215 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 +#X obj 471 215 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 -1; -#X text 560 214 WRITE! one file; +#X text 490 214 WRITE! one file; #X text 52 393 Inlet 1: file <type> : set type (type=0 : TIFF \, type>0 : JPG \, type = quality); #X obj 466 450 pix_snap; @@ -76,13 +77,14 @@ the file will be something like: "<basefilename><current#>.<ext>" (like #X text 26 99 When banged [pix_writer] save current pix to a file. ; #X text 60 22 Synopsis: [pix_writer]; -#X text 541 263 osx format; -#X msg 540 245 file /Users/username/pix_test 99; +#X msg 500 245 file /Users/username/pix_test 99; #X text 26 239 Supported file-types are TIFF (quality=0) and JPEG (quality>0). TIFF-writing can be slow due to the large file size of uncompressed images! JPEG might be faster (but quality will be lower due to compression) ; -#X text 593 190 activate/deactivate auto snapshot; +#X text 523 190 activate/deactivate auto snapshot; +#X obj 608 18 declare -lib Gem; +#X text 571 263 OSX format; #X connect 14 0 15 0; #X connect 15 0 14 0; #X connect 18 0 38 0; @@ -91,4 +93,4 @@ images! JPEG might be faster (but quality will be lower due to compression) #X connect 25 0 24 0; #X connect 26 0 35 0; #X connect 38 0 35 0; -#X connect 42 0 35 0; +#X connect 41 0 35 0; diff --git a/Gem/pix_yuv-help.pd b/Gem/pix_yuv-help.pd index 8111f64..7789b8d 100644 --- a/Gem/pix_yuv-help.pd +++ b/Gem/pix_yuv-help.pd @@ -1,5 +1,6 @@ -#N canvas 0 0 654 372 10; -#X text 452 8 GEM object; +#N canvas 6 61 635 372 10; +#X declare -lib Gem; +#X text 442 8 GEM object; #X obj 8 245 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 248 Inlets:; @@ -78,6 +79,7 @@ images of any format into YUV-space. If your image already is in YUV-space ; #X obj 451 233 pix_texture; #X obj 451 256 square; +#X obj 514 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 17 0; diff --git a/Gem/pix_zoom-help.pd b/Gem/pix_zoom-help.pd index 67fbb26..03c7542 100644 --- a/Gem/pix_zoom-help.pd +++ b/Gem/pix_zoom-help.pd @@ -1,4 +1,5 @@ -#N canvas 3 45 450 300 10; +#N canvas 6 61 450 300 10; +#X declare -lib Gem; #X msg 164 99 gemList; #X msg 164 212 gemList; #X text 169 16 part of GEM; @@ -8,6 +9,7 @@ #X text 151 73 zoom the pixels; #X text 56 239 pix_zoom uses glPixelZoom to magnify/minify the pixels. It is experimental.; +#X obj 328 8 declare -lib Gem; #X connect 0 0 3 0; #X connect 3 0 1 0; #X connect 4 0 3 1; diff --git a/Gem/polygon-help.pd b/Gem/polygon-help.pd index 13b947b..4dcf2b4 100644 --- a/Gem/polygon-help.pd +++ b/Gem/polygon-help.pd @@ -1,4 +1,5 @@ -#N canvas 27 382 762 461 10; +#N canvas 27 382 680 461 10; +#X declare -lib Gem; #X text 475 39 Example:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -8,7 +9,7 @@ #X obj 8 176 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 175 Arguments:; -#X text 452 8 GEM object; +#X text 492 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 358 Outlets:; #X text 21 371 Outlet 1: gemlist; @@ -75,6 +76,7 @@ is unlimited.; #X obj 537 299 polygon 5; #X msg 603 246 width \$1; #X floatatom 619 226 5 0 10 0 - - -; +#X obj 568 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 44 0; diff --git a/Gem/polygon_smooth-help.pd b/Gem/polygon_smooth-help.pd index c72aa86..896fbb8 100644 --- a/Gem/polygon_smooth-help.pd +++ b/Gem/polygon_smooth-help.pd @@ -1,4 +1,5 @@ #N canvas 288 248 639 408 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -60,6 +61,7 @@ don't have hw-acceleration.; #X obj 224 362 gemwin; #X obj 451 111 alpha 1; #X obj 451 240 circle 1 30; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 31 0; diff --git a/Gem/pqtorusknots-help.pd b/Gem/pqtorusknots-help.pd index b484a3c..dbe44f5 100644 --- a/Gem/pqtorusknots-help.pd +++ b/Gem/pqtorusknots-help.pd @@ -1,4 +1,5 @@ -#N canvas 100 39 710 412 10; +#N canvas 100 61 710 412 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 469 47 cnv 15 235 290 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -34,7 +35,7 @@ #X obj 8 176 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 175 Arguments:; -#X text 452 8 GEM object; +#X text 521 8 GEM object; #X text 29 229 Inlet 1: gemlist; #X text 11 356 Outlets:; #X text 23 369 Outlet 1: gemlist; @@ -74,6 +75,7 @@ at the current position with current color.; #X text 29 317 Inlet 1: message: pq <xWinding> <yWinding>; #X text 29 332 Inlet 1: message: ivScale <uScale> <vScale>: for texturing ; +#X obj 588 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 17 0 38 0; diff --git a/Gem/primTri-help.pd b/Gem/primTri-help.pd index cc75543..d237c87 100644 --- a/Gem/primTri-help.pd +++ b/Gem/primTri-help.pd @@ -1,8 +1,9 @@ -#N canvas 130 41 696 468 10; +#N canvas 130 61 696 468 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 479 107 cnv 15 200 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 494 284 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 494 294 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; @@ -22,9 +23,9 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 499 323 pd gemwin; -#X msg 499 304 create; -#X text 495 283 Create window:; +#X restore 499 333 pd gemwin; +#X msg 499 314 create; +#X text 495 293 Create window:; #X obj 7 65 cnv 15 450 80 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 196 cnv 15 450 220 empty empty empty 20 12 0 14 -233017 -66577 @@ -34,7 +35,7 @@ 0; #X text 17 155 Arguments:; #X text 27 227 Inlet 1: message: draw [line|fill|point]; -#X text 452 8 GEM object; +#X text 512 8 GEM object; #X text 27 213 Inlet 1: gemlist; #X text 9 380 Outlets:; #X text 21 393 Outlet 1: gemlist; @@ -78,6 +79,7 @@ of 2nd corner); #X text 27 352 Inlet 7: list: 3(RGB) or 4(RGBA) float values (color of 3rd corner); #X obj 543 259 primTri; +#X obj 578 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 19 0 45 0; diff --git a/Gem/rectangle-help.pd b/Gem/rectangle-help.pd index 94a8aa8..957b3a3 100644 --- a/Gem/rectangle-help.pd +++ b/Gem/rectangle-help.pd @@ -1,8 +1,9 @@ #N canvas 35 433 710 345 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 499 67 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 584 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 564 244 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; @@ -22,9 +23,9 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 589 263 pd gemwin; -#X msg 589 244 create; -#X text 585 223 Create window:; +#X restore 569 283 pd gemwin; +#X msg 569 264 create; +#X text 565 243 Create window:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 216 cnv 15 450 110 empty empty empty 20 12 0 14 -233017 -66577 @@ -34,23 +35,23 @@ 0; #X text 17 175 Arguments:; #X text 27 247 Inlet 1: message: draw [line|fill|point]; -#X text 452 8 GEM object; +#X text 522 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 290 Outlets:; #X text 21 303 Outlet 1: gemlist; -#X text 525 29 Example:; -#X obj 522 78 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 +#X text 505 49 Example:; +#X obj 502 98 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 0; -#X msg 525 85 draw line; -#X msg 525 106 draw fill; -#X msg 525 128 draw point; -#X obj 568 54 gemhead; -#X floatatom 611 98 5 0 0 2 width - -; -#X floatatom 629 129 5 0 0 2 height - -; +#X msg 505 105 draw line; +#X msg 505 126 draw fill; +#X msg 505 148 draw point; +#X obj 548 74 gemhead; +#X floatatom 591 118 5 0 0 2 width - -; +#X floatatom 609 149 5 0 0 2 height - -; #X text 63 186 width & height of the rectangle; #X text 33 14 Synopsis: [rectangle]; #X text 7 69 Description: Renders a rectangle; -#X obj 568 159 rectangle 3 1; +#X obj 548 179 rectangle 3 1; #X text 27 261 Inlet 2: float: width (default to 1); #X text 27 274 Inlet 3: float: height (default to 1); #X text 16 86 The [rectangle] object renders a rectangle at the current @@ -60,6 +61,7 @@ can be set by the arguments and changed via the second and third inlet. #X text 19 133 note for the nitpickers: the rectangle will span from (-width|-height) to (+width|+height) so the actual size is really double the specified size.; +#X obj 588 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 27 0; diff --git a/Gem/render_trigger-help.pd b/Gem/render_trigger-help.pd index 5713a27..f9c6586 100644 --- a/Gem/render_trigger-help.pd +++ b/Gem/render_trigger-help.pd @@ -1,10 +1,11 @@ -#N canvas 450 81 710 345 10; -#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#N canvas 450 81 684 364 10; +#X declare -lib Gem; +#X obj 499 97 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 529 233 cnv 15 140 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 509 283 cnv 15 140 60 empty empty empty 20 12 0 14 -195568 -66577 0; -#X msg 544 253 create; -#X text 540 232 Create window:; +#X msg 524 303 create; +#X text 520 282 Create window:; #X obj 7 65 cnv 15 450 140 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 256 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 @@ -13,18 +14,18 @@ #X obj 8 216 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 215 Arguments:; -#X text 452 8 GEM object; +#X text 482 8 GEM object; #X text 27 273 Inlet 1: gemlist; #X text 9 290 Outlets:; #X text 21 303 Outlet 1: gemlist; -#X text 525 29 Example:; +#X text 505 79 Example:; #X text 33 14 Synopsis: [render_trigger]; -#X obj 522 78 cnv 15 160 120 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 502 128 cnv 15 160 120 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 530 52 gemhead; -#X obj 530 87 render_trigger; -#X obj 530 133 t b a b; -#X obj 552 208 square; +#X obj 510 102 gemhead; +#X obj 510 137 render_trigger; +#X obj 510 183 t b a b; +#X obj 532 258 square; #X text 54 30 Class: control object; #X text 7 69 Description: triggers on rendering; #X text 29 85 render_trigger allows you to know when the actual rendering @@ -37,13 +38,13 @@ sends out a bang after all of the actions have occurred.; #X text 21 330 Outlet 2: bang : post-render; #X text 9 172 !THIS IS OBOLETE AS YOU CAN NOW USE THE [trigger] OBJECT FOR THE SAME PURPOSE!; -#X obj 622 108 bng 15 250 50 0 empty empty post 20 8 0 8 -262144 -1 +#X obj 602 158 bng 15 250 50 0 empty empty post 20 8 0 8 -262144 -1 -1; -#X obj 576 108 bng 15 250 50 0 empty empty pre 20 8 0 8 -262144 -1 +#X obj 556 158 bng 15 250 50 0 empty empty pre 20 8 0 8 -262144 -1 -1; -#X obj 530 177 bng 15 250 50 0 empty empty post 20 8 0 8 -262144 -1 +#X obj 510 227 bng 15 250 50 0 empty empty post 20 8 0 8 -262144 -1 -1; -#X obj 574 158 bng 15 250 50 0 empty empty pre 20 8 0 8 -262144 -1 +#X obj 554 208 bng 15 250 50 0 empty empty pre 20 8 0 8 -262144 -1 -1; #N canvas 0 0 450 300 gemwin 0; #X obj 132 136 gemwin; @@ -63,7 +64,8 @@ FOR THE SAME PURPOSE!; #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 544 273 pd gemwin (2fps); +#X restore 524 323 pd gemwin (2fps); +#X obj 558 8 declare -lib Gem; #X connect 2 0 31 0; #X connect 16 0 17 0; #X connect 17 0 18 0; diff --git a/Gem/ripple-help.pd b/Gem/ripple-help.pd index 70911e4..7128efb 100644 --- a/Gem/ripple-help.pd +++ b/Gem/ripple-help.pd @@ -1,8 +1,9 @@ -#N canvas 45 35 710 402 10; +#N canvas 45 61 661 402 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 479 47 cnv 15 170 300 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 479 77 cnv 15 170 300 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 544 284 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 544 314 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; @@ -22,10 +23,10 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 549 323 pd gemwin; -#X msg 549 304 create; -#X text 545 283 Create window:; -#X text 485 29 Example:; +#X restore 549 353 pd gemwin; +#X msg 549 334 create; +#X text 545 313 Create window:; +#X text 485 59 Example:; #X obj 7 52 cnv 15 450 132 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 244 cnv 15 450 145 empty empty empty 20 12 0 14 -233017 -66577 @@ -35,21 +36,21 @@ 0; #X text 17 189 Arguments:; #X text 27 275 Inlet 1: message: draw [line|fill|point]; -#X text 452 8 GEM object; +#X text 472 8 GEM object; #X text 27 261 Inlet 1: gemlist; #X text 9 358 Outlets:; #X text 20 371 Outlet 1: gemlist; -#X obj 484 141 cnv 15 160 140 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 484 171 cnv 15 160 140 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 488 54 gemhead; -#X floatatom 566 59 5 0 0 0 - - -; -#X msg 494 144 draw line; -#X msg 494 164 draw fill; -#X msg 494 184 draw point; -#X obj 488 79 rotateXYZ 135 0 0; -#X obj 574 156 bng 25 250 50 0 empty empty grab 0 -6 0 8 -262144 -1 +#X obj 488 84 gemhead; +#X floatatom 566 89 5 0 0 0 - - -; +#X msg 494 174 draw line; +#X msg 494 194 draw fill; +#X msg 494 214 draw point; +#X obj 488 109 rotateXYZ 135 0 0; +#X obj 574 186 bng 25 250 50 0 empty empty grab 0 -6 0 8 -262144 -1 -1; -#X floatatom 572 192 5 0 0 1 amount - -; +#X floatatom 572 222 5 0 0 1 amount - -; #X text 7 56 Description: Renders and distorts a square.; #X text 27 331 Inlet 4: float: posX (centered); #X text 27 343 Inlet 5: float: posY (centered); @@ -57,21 +58,22 @@ #X text 65 216 default: 32 32; #X text 63 202 segments of the square; #X text 33 14 Synopsis: [ripple]; -#X obj 488 259 ripple 16 16; +#X obj 488 289 ripple 16 16; #X text 16 73 When banged \, ripple will grab the vertex nearest to the specified (ctrX ctrY) position. The vertices will be accelerated towards the selected one for a moment and then gradually fall back to their original position.; -#X obj 575 214 tgl 15 0 empty empty ctrX 18 8 0 8 -262144 -1 -1 0 1 +#X obj 575 244 tgl 15 0 empty empty ctrX 18 8 0 8 -262144 -1 -1 0 1 ; -#X obj 575 234 tgl 15 0 empty empty ctrY 18 8 0 8 -262144 -1 -1 0 1 +#X obj 575 264 tgl 15 0 empty empty ctrY 18 8 0 8 -262144 -1 -1 0 1 ; #X text 27 317 Inlet 3: float: amount; #X text 17 131 The amount of excursion can be specified.; -#X floatatom 510 217 5 0 0 0 - - -; +#X floatatom 510 247 5 0 0 0 - - -; #X text 17 150 note: [ripple] distorts a bit different when texture-mapping is used!; #X text 27 303 Inlet 2: float: size; +#X obj 548 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 23 0; diff --git a/Gem/rotate-help.pd b/Gem/rotate-help.pd index 4995afe..23b5444 100644 --- a/Gem/rotate-help.pd +++ b/Gem/rotate-help.pd @@ -1,5 +1,6 @@ -#N canvas 57 47 633 363 10; -#X text 452 8 GEM object; +#N canvas 57 61 633 363 10; +#X declare -lib Gem; +#X text 442 8 GEM object; #X obj 8 206 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 218 Inlets:; @@ -59,6 +60,7 @@ matrix by the specified rotation; #X text 38 332 see also:; #X obj 101 332 rotateXYZ; #X obj 169 332 accumrotate; +#X obj 508 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 22 0; diff --git a/Gem/rotateXYZ-help.pd b/Gem/rotateXYZ-help.pd index fc3f00c..522feb5 100644 --- a/Gem/rotateXYZ-help.pd +++ b/Gem/rotateXYZ-help.pd @@ -1,4 +1,5 @@ #N canvas 445 99 639 383 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -64,6 +65,7 @@ and Z-axis; #X text 22 349 see also:; #X obj 85 349 rotate; #X obj 132 349 accumrotate; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 22 0; diff --git a/Gem/rubber-help.pd b/Gem/rubber-help.pd index a8d02c9..069a282 100644 --- a/Gem/rubber-help.pd +++ b/Gem/rubber-help.pd @@ -1,8 +1,9 @@ -#N canvas 0 0 710 387 10; +#N canvas 6 61 710 387 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 479 47 cnv 15 170 300 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 479 57 cnv 15 170 300 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 544 284 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 544 294 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; @@ -22,10 +23,10 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 549 323 pd gemwin; -#X msg 549 304 create; -#X text 545 283 Create window:; -#X text 485 29 Example:; +#X restore 549 333 pd gemwin; +#X msg 549 314 create; +#X text 545 293 Create window:; +#X text 485 39 Example:; #X obj 7 65 cnv 15 450 102 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 226 cnv 15 450 145 empty empty empty 20 12 0 14 -233017 -66577 @@ -35,24 +36,24 @@ 0; #X text 17 170 Arguments:; #X text 27 257 Inlet 1: message: draw [line|fill|point]; -#X text 452 8 GEM object; +#X text 482 8 GEM object; #X text 27 243 Inlet 1: gemlist; #X text 9 340 Outlets:; #X text 20 353 Outlet 1: gemlist; -#X obj 484 141 cnv 15 160 140 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 484 151 cnv 15 160 140 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 488 48 gemhead; -#X floatatom 530 67 5 -10 10 0 - - -; -#X msg 494 144 draw line; -#X msg 494 164 draw fill; -#X msg 494 184 draw point; -#X obj 581 156 bng 15 250 50 0 empty empty grab 20 7 0 8 -262144 -1 +#X obj 488 58 gemhead; +#X floatatom 530 77 5 -10 10 0 - - -; +#X msg 494 154 draw line; +#X msg 494 174 draw fill; +#X msg 494 194 draw point; +#X obj 581 166 bng 15 250 50 0 empty empty grab 20 7 0 8 -262144 -1 -1; -#X obj 581 122 select 1; -#X floatatom 573 217 5 0 0 1 ctrX - -; -#X floatatom 573 234 5 0 0 1 ctrY - -; -#X floatatom 582 175 5 0 0 1 size - -; -#X floatatom 582 192 5 0 0 1 height - -; +#X obj 581 132 select 1; +#X floatatom 573 227 5 0 0 1 ctrX - -; +#X floatatom 573 244 5 0 0 1 ctrY - -; +#X floatatom 582 185 5 0 0 1 size - -; +#X floatatom 582 202 5 0 0 1 height - -; #X text 33 14 Synopsis: [rubber]; #X text 7 69 Description: Renders and distorts a square.; #X text 27 313 Inlet 4: float: posX (centered); @@ -65,13 +66,14 @@ will fall back to its original position; #X text 65 197 default: 32 32; #X text 63 183 segments of the square; #X text 480 362 and move the mouse; -#X obj 542 103 gemmouse 1 1; -#X obj 488 259 rubber 8 8; +#X obj 542 113 gemmouse 1 1; +#X obj 488 269 rubber 8 8; #X text 27 270 Inlet 1: bang: grab/release; #X text 27 285 Inlet 2: float: size; #X text 27 298 Inlet 3: float: height; -#X obj 488 84 accumrotate 135 0 0; -#X obj 488 67 t a b; +#X obj 488 94 accumrotate 135 0 0; +#X obj 488 77 t a b; +#X obj 548 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 43 0; diff --git a/Gem/scale-help.pd b/Gem/scale-help.pd index 7963fde..f504184 100644 --- a/Gem/scale-help.pd +++ b/Gem/scale-help.pd @@ -1,4 +1,5 @@ -#N canvas 207 28 639 433 10; +#N canvas 207 61 639 441 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 306 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -66,6 +67,7 @@ by the vector.; #X obj 451 196 scale 0.5; #X text 450 339 see also:; #X obj 452 363 scaleXYZ; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 29 0; diff --git a/Gem/scaleXYZ-help.pd b/Gem/scaleXYZ-help.pd index 4a36ba3..d77d79c 100644 --- a/Gem/scaleXYZ-help.pd +++ b/Gem/scaleXYZ-help.pd @@ -1,4 +1,5 @@ -#N canvas 207 28 639 433 10; +#N canvas 207 61 639 433 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 212 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -59,6 +60,7 @@ transformation matrix by the specified scale; #X text 17 340 see also:; #X obj 83 340 scale; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 24 0; diff --git a/Gem/scopeXYZ~-help.pd b/Gem/scopeXYZ~-help.pd index 94926a6..9343d25 100644 --- a/Gem/scopeXYZ~-help.pd +++ b/Gem/scopeXYZ~-help.pd @@ -1,4 +1,5 @@ -#N canvas 30 348 762 461 10; +#N canvas 30 348 677 461 10; +#X declare -lib Gem; #X text 475 39 Example:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -8,7 +9,7 @@ #X obj 8 172 cnv 15 450 40 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 171 Arguments:; -#X text 452 8 GEM object; +#X text 502 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 398 Outlets:; #X text 21 411 Outlet 1: gemlist; @@ -100,6 +101,7 @@ blocksize); #X text 28 343 Inlet 2: signal: X-values of the oscillograph; #X text 28 356 Inlet 3: signal: Y-values of the oscillograph; #X text 28 371 Inlet 4: signal: Z-values of the oscillograph; +#X obj 568 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 19 0 38 0; diff --git a/Gem/separator-help.pd b/Gem/separator-help.pd index 83e492c..dbe727c 100644 --- a/Gem/separator-help.pd +++ b/Gem/separator-help.pd @@ -1,5 +1,6 @@ -#N canvas 3 44 880 555 10; -#X text 452 8 GEM object; +#N canvas 6 61 880 555 10; +#X declare -lib Gem; +#X text 692 8 GEM object; #X text 71 31 Class: manipulation object; #X text 50 12 Synopsis: [separator]; #X obj 8 337 cnv 15 430 60 empty empty empty 20 12 0 14 -233017 -66577 @@ -102,6 +103,7 @@ subchain is rendered first).; #X text 464 364 With the [separator] \, both objects will by translated \, but the rotation in one branch will not effect the other branch. ; +#X obj 768 8 declare -lib Gem; #X connect 25 0 26 0; #X connect 26 0 25 0; #X connect 30 0 56 0; diff --git a/Gem/shearXY-help.pd b/Gem/shearXY-help.pd index e5f5e6f..fa1f38a 100644 --- a/Gem/shearXY-help.pd +++ b/Gem/shearXY-help.pd @@ -1,59 +1,61 @@ -#N canvas 57 47 655 342 10;
-#X text 452 8 GEM object;
-#X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text 39 233 Inlets:;
-#X text 63 246 Inlet 1: gemlist;
-#X text 39 276 Outlets:;
-#X text 57 289 Outlet 1: gemlist;
-#X obj 8 176 cnv 15 430 40 empty empty empty 20 12 0 14 -195568 -66577
-0;
-#X text 17 175 Arguments:;
-#X obj 8 76 cnv 15 440 90 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X obj 449 77 cnv 15 170 239 empty empty empty 20 12 0 14 -228992 -66577
-0;
-#X text 453 60 Example:;
-#X obj 514 249 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 132 112 create \, 1;
-#X msg 198 112 destroy;
-#X connect 2 0 3 0;
-#X connect 3 0 4 0;
-#X connect 3 0 6 0;
-#X connect 3 1 5 0;
-#X connect 3 1 7 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 519 288 pd gemwin;
-#X msg 519 269 create;
-#X text 515 248 Create window:;
-#X text 71 31 Class: manipulation object;
-#X obj 450 108 cnv 15 160 60 empty empty empty 20 12 0 14 -24198 -66577
-0;
-#X obj 451 84 gemhead;
-#X floatatom 500 117 3 -4 4 0 - - -;
-#X obj 451 138 shearXY 1;
-#X text 50 12 Synopsis: [shearXY];
-#X text 29 77 Description: shear;
-#X text 41 91 [shearXY] accepts a gemList and changes the current transformation
-matrix by the specified shear;
-#X text 36 122 the X translation depend on Y position and the shear
-factor (float).;
-#X text 60 194 1st argument: shear factor (XY);
-#X text 63 261 Inlet 2: float: XY shear factor;
-#X obj 451 179 cube;
-#X connect 12 0 13 0;
-#X connect 13 0 12 0;
-#X connect 17 0 19 0;
-#X connect 18 0 19 1;
-#X connect 19 0 26 0;
+#N canvas 57 61 625 322 10; +#X declare -lib Gem; +#X text 452 8 GEM object; +#X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 39 233 Inlets:; +#X text 63 246 Inlet 1: gemlist; +#X text 39 276 Outlets:; +#X text 57 289 Outlet 1: gemlist; +#X obj 8 176 cnv 15 430 40 empty empty empty 20 12 0 14 -195568 -66577 +0; +#X text 17 175 Arguments:; +#X obj 8 76 cnv 15 440 90 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 449 77 cnv 15 170 239 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 453 60 Example:; +#X obj 514 249 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 132 112 create \, 1; +#X msg 198 112 destroy; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 6 0; +#X connect 3 1 5 0; +#X connect 3 1 7 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 519 288 pd gemwin; +#X msg 519 269 create; +#X text 515 248 Create window:; +#X text 71 31 Class: manipulation object; +#X obj 450 108 cnv 15 160 60 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X obj 451 84 gemhead; +#X floatatom 500 117 3 -4 4 0 - - -; +#X obj 451 138 shearXY 1; +#X text 50 12 Synopsis: [shearXY]; +#X text 29 77 Description: shear; +#X text 41 91 [shearXY] accepts a gemList and changes the current transformation +matrix by the specified shear; +#X text 36 122 the X translation depend on Y position and the shear +factor (float).; +#X text 60 194 1st argument: shear factor (XY); +#X text 63 261 Inlet 2: float: XY shear factor; +#X obj 451 179 cube; +#X obj 518 8 declare -lib Gem; +#X connect 12 0 13 0; +#X connect 13 0 12 0; +#X connect 17 0 19 0; +#X connect 18 0 19 1; +#X connect 19 0 26 0; diff --git a/Gem/shearXZ-help.pd b/Gem/shearXZ-help.pd index 44fb753..c68c337 100644 --- a/Gem/shearXZ-help.pd +++ b/Gem/shearXZ-help.pd @@ -1,59 +1,61 @@ -#N canvas 57 47 659 349 10;
-#X text 452 8 GEM object;
-#X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text 39 233 Inlets:;
-#X text 63 246 Inlet 1: gemlist;
-#X text 39 276 Outlets:;
-#X text 57 289 Outlet 1: gemlist;
-#X obj 8 176 cnv 15 430 40 empty empty empty 20 12 0 14 -195568 -66577
-0;
-#X text 17 175 Arguments:;
-#X obj 8 76 cnv 15 440 90 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text 453 60 Example:;
-#X text 71 31 Class: manipulation object;
-#X text 29 77 Description: shear;
-#X text 50 12 Synopsis: [shearXZ];
-#X text 41 91 [shearXZ] accepts a gemList and changes the current transformation
-matrix by the specified shear;
-#X text 60 194 1st argument: shear factor (XZ);
-#X text 63 261 Inlet 2: float: XZ shear factor;
-#X obj 449 77 cnv 15 170 239 empty empty empty 20 12 0 14 -228992 -66577
-0;
-#X obj 514 249 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 132 112 create \, 1;
-#X msg 198 112 destroy;
-#X connect 2 0 3 0;
-#X connect 3 0 4 0;
-#X connect 3 0 6 0;
-#X connect 3 1 5 0;
-#X connect 3 1 7 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 519 288 pd gemwin;
-#X msg 519 269 create;
-#X text 515 248 Create window:;
-#X obj 450 108 cnv 15 160 60 empty empty empty 20 12 0 14 -24198 -66577
-0;
-#X obj 458 82 gemhead;
-#X obj 458 177 square;
-#X floatatom 507 115 3 -4 4 0 - - -;
-#X obj 458 136 shearXZ 1;
-#X text 36 122 the X translation depend on Z position and the shear
-factor (float).;
-#X connect 18 0 19 0;
-#X connect 19 0 18 0;
-#X connect 22 0 25 0;
-#X connect 24 0 25 1;
-#X connect 25 0 23 0;
+#N canvas 57 61 625 325 10; +#X declare -lib Gem; +#X text 452 8 GEM object; +#X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 39 233 Inlets:; +#X text 63 246 Inlet 1: gemlist; +#X text 39 276 Outlets:; +#X text 57 289 Outlet 1: gemlist; +#X obj 8 176 cnv 15 430 40 empty empty empty 20 12 0 14 -195568 -66577 +0; +#X text 17 175 Arguments:; +#X obj 8 76 cnv 15 440 90 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 453 60 Example:; +#X text 71 31 Class: manipulation object; +#X text 29 77 Description: shear; +#X text 50 12 Synopsis: [shearXZ]; +#X text 41 91 [shearXZ] accepts a gemList and changes the current transformation +matrix by the specified shear; +#X text 60 194 1st argument: shear factor (XZ); +#X text 63 261 Inlet 2: float: XZ shear factor; +#X obj 449 77 cnv 15 170 239 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X obj 514 249 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 132 112 create \, 1; +#X msg 198 112 destroy; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 6 0; +#X connect 3 1 5 0; +#X connect 3 1 7 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 519 288 pd gemwin; +#X msg 519 269 create; +#X text 515 248 Create window:; +#X obj 450 108 cnv 15 160 60 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X obj 458 82 gemhead; +#X obj 458 177 square; +#X floatatom 507 115 3 -4 4 0 - - -; +#X obj 458 136 shearXZ 1; +#X text 36 122 the X translation depend on Z position and the shear +factor (float).; +#X obj 518 8 declare -lib Gem; +#X connect 18 0 19 0; +#X connect 19 0 18 0; +#X connect 22 0 25 0; +#X connect 24 0 25 1; +#X connect 25 0 23 0; diff --git a/Gem/shearYX-help.pd b/Gem/shearYX-help.pd index 1214743..4257de1 100644 --- a/Gem/shearYX-help.pd +++ b/Gem/shearYX-help.pd @@ -1,59 +1,61 @@ -#N canvas 335 193 659 340 10;
-#X text 452 8 GEM object;
-#X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text 39 233 Inlets:;
-#X text 63 246 Inlet 1: gemlist;
-#X text 39 276 Outlets:;
-#X text 57 289 Outlet 1: gemlist;
-#X obj 8 176 cnv 15 430 40 empty empty empty 20 12 0 14 -195568 -66577
-0;
-#X text 17 175 Arguments:;
-#X obj 8 76 cnv 15 440 90 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text 453 60 Example:;
-#X text 71 31 Class: manipulation object;
-#X text 29 77 Description: shear;
-#X text 36 122 the X translation depend on Y position and the shear
-factor (float).;
-#X text 50 12 Synopsis: [shearYX];
-#X text 41 91 [shearYX] accepts a gemList and changes the current transformation
-matrix by the specified shear;
-#X text 60 194 1st argument: shear factor (YX);
-#X text 63 261 Inlet 2: float: YX shear factor;
-#X obj 449 77 cnv 15 170 239 empty empty empty 20 12 0 14 -228992 -66577
-0;
-#X obj 514 249 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 132 112 create \, 1;
-#X msg 198 112 destroy;
-#X connect 2 0 3 0;
-#X connect 3 0 4 0;
-#X connect 3 0 6 0;
-#X connect 3 1 5 0;
-#X connect 3 1 7 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 519 288 pd gemwin;
-#X msg 519 269 create;
-#X text 515 248 Create window:;
-#X obj 450 108 cnv 15 160 60 empty empty empty 20 12 0 14 -24198 -66577
-0;
-#X obj 451 84 gemhead;
-#X obj 451 179 square;
-#X floatatom 500 117 3 -4 4 0 - - -;
-#X obj 451 138 shearYX 1;
-#X connect 19 0 20 0;
-#X connect 20 0 19 0;
-#X connect 23 0 26 0;
-#X connect 25 0 26 1;
-#X connect 26 0 24 0;
+#N canvas 335 193 634 330 10; +#X declare -lib Gem; +#X text 452 8 GEM object; +#X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 39 233 Inlets:; +#X text 63 246 Inlet 1: gemlist; +#X text 39 276 Outlets:; +#X text 57 289 Outlet 1: gemlist; +#X obj 8 176 cnv 15 430 40 empty empty empty 20 12 0 14 -195568 -66577 +0; +#X text 17 175 Arguments:; +#X obj 8 76 cnv 15 440 90 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 453 60 Example:; +#X text 71 31 Class: manipulation object; +#X text 29 77 Description: shear; +#X text 36 122 the X translation depend on Y position and the shear +factor (float).; +#X text 50 12 Synopsis: [shearYX]; +#X text 41 91 [shearYX] accepts a gemList and changes the current transformation +matrix by the specified shear; +#X text 60 194 1st argument: shear factor (YX); +#X text 63 261 Inlet 2: float: YX shear factor; +#X obj 449 77 cnv 15 170 239 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X obj 514 249 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 132 112 create \, 1; +#X msg 198 112 destroy; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 6 0; +#X connect 3 1 5 0; +#X connect 3 1 7 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 519 288 pd gemwin; +#X msg 519 269 create; +#X text 515 248 Create window:; +#X obj 450 108 cnv 15 160 60 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X obj 451 84 gemhead; +#X obj 451 179 square; +#X floatatom 500 117 3 -4 4 0 - - -; +#X obj 451 138 shearYX 1; +#X obj 518 8 declare -lib Gem; +#X connect 19 0 20 0; +#X connect 20 0 19 0; +#X connect 23 0 26 0; +#X connect 25 0 26 1; +#X connect 26 0 24 0; diff --git a/Gem/shearYZ-help.pd b/Gem/shearYZ-help.pd index 2a10b7c..aef9a69 100644 --- a/Gem/shearYZ-help.pd +++ b/Gem/shearYZ-help.pd @@ -1,4 +1,5 @@ -#N canvas 357 249 667 351 10; +#N canvas 357 249 631 328 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -53,6 +54,7 @@ matrix by the specified shear; factor (float).; #X obj 451 217 cube; #X obj 451 120 rotateXYZ 0 45 0; +#X obj 518 8 declare -lib Gem; #X connect 18 0 19 0; #X connect 19 0 18 0; #X connect 22 0 27 0; diff --git a/Gem/shearZX-help.pd b/Gem/shearZX-help.pd index 5d93b89..246ba9d 100644 --- a/Gem/shearZX-help.pd +++ b/Gem/shearZX-help.pd @@ -1,4 +1,5 @@ -#N canvas 356 249 657 340 10; +#N canvas 356 249 630 329 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -52,6 +53,7 @@ matrix by the specified shear; #X text 36 122 the Z translation depend on X position and the shear factor (float).; #X obj 451 179 teapot; +#X obj 518 8 declare -lib Gem; #X connect 18 0 19 0; #X connect 19 0 18 0; #X connect 22 0 24 0; diff --git a/Gem/shearZY-help.pd b/Gem/shearZY-help.pd index 5c2ae08..2f1c8cf 100644 --- a/Gem/shearZY-help.pd +++ b/Gem/shearZY-help.pd @@ -1,59 +1,61 @@ -#N canvas 57 47 666 355 10;
-#X text 452 8 GEM object;
-#X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X text 39 233 Inlets:;
-#X text 63 246 Inlet 1: gemlist;
-#X text 39 276 Outlets:;
-#X text 57 289 Outlet 1: gemlist;
-#X obj 8 176 cnv 15 430 40 empty empty empty 20 12 0 14 -195568 -66577
-0;
-#X text 17 175 Arguments:;
-#X obj 8 76 cnv 15 440 90 empty empty empty 20 12 0 14 -233017 -66577
-0;
-#X obj 449 77 cnv 15 170 239 empty empty empty 20 12 0 14 -228992 -66577
-0;
-#X text 453 60 Example:;
-#X obj 514 246 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 132 112 create \, 1;
-#X msg 198 112 destroy;
-#X connect 2 0 3 0;
-#X connect 3 0 4 0;
-#X connect 3 0 6 0;
-#X connect 3 1 5 0;
-#X connect 3 1 7 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 519 285 pd gemwin;
-#X msg 519 266 create;
-#X text 515 245 Create window:;
-#X text 71 31 Class: manipulation object;
-#X obj 450 108 cnv 15 160 60 empty empty empty 20 12 0 14 -24198 -66577
-0;
-#X obj 451 84 gemhead;
-#X obj 451 179 square;
-#X floatatom 500 117 3 -4 4 0 - - -;
-#X text 29 77 Description: shear;
-#X text 41 91 [shearYZ] accepts a gemList and changes the current transformation
-matrix by the specified shear;
-#X text 60 194 1st argument: shear factor (ZY);
-#X text 63 261 Inlet 2: float: ZY shear factor;
-#X text 50 12 Synopsis: [shearYZ];
-#X obj 451 138 shearZY 1;
-#X text 36 122 the Y translation depend on Z position and the shear
-factor (float).;
-#X connect 12 0 13 0;
-#X connect 13 0 12 0;
-#X connect 17 0 25 0;
-#X connect 19 0 25 1;
-#X connect 25 0 18 0;
+#N canvas 57 61 628 330 10; +#X declare -lib Gem; +#X text 452 8 GEM object; +#X obj 8 226 cnv 15 430 90 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X text 39 233 Inlets:; +#X text 63 246 Inlet 1: gemlist; +#X text 39 276 Outlets:; +#X text 57 289 Outlet 1: gemlist; +#X obj 8 176 cnv 15 430 40 empty empty empty 20 12 0 14 -195568 -66577 +0; +#X text 17 175 Arguments:; +#X obj 8 76 cnv 15 440 90 empty empty empty 20 12 0 14 -233017 -66577 +0; +#X obj 449 77 cnv 15 170 239 empty empty empty 20 12 0 14 -228992 -66577 +0; +#X text 453 60 Example:; +#X obj 514 246 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 132 112 create \, 1; +#X msg 198 112 destroy; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 3 0 6 0; +#X connect 3 1 5 0; +#X connect 3 1 7 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 519 285 pd gemwin; +#X msg 519 266 create; +#X text 515 245 Create window:; +#X text 71 31 Class: manipulation object; +#X obj 450 108 cnv 15 160 60 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X obj 451 84 gemhead; +#X obj 451 179 square; +#X floatatom 500 117 3 -4 4 0 - - -; +#X text 29 77 Description: shear; +#X text 41 91 [shearYZ] accepts a gemList and changes the current transformation +matrix by the specified shear; +#X text 60 194 1st argument: shear factor (ZY); +#X text 63 261 Inlet 2: float: ZY shear factor; +#X text 50 12 Synopsis: [shearYZ]; +#X obj 451 138 shearZY 1; +#X text 36 122 the Y translation depend on Z position and the shear +factor (float).; +#X obj 518 8 declare -lib Gem; +#X connect 12 0 13 0; +#X connect 13 0 12 0; +#X connect 17 0 25 0; +#X connect 19 0 25 1; +#X connect 25 0 18 0; diff --git a/Gem/shininess-help.pd b/Gem/shininess-help.pd index df47247..a104db2 100644 --- a/Gem/shininess-help.pd +++ b/Gem/shininess-help.pd @@ -1,4 +1,5 @@ -#N canvas 61 18 639 342 10; +#N canvas 61 61 639 342 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -58,6 +59,7 @@ between 0 and 128 the shininess can be set via an initial argument. ; #X obj 451 140 shininess; #X text 60 191 default:0; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 30 0; diff --git a/Gem/slideSquares-help.pd b/Gem/slideSquares-help.pd index f3797f1..ef43340 100644 --- a/Gem/slideSquares-help.pd +++ b/Gem/slideSquares-help.pd @@ -1,8 +1,9 @@ -#N canvas 289 160 710 363 10; +#N canvas 289 160 683 363 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 499 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 584 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 564 254 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; @@ -22,10 +23,10 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 589 263 pd gemwin; -#X msg 589 244 create; -#X text 585 223 Create window:; -#X text 525 29 Example:; +#X restore 569 293 pd gemwin; +#X msg 569 274 create; +#X text 565 253 Create window:; +#X text 505 59 Example:; #X obj 7 65 cnv 15 450 80 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 216 cnv 15 450 130 empty empty empty 20 12 0 14 -233017 -66577 @@ -35,18 +36,18 @@ 0; #X text 17 155 Arguments:; #X text 27 247 Inlet 1: message: draw [line|fill|point]; -#X text 452 8 GEM object; +#X text 502 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 310 Outlets:; #X text 21 323 Outlet 1: gemlist; -#X obj 522 82 cnv 15 160 120 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 502 112 cnv 15 160 120 empty empty empty 20 12 0 14 -24198 -66577 0; -#X obj 533 54 gemhead; -#X floatatom 586 104 5 0 0 0 - - -; -#X floatatom 640 135 5 0 0 0 - - -; -#X text 640 119 height; +#X obj 513 84 gemhead; +#X floatatom 566 134 5 0 0 0 - - -; +#X floatatom 620 165 5 0 0 0 - - -; +#X text 620 149 height; #X text 27 275 Inlet 3: float: height (dimY); -#X text 586 88 width; +#X text 566 118 width; #X text 33 14 Synopsis: [slideSquares]; #X text 7 69 Description: Renders sliding rectangles.; #X text 16 86 The slideSquares object renders a number of sliding rectangles @@ -56,7 +57,8 @@ rectangles can be changed via the inlet2 and inlet3.; ; #X text 65 181 default: 1 1; #X text 27 260 Inlet 2: float: width (dimX); -#X obj 533 179 slideSquares 1 1; +#X obj 513 209 slideSquares 1 1; +#X obj 568 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 30 0; diff --git a/Gem/specular-help.pd b/Gem/specular-help.pd index 3d8b900..48dca55 100644 --- a/Gem/specular-help.pd +++ b/Gem/specular-help.pd @@ -1,4 +1,5 @@ -#N canvas 61 22 632 364 10; +#N canvas 61 61 632 364 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 216 cnv 15 430 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -58,6 +59,7 @@ for all subsequent vertex-operations. You have to enable lighting to see any effects.; #X text 36 323 see also:; #X obj 97 323 specularRGB; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 28 0; diff --git a/Gem/specularRGB-help.pd b/Gem/specularRGB-help.pd index 45a609a..bd88939 100644 --- a/Gem/specularRGB-help.pd +++ b/Gem/specularRGB-help.pd @@ -1,5 +1,6 @@ -#N canvas 61 22 629 372 10; -#X text 452 8 GEM object; +#N canvas 61 61 629 372 10; +#X declare -lib Gem; +#X text 432 8 GEM object; #X obj 8 216 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; #X text 39 218 Inlets:; @@ -63,6 +64,7 @@ see any effects.; #X text 62 260 Inlet 3: float: Green-value; #X text 35 341 see also:; #X obj 107 342 specular; +#X obj 508 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 25 0; diff --git a/Gem/sphere-help.pd b/Gem/sphere-help.pd index d49f23d..a7f6bfd 100644 --- a/Gem/sphere-help.pd +++ b/Gem/sphere-help.pd @@ -1,4 +1,5 @@ -#N canvas 274 73 707 374 10; +#N canvas 274 73 663 374 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 479 47 cnv 15 170 270 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -53,15 +54,16 @@ #X text 27 272 Inlet 3: int: number of segments; #X text 33 14 Synopsis: [sphere]; #X text 16 69 Description: Renders a sphere.; -#X text 30 85 The sphere object renders a segmented sphere at the -current position with current color. The look of the sphere can be -changed with the draw message \, its size can be changed via the second -inlet.; +#X text 30 85 The sphere object renders a segmented sphere at the current +position with current color. The look of the sphere can be changed +with the draw message \, its size can be changed via the second inlet. +; #X obj 497 222 sphere 1; #X text 35 168 size of the sphere \, segments; #X text 34 184 defaults: 1 \, 10; #X text 33 330 see also:; #X obj 102 331 sphere3d; +#X obj 548 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 19 0 31 0; diff --git a/Gem/sphere3d-help.pd b/Gem/sphere3d-help.pd index 4fb5a35..33580a0 100644 --- a/Gem/sphere3d-help.pd +++ b/Gem/sphere3d-help.pd @@ -1,6 +1,7 @@ -#N canvas 67 280 825 465 10; +#N canvas 67 280 714 379 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 479 47 cnv 15 170 280 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 479 47 cnv 15 230 280 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 544 264 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; @@ -25,7 +26,7 @@ #X restore 549 303 pd gemwin; #X msg 549 284 create; #X text 545 263 Create window:; -#X text 485 29 Example:; +#X text 480 31 Example:; #X obj 7 61 cnv 15 450 120 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 226 cnv 15 450 140 empty empty empty 20 12 0 14 -233017 -66577 @@ -36,11 +37,11 @@ #X text 17 185 Arguments:; #X text 27 252 Inlet 1: message: draw [line|fill|point]; #X text 27 307 Inlet 2: float: size; -#X text 452 8 GEM object; +#X text 512 8 GEM object; #X text 27 238 Inlet 1: gemlist; #X text 9 334 Outlets:; #X text 21 347 Outlet 1: gemlist; -#X obj 545 133 cnv 15 100 120 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 534 135 cnv 15 175 120 empty empty empty 20 12 0 14 -24198 -66577 0; #X msg 483 56 draw line; #X msg 483 76 draw fill; @@ -51,10 +52,10 @@ #X text 27 318 Inlet 3: int: number of segments; #X text 33 14 Synopsis: [sphere3d]; #X text 7 65 Description: Renders a sphere3d.; -#X text 14 82 The sphere3d object renders a segmented sphere3d at -the current position with current color. The look of the sphere3d can -be changed with the draw message \, its size can be changed via the -second inlet.; +#X text 14 82 The sphere3d object renders a segmented sphere3d at the +current position with current color. The look of the sphere3d can be +changed with the draw message \, its size can be changed via the second +inlet.; #X text 63 197 size of the sphere3d; #X floatatom 488 150 5 0 0 0 - - -; #X floatatom 486 179 5 0 0 0 - - -; @@ -66,8 +67,8 @@ second inlet.; #X msg 535 151 setCartesian 2 3 \$1 1 0; #X obj 552 114 rotateXYZ; #X floatatom 578 93 5 0 0 0 - - -; -#X text 145 403 see also; -#X obj 215 404 sphere; +#X text 505 333 see also; +#X obj 575 334 sphere; #X msg 548 174 setSpherical 2 3 \$1 45 45; #X obj 481 287 s \$0-s3d; #X msg 481 266 print; @@ -76,6 +77,7 @@ second inlet.; at the sphere via the setCartesian and setSpherical messages (for cartesian and spherical (in deg) coordinates resp.); #X text 27 292 Inlet 1: message: print; +#X obj 578 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 19 0 33 0; diff --git a/Gem/spline_path-help.pd b/Gem/spline_path-help.pd index 1e13199..82b1c2d 100644 --- a/Gem/spline_path-help.pd +++ b/Gem/spline_path-help.pd @@ -1,4 +1,5 @@ -#N canvas 37 45 711 482 10; +#N canvas 37 61 681 460 10; +#X declare -lib Gem; #X text 458 11 GEM object; #X text 41 430 see also:; #X obj 115 429 linear_path; @@ -59,6 +60,7 @@ its values in n-tuples like: "<r1> <g1> <b1> <r2> <g2> <b2>..." Therefore #X text 50 240 name of the table; #X obj 516 168 spline_path 3 array; #X msg 543 140 open array; +#X obj 578 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 12 1 14 0; #X connect 12 2 15 0; diff --git a/Gem/spot_light-help.pd b/Gem/spot_light-help.pd index cb110e1..15cef43 100644 --- a/Gem/spot_light-help.pd +++ b/Gem/spot_light-help.pd @@ -1,4 +1,5 @@ #N canvas 34 73 724 516 10; +#X declare -lib Gem; #X text 471 28 Example:; #X obj 7 64 cnv 15 450 265 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -147,6 +148,7 @@ of vertices (or "slices").; #X obj 527 477 world_light; #X obj 485 477 light; #X text 37 401 Inlet 1: float: turn light on/off (default:1); +#X obj 578 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 16 0 43 0; diff --git a/Gem/square-help.pd b/Gem/square-help.pd index f5bff2e..2df4559 100644 --- a/Gem/square-help.pd +++ b/Gem/square-help.pd @@ -1,8 +1,9 @@ #N canvas 289 160 710 345 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 489 57 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 584 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 554 234 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; @@ -22,9 +23,9 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 589 263 pd gemwin; -#X msg 589 244 create; -#X text 585 223 Create window:; +#X restore 559 273 pd gemwin; +#X msg 559 254 create; +#X text 555 233 Create window:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 216 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 @@ -35,26 +36,27 @@ #X text 17 175 Arguments:; #X text 27 247 Inlet 1: message: draw [line|fill|point]; #X text 27 261 Inlet 2: float: size; -#X text 452 8 GEM object; +#X text 502 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 280 Outlets:; #X text 21 293 Outlet 1: gemlist; -#X text 525 29 Example:; -#X obj 522 78 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 +#X text 495 39 Example:; +#X obj 492 88 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 0; -#X msg 525 85 draw line; -#X msg 525 106 draw fill; -#X msg 525 128 draw point; -#X obj 593 54 gemhead; -#X floatatom 624 114 5 0 0 0 - - -; -#X text 624 98 size; -#X obj 593 159 square; +#X msg 495 95 draw line; +#X msg 495 116 draw fill; +#X msg 495 138 draw point; +#X obj 563 64 gemhead; +#X floatatom 594 124 5 0 0 0 - - -; +#X text 594 108 size; +#X obj 563 169 square; #X text 7 69 Description: Renders a square; #X text 33 14 Synopsis: [square]; #X text 63 186 size of the square; #X text 16 86 The [square] object renders a square at the current position with current color. The size of the square can be changed via the second inlet.; +#X obj 578 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 19 0 25 0; diff --git a/Gem/surface3d-help.pd b/Gem/surface3d-help.pd index 306aec4..8fc68d0 100644 --- a/Gem/surface3d-help.pd +++ b/Gem/surface3d-help.pd @@ -1,4 +1,5 @@ #N canvas 41 102 968 681 10; +#X declare -lib Gem; #X text 58 45 Class: geometric object; #X obj 13 64 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -41,7 +42,7 @@ #X connect 10 0 0 0; #X connect 11 0 10 0; #X restore 821 583 pd gemwin; -#X msg 821 564 destroy; +#X msg 821 564 create; #X text 817 543 Create window:; #X obj 796 74 cnv 15 150 150 empty empty empty 20 12 0 14 -24198 -66577 0; @@ -1606,6 +1607,7 @@ from a matrix. The curve go throw all control points (between point #X text 33 146 This object is related to curve3d; #X text 271 4 Create a 3d bicubic curve \, using a matrix of control points; +#X obj 848 8 declare -lib Gem; #X connect 11 0 12 0; #X connect 12 0 11 0; #X connect 17 0 89 0; diff --git a/Gem/teapot-help.pd b/Gem/teapot-help.pd index 02f97e4..98ccfec 100644 --- a/Gem/teapot-help.pd +++ b/Gem/teapot-help.pd @@ -1,8 +1,9 @@ #N canvas 312 148 709 361 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 489 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 584 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 554 254 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 22 450 300 gemwin 0; #X obj 132 136 gemwin; @@ -22,10 +23,10 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 589 263 pd gemwin; -#X msg 589 244 create; -#X text 585 223 Create window:; -#X text 525 29 Example:; +#X restore 559 293 pd gemwin; +#X msg 559 274 create; +#X text 555 253 Create window:; +#X text 495 59 Example:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 236 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 @@ -35,30 +36,31 @@ 0; #X text 17 175 Arguments:; #X text 29 275 Inlet 2: float: size; -#X text 452 8 GEM object; +#X text 505 8 GEM object; #X text 29 247 Inlet 1: gemlist; #X text 11 304 Outlets:; #X text 23 317 Outlet 1: gemlist; #X text 33 14 Synopsis: [teapot]; #X text 7 69 Description: Renders a teapot.; #X text 63 186 size of the teapot; -#X obj 522 81 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 492 111 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 0; -#X msg 525 88 draw line; -#X msg 525 111 draw fill; -#X obj 593 54 gemhead; -#X floatatom 611 99 5 -5 5 2 size - -; -#X floatatom 630 131 5 0 20 2 grid - -; +#X msg 495 118 draw line; +#X msg 495 141 draw fill; +#X obj 563 84 gemhead; +#X floatatom 581 129 5 -5 5 2 size - -; +#X floatatom 600 161 5 0 20 2 grid - -; #X text 29 289 Inlet 3: float: number of slices; #X text 29 261 Inlet 1: message: draw [line|fill|points]; #X text 14 130 You can also specify the "number of slices" via the 3rd inlet.; -#X msg 526 132 draw point; +#X msg 496 162 draw point; #X text 15 88 The teapot object renders a teapot at the current position with current color. The size of the teapot can be changed via the second inlet.; -#X obj 593 159 teapot 2 14; +#X obj 563 189 teapot 2 14; #X text 63 200 number of slices; +#X obj 578 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 21 0 31 0; diff --git a/Gem/text2d-help.pd b/Gem/text2d-help.pd index 8bc8677..0c084b4 100644 --- a/Gem/text2d-help.pd +++ b/Gem/text2d-help.pd @@ -1,4 +1,5 @@ -#N canvas 91 80 650 640 10; +#N canvas 91 80 658 640 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 465 65 cnv 15 170 270 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -33,7 +34,7 @@ #X obj 8 295 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 294 Arguments:; -#X text 304 2 GEM object; +#X text 462 10 GEM object; #X text 27 352 Inlet 1: gemlist; #X text 9 480 Outlets:; #X text 21 493 Outlet 1: gemlist; @@ -96,7 +97,7 @@ point of the text moves out of the window; #N canvas 69 240 450 369 disappearing 0; #X obj 43 27 inlet; #X obj 43 266 s \$0-X; -#X obj 43 92 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1 +#X obj 43 92 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 ; #X obj 43 116 pack 0 1000; #X obj 43 238 line; @@ -125,6 +126,7 @@ point of the text moves out of the window; #X text 27 454 Inlet 2: float: size (in points) default:20, f 56; #X text 27 425 Inlet 1: message: justify <hor> [<vert>]: horizontal&vertical justification; +#X obj 528 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 17 0 33 0; diff --git a/Gem/text3d-help.pd b/Gem/text3d-help.pd index 2258c42..7e857b7 100644 --- a/Gem/text3d-help.pd +++ b/Gem/text3d-help.pd @@ -1,6 +1,7 @@ #N canvas 108 62 650 580 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 465 65 cnv 15 170 270 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 465 65 cnv 15 180 270 empty empty empty 20 12 0 14 -228992 -66577 0; #X obj 467 343 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 0; @@ -33,12 +34,12 @@ #X obj 8 295 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 294 Arguments:; -#X text 303 4 GEM object; +#X text 453 11 GEM object; #X text 27 351 Inlet 1: gemlist; #X text 9 483 Outlets:; #X text 21 496 Outlet 1: gemlist; #X text 471 47 Example:; -#X obj 468 112 cnv 15 150 220 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 468 112 cnv 15 170 220 empty empty empty 20 12 0 14 -24198 -66577 0; #X obj 471 70 gemhead; #X floatatom 510 289 5 0 100 1 size - -; @@ -88,6 +89,7 @@ on the command-line and load fonts with just "font times.ttf".; #X obj 541 442 textextruded; #X obj 541 465 textoutline; #X text 27 464 Inlet 2: float: size (in points) (default:20); +#X obj 528 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 17 0 36 0; diff --git a/Gem/textextruded-help.pd b/Gem/textextruded-help.pd index 711ed84..58a29df 100644 --- a/Gem/textextruded-help.pd +++ b/Gem/textextruded-help.pd @@ -1,4 +1,5 @@ -#N canvas 26 90 733 630 10; +#N canvas 26 90 645 630 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 466 65 cnv 15 170 270 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -91,6 +92,7 @@ this to work; #X obj 545 418 text2d; #X obj 592 418 text3d; #X text 27 457 Inlet 2: float: size (in points). (default:20); +#X obj 531 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 17 0 37 0; diff --git a/Gem/textoutline-help.pd b/Gem/textoutline-help.pd index c628d2e..1c5dded 100644 --- a/Gem/textoutline-help.pd +++ b/Gem/textoutline-help.pd @@ -1,4 +1,5 @@ #N canvas 26 90 653 587 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; #X obj 466 66 cnv 15 170 270 empty empty empty 20 12 0 14 -228992 -66577 0; @@ -33,7 +34,7 @@ #X obj 8 295 cnv 15 450 30 empty empty empty 20 12 0 14 -195568 -66577 0; #X text 17 294 Arguments:; -#X text 351 8 GEM object; +#X text 461 8 GEM object; #X text 27 352 Inlet 1: gemlist; #X text 9 465 Outlets:; #X text 21 478 Outlet 1: gemlist; @@ -85,6 +86,7 @@ the current color \, and all 3D-transformation; #X obj 489 441 text2d; #X obj 488 463 text3d; #X text 27 446 Inlet 2: float: size (in points). (default:20); +#X obj 528 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 17 0 37 0; diff --git a/Gem/torus-help.pd b/Gem/torus-help.pd index 4be4e6f..9ee3505 100644 --- a/Gem/torus-help.pd +++ b/Gem/torus-help.pd @@ -1,8 +1,9 @@ -#N canvas 279 150 740 369 10; +#N canvas 279 150 677 369 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 489 77 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 584 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 554 254 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; @@ -22,10 +23,10 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 589 263 pd gemwin; -#X msg 589 244 create; -#X text 585 223 Create window:; -#X text 525 29 Example:; +#X restore 559 293 pd gemwin; +#X msg 559 274 create; +#X text 555 253 Create window:; +#X text 495 59 Example:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 236 cnv 15 450 120 empty empty empty 20 12 0 14 -233017 -66577 @@ -35,33 +36,34 @@ 0; #X text 17 175 Arguments:; #X text 29 277 Inlet 2: float: size; -#X text 452 8 GEM object; +#X text 482 8 GEM object; #X text 29 249 Inlet 1: gemlist; #X text 11 326 Outlets:; #X text 23 339 Outlet 1: gemlist; -#X obj 522 81 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 492 111 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 0; -#X msg 525 88 draw line; -#X msg 525 111 draw fill; -#X obj 593 54 gemhead; -#X floatatom 603 86 5 -5 5 2 size - -; -#X floatatom 613 114 5 0 20 2 slices - -; +#X msg 495 118 draw line; +#X msg 495 141 draw fill; +#X obj 563 84 gemhead; +#X floatatom 573 116 5 -5 5 2 size - -; +#X floatatom 583 144 5 0 20 2 slices - -; #X text 29 291 Inlet 3: float: number of slices; #X text 29 263 Inlet 1: message: draw [line|fill|points]; #X text 14 130 You can also specify the "number of slices" via the 3rd inlet.; -#X msg 526 132 draw point; +#X msg 496 162 draw point; #X text 33 14 Synopsis: [torus]; #X text 63 186 size of the torus; #X text 7 69 Description: Renders a torus.; #X text 15 88 The torus object renders a torus (aka: doughnut) at the current position with current color. The size of the torus can be changed via the second inlet.; -#X floatatom 623 141 5 0 20 2 thickness - -; -#X obj 593 159 torus 1; +#X floatatom 593 171 5 0 20 2 thickness - -; +#X obj 563 189 torus 1; #X text 63 199 # of slices; #X text 62 214 thickness (R-r); #X text 29 307 Inlet 3: float: thickness of the torus (R-r); +#X obj 548 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 32 0; diff --git a/Gem/translate-help.pd b/Gem/translate-help.pd index d5b0aac..4bec049 100644 --- a/Gem/translate-help.pd +++ b/Gem/translate-help.pd @@ -1,4 +1,5 @@ #N canvas 22 88 639 383 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 206 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -57,6 +58,7 @@ matrix by the specified translation; #X obj 455 175 translate 0.1 1 1 0; #X text 35 332 see also:; #X obj 99 333 translateXYZ; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 30 0; diff --git a/Gem/translateXYZ-help.pd b/Gem/translateXYZ-help.pd index feea9d9..8d513cc 100644 --- a/Gem/translateXYZ-help.pd +++ b/Gem/translateXYZ-help.pd @@ -1,4 +1,5 @@ -#N canvas 57 47 639 383 10; +#N canvas 57 61 639 383 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 206 cnv 15 430 120 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -57,6 +58,7 @@ transformation matrix by the specified translation; #X text 23 333 see also:; #X obj 85 334 translate; +#X obj 518 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 17 0 21 0; diff --git a/Gem/trapezoid-help.pd b/Gem/trapezoid-help.pd index e77f605..c8cf5a8 100644 --- a/Gem/trapezoid-help.pd +++ b/Gem/trapezoid-help.pd @@ -1,8 +1,9 @@ -#N canvas 1 51 751 400 10; +#N canvas 6 61 673 358 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 489 87 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 584 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 554 264 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; @@ -22,10 +23,10 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 589 263 pd gemwin; -#X msg 589 244 create; -#X text 585 223 Create window:; -#X text 525 29 Example:; +#X restore 559 303 pd gemwin; +#X msg 559 284 create; +#X text 555 263 Create window:; +#X text 495 69 Example:; #X obj 7 65 cnv 15 450 80 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 216 cnv 15 450 130 empty empty empty 20 12 0 14 -233017 -66577 @@ -35,20 +36,20 @@ 0; #X text 17 155 Arguments:; #X text 27 247 Inlet 1: message: draw [line|fill|point]; -#X text 452 8 GEM object; +#X text 472 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 310 Outlets:; #X text 21 323 Outlet 1: gemlist; -#X obj 522 82 cnv 15 160 120 empty empty empty 20 12 0 14 -24198 -66577 +#X obj 492 122 cnv 15 160 120 empty empty empty 20 12 0 14 -24198 -66577 0; -#X msg 525 95 draw line; -#X msg 525 116 draw fill; -#X msg 525 138 draw point; -#X obj 579 54 gemhead; -#X floatatom 617 134 5 0 0 0 - - -; -#X floatatom 630 162 5 0 0 0 - - -; -#X text 617 118 size; -#X text 630 146 top line; +#X msg 495 135 draw line; +#X msg 495 156 draw fill; +#X msg 495 178 draw point; +#X obj 549 94 gemhead; +#X floatatom 587 174 5 0 0 0 - - -; +#X floatatom 600 202 5 0 0 0 - - -; +#X text 587 158 size; +#X text 600 186 top line; #X text 33 14 Synopsis: [trapezoid]; #X text 7 69 Description: Renders a trapezoid box.; #X text 15 86 The trapezoid object renders a trapezoid (box) at the @@ -59,7 +60,8 @@ trapezoid can be changed via the last two inlets.; #X text 27 260 Inlet 2: float: size; #X text 27 275 Inlet 3: float: length of top line \, relative to the size; -#X obj 579 185 trapezoid 1 0.7; +#X obj 549 225 trapezoid 1 0.7; +#X obj 548 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 18 0 33 0; diff --git a/Gem/triangle-help.pd b/Gem/triangle-help.pd index a25ace1..475b95b 100644 --- a/Gem/triangle-help.pd +++ b/Gem/triangle-help.pd @@ -1,8 +1,9 @@ #N canvas 289 160 710 345 10; +#X declare -lib Gem; #X text 54 30 Class: geometric object; -#X obj 519 47 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 +#X obj 489 57 cnv 15 170 250 empty empty empty 20 12 0 14 -228992 -66577 0; -#X obj 584 224 cnv 15 100 60 empty empty empty 20 12 0 14 -195568 -66577 +#X obj 554 234 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; @@ -22,9 +23,9 @@ #X connect 5 0 1 0; #X connect 6 0 0 0; #X connect 7 0 0 0; -#X restore 589 263 pd gemwin; -#X msg 589 244 create; -#X text 585 223 Create window:; +#X restore 559 273 pd gemwin; +#X msg 559 254 create; +#X text 555 233 Create window:; #X obj 7 65 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 0; #X obj 8 216 cnv 15 450 100 empty empty empty 20 12 0 14 -233017 -66577 @@ -35,27 +36,28 @@ #X text 17 175 Arguments:; #X text 27 247 Inlet 1: message: draw [line|fill|point]; #X text 27 261 Inlet 2: float: size; -#X text 452 8 GEM object; +#X text 522 8 GEM object; #X text 27 233 Inlet 1: gemlist; #X text 9 280 Outlets:; #X text 21 293 Outlet 1: gemlist; -#X text 525 29 Example:; -#X obj 522 78 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 +#X text 495 39 Example:; +#X obj 492 88 cnv 15 150 100 empty empty empty 20 12 0 14 -24198 -66577 0; -#X msg 525 85 draw line; -#X msg 525 106 draw fill; -#X msg 525 128 draw point; -#X obj 593 54 gemhead; -#X floatatom 624 114 5 0 0 0 - - -; -#X text 624 98 size; +#X msg 495 95 draw line; +#X msg 495 116 draw fill; +#X msg 495 138 draw point; +#X obj 563 64 gemhead; +#X floatatom 594 124 5 0 0 0 - - -; +#X text 594 108 size; #X text 63 186 size of the triangle; #X text 33 14 Synopsis: [triangle]; -#X obj 593 158 triangle 2; +#X obj 563 168 triangle 2; #X text 7 69 Description: Renders an isosceles triangle; #X text 16 86 The [triangle] object renders an equal-sided (where the height equals the base) triangle at the current position with current color. The size of the triangle can be changed via the second inlet. ; +#X obj 588 8 declare -lib Gem; #X connect 3 0 4 0; #X connect 4 0 3 0; #X connect 19 0 27 0; diff --git a/Gem/tube-help.pd b/Gem/tube-help.pd index 36cf8ac..f70838d 100644 --- a/Gem/tube-help.pd +++ b/Gem/tube-help.pd @@ -1,4 +1,5 @@ -#N canvas 495 235 754 622 10; +#N canvas 56 109 754 622 10; +#X declare -lib Gem; #X text 44 383 default = D1 and D2; #X text 54 27 Class: geometric object; #X obj 479 47 cnv 15 250 550 empty empty empty 20 12 0 14 -228992 -66577 @@ -36,7 +37,7 @@ 0; #X text 18 291 Inlets:; #X text 26 323 Inlet 1: message: draw [line|fill|point]; -#X text 452 8 GEM object; +#X text 552 8 GEM object; #X text 26 308 Inlet 1: gemlist; #X text 8 498 Outlets:; #X text 19 511 Outlet 1: gemlist; @@ -86,6 +87,7 @@ These 2 circles can be rotated and translated independently to create different shapes.; #X text 63 217 4 : number of segments; #X text 63 199 3 : height of the tube; +#X obj 628 8 declare -lib Gem; #X connect 4 0 5 0; #X connect 5 0 4 0; #X connect 17 0 20 0; diff --git a/Gem/vertex_program-help.pd b/Gem/vertex_program-help.pd index 2b397b0..ac68667 100644 --- a/Gem/vertex_program-help.pd +++ b/Gem/vertex_program-help.pd @@ -1,4 +1,5 @@ -#N canvas 35 199 694 458 10; +#N canvas 35 199 631 458 10; +#X declare -lib Gem; #X text 452 8 GEM object; #X obj 8 335 cnv 15 430 80 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -165,6 +166,7 @@ to load; #X obj 453 422 fragment_program; #X text 451 405 see also:; #X obj 451 206 vertex_program toon.vp; +#X obj 518 8 declare -lib Gem; #X connect 10 0 11 0; #X connect 11 0 10 0; #X connect 14 0 16 0; diff --git a/Gem/world_light-help.pd b/Gem/world_light-help.pd index 258dc3c..a2ffeb0 100644 --- a/Gem/world_light-help.pd +++ b/Gem/world_light-help.pd @@ -1,4 +1,5 @@ #N canvas 265 153 653 455 10; +#X declare -lib Gem; #X text 475 59 Example:; #X obj 7 64 cnv 15 450 200 empty empty empty 20 12 0 14 -233017 -66577 0; @@ -81,6 +82,7 @@ use "debug" to display the light source as a small cone.; #X obj 145 425 spot_light; #X obj 103 425 light; #X text 44 347 Inlet 1: float: turn light on/off (default:1); +#X obj 528 8 declare -lib Gem; #X connect 12 0 13 0; #X connect 13 0 12 0; #X connect 16 0 27 0; |