From ba67bbb2db6327dc0f64eab24bafe5f023ce42ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juha=20Vehvil=C3=A4inen?= Date: Mon, 17 Feb 2003 22:28:16 +0000 Subject: 0.32 svn path=/trunk/Framestein/; revision=418 --- Patches/18.example-rowca.pd | 58 +++++++++++++++++++++++++++++++++++++++++++++ Patches/fs.grid.pd | 21 +++++++++++++++- 2 files changed, 78 insertions(+), 1 deletion(-) create mode 100644 Patches/18.example-rowca.pd (limited to 'Patches') diff --git a/Patches/18.example-rowca.pd b/Patches/18.example-rowca.pd new file mode 100644 index 0000000..29ff1f9 --- /dev/null +++ b/Patches/18.example-rowca.pd @@ -0,0 +1,58 @@ +#N canvas 328 14 664 542 12; +#X obj 199 343 fs.frame; +#X obj 293 342 init; +#X msg 310 391 176x144; +#X msg 319 415 1024x768; +#X msg 327 439 3600x3600 \, display 720x576; +#X msg 227 256 rowca 001-010-011-100; +#X msg 115 282 rowca draw; +#X msg 15 282 rowca clear; +#X msg 293 368 640x480; +#X msg 421 255 rowca 111-010-001-100; +#X obj 9 35 fs.main; +#X msg 9 9 6001; +#X msg 60 9 reset; +#X text 129 8 Row cellular automata \, where each iteration adds a +new row.; +#X text 129 31 Each cell has three neighbourns \, top left \, top and +top right \, as shown below:; +#X text 129 70 123; +#X text 138 86 O; +#X text 130 106 Patterns that lead to a white cell are given as parameter +\, forming the rule of the automata.; +#X obj 150 218 t b b b; +#X msg 94 366 ping done; +#X obj 94 395 r done; +#X obj 94 422 delay 500; +#X obj 150 165 bng 45 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 94 450 spigot; +#X obj 151 452 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 +1; +#X text 23 510 (Using ping to determine when done processing); +#X obj 94 478 s again; +#X obj 73 176 r again; +#X text 170 450 try this; +#X text 205 177 click me; +#X connect 1 0 8 0; +#X connect 2 0 0 0; +#X connect 3 0 0 0; +#X connect 4 0 0 0; +#X connect 5 0 0 0; +#X connect 6 0 0 0; +#X connect 7 0 0 0; +#X connect 8 0 0 0; +#X connect 9 0 0 0; +#X connect 11 0 10 0; +#X connect 11 0 12 0; +#X connect 12 0 10 1; +#X connect 18 0 19 0; +#X connect 18 1 6 0; +#X connect 18 2 5 0; +#X connect 19 0 0 0; +#X connect 20 0 21 0; +#X connect 21 0 23 0; +#X connect 22 0 18 0; +#X connect 23 0 26 0; +#X connect 24 0 23 1; +#X connect 27 0 22 0; diff --git a/Patches/fs.grid.pd b/Patches/fs.grid.pd index 2819a1e..bea528a 100644 --- a/Patches/fs.grid.pd +++ b/Patches/fs.grid.pd @@ -1,4 +1,4 @@ -#N canvas 290 97 559 504 12; +#N canvas 290 97 563 508 12; #X obj 167 176 init; #X obj 111 267 unpack f f f f; #X obj 190 303 / 176; @@ -16,6 +16,15 @@ #X text 18 72 inlets: to fs.frame; #X text 18 88 outlets: x \, y \, fs.frame 3rd outlet; #X text 18 14 fs.grid -- grid control module; +#X obj 399 277 f \$1; +#X obj 399 302 == 0; +#X obj 399 325 sel 1; +#X obj 457 302 == 0; +#X obj 457 325 sel 1; +#X obj 457 277 f \$2; +#X obj 413 239 loadbang; +#X msg 399 349 1; +#X msg 457 349 1; #X connect 0 0 6 0; #X connect 1 2 2 0; #X connect 1 3 3 0; @@ -28,3 +37,13 @@ #X connect 12 1 1 0; #X connect 12 2 9 0; #X connect 13 0 12 0; +#X connect 17 0 18 0; +#X connect 18 0 19 0; +#X connect 19 0 24 0; +#X connect 20 0 21 0; +#X connect 21 0 25 0; +#X connect 22 0 20 0; +#X connect 23 0 17 0; +#X connect 23 0 22 0; +#X connect 24 0 10 1; +#X connect 25 0 11 1; -- cgit v1.2.1