diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-08-16 08:42:27 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2003-08-16 08:42:27 +0000 |
commit | 42750d74dc03be5fc10e56f3c534e854680c7d17 (patch) | |
tree | 560c964aefcbf20791f8ab9bce9176088160126b /blinkenlights/help-blinkenlights.pd | |
parent | df8f6ea4605606562341adf83cd4fc450490ccb6 (diff) |
added files straight from Yves' sources
svn path=/trunk/externals/unauthorized/; revision=859
Diffstat (limited to 'blinkenlights/help-blinkenlights.pd')
-rw-r--r-- | blinkenlights/help-blinkenlights.pd | 138 |
1 files changed, 138 insertions, 0 deletions
diff --git a/blinkenlights/help-blinkenlights.pd b/blinkenlights/help-blinkenlights.pd new file mode 100644 index 0000000..3fc28a6 --- /dev/null +++ b/blinkenlights/help-blinkenlights.pd @@ -0,0 +1,138 @@ +#N canvas 80 -6 868 605 10; +#X text 495 569 Comments and bugs @ ydegoyon@noos.fr; +#X text 496 555 Part of unauthorized PD; +#X text 430 493 blinkenlights is a blinkenlights movies player; +#X text 430 507 but it's also a pixel grid than you can use for ASCII +art...; +#X text 430 523 Constructor : blinkenlights <width> <height> <x pixel +size> <y pixel size>; +#X msg 125 10 create; +#X msg 182 10 destroy; +#X text 274 11 Create/destroy the window; +#X msg 125 129 background 78 34 12; +#X text 275 131 Set the background color [RGB]; +#X text 275 154 Set the foreground color [RGB]; +#X msg 121 223 pixon \$1 \$2; +#X msg 284 222 bang; +#X msg 285 266 bang; +#X msg 122 267 pixoff \$1 \$2; +#X obj 34 562 blinkenlights 18 8 32 32; +#X msg 125 152 foreground 124 78 89; +#X obj 347 277 hsl 32 8 1 32 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 336 250 vsl 8 32 1 32 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X text 355 257 Set a pixel off; +#X text 352 213 Set a pixel on; +#X obj 346 232 hsl 32 8 1 32 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 335 205 vsl 8 32 1 32 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X msg 338 309 bang; +#X obj 400 320 hsl 32 8 1 32 0 0 empty empty empty -2 -6 0 8 -262144 +-1 -1 0 1; +#X obj 389 293 vsl 8 32 1 32 0 0 empty empty empty 0 -8 0 8 -262144 +-1 -1 0 1; +#X text 410 303 Set a pixel in a particular color; +#X msg 118 310 pixel \$1 \$2 34 23 109; +#X obj 120 338 + 1; +#X obj 217 338 + 1; +#X obj 316 338 random 255; +#X obj 395 338 random 255; +#X obj 470 338 random 255; +#X msg 118 360 pixel \$1 \$2 \$3 \$4 \$5; +#X obj 267 359 pack f f f f f; +#X obj 464 360 t b b b b b; +#X msg 593 339 stop; +#X text 634 342 Random drawing; +#X msg 547 339 bang; +#X obj 548 360 metro 10; +#X obj 146 338 random 32; +#X obj 246 337 random 32; +#X msg 125 107 clear; +#X text 274 105 Clear the area; +#X text 122 187 ============================================ Pixel +Functions; +#X text 552 187 ========================================; +#X text 550 -6 ========================================; +#X text 547 394 ========================================; +#X text 117 394 =========================================== Movies +Functions; +#X text 122 -6 =========================================== Grid Actions +; +#X obj 214 222 pack f f; +#X obj 215 266 pack f f; +#X obj 275 310 pack f f; +#X msg 125 81 xsize 32; +#X msg 192 81 ysize 32; +#X text 274 79 Set the pixel x & y size; +#X msg 127 33 width 24; +#X msg 125 58 height 24; +#X text 275 37 Set the width ( number of pixels ); +#X text 275 56 Set the height ( number of pixels ); +#X msg 120 416 open ./blm/ascii_people.blm; +#X msg 328 416 play; +#X msg 370 416 stop; +#X msg 120 443 open \$1; +#X msg 411 416 next; +#X obj 451 415 metro 100; +#X msg 524 416 bang; +#X msg 564 415 stop; +#X obj 195 453 playlist .blm 200 100; +#X msg 434 472 location /usr/local/pd/externs/blinkenlights/blm; +#X obj 434 450 loadbang; +#X connect 5 0 15 0; +#X connect 6 0 15 0; +#X connect 8 0 15 0; +#X connect 11 0 15 0; +#X connect 12 0 50 0; +#X connect 13 0 51 0; +#X connect 14 0 15 0; +#X connect 16 0 15 0; +#X connect 17 0 51 0; +#X connect 18 0 13 0; +#X connect 18 0 51 1; +#X connect 21 0 50 0; +#X connect 22 0 12 0; +#X connect 22 0 50 1; +#X connect 23 0 52 0; +#X connect 24 0 52 0; +#X connect 25 0 23 0; +#X connect 25 0 52 1; +#X connect 27 0 15 0; +#X connect 28 0 34 0; +#X connect 29 0 34 1; +#X connect 30 0 34 2; +#X connect 31 0 34 3; +#X connect 32 0 34 4; +#X connect 33 0 15 0; +#X connect 34 0 33 0; +#X connect 35 0 40 0; +#X connect 35 1 41 0; +#X connect 35 2 30 0; +#X connect 35 3 31 0; +#X connect 35 4 32 0; +#X connect 36 0 39 0; +#X connect 38 0 39 0; +#X connect 39 0 35 0; +#X connect 40 0 28 0; +#X connect 41 0 29 0; +#X connect 42 0 15 0; +#X connect 50 0 11 0; +#X connect 51 0 14 0; +#X connect 52 0 27 0; +#X connect 53 0 15 0; +#X connect 54 0 15 0; +#X connect 56 0 15 0; +#X connect 57 0 15 0; +#X connect 60 0 15 0; +#X connect 61 0 15 0; +#X connect 62 0 15 0; +#X connect 63 0 15 0; +#X connect 64 0 15 0; +#X connect 65 0 64 0; +#X connect 66 0 65 0; +#X connect 67 0 65 0; +#X connect 68 0 63 0; +#X connect 69 0 68 0; +#X connect 70 0 69 0; |