NAME: curdle AUTHOR INFO: Larry Gelberg, Stardent Computer, 617-964-1000 SOURCE FILE: curdle.c TYPE: data INPUTS: NONE OUTPUTS: field 2d uniform 4-vector byte PARAMETERS: Name Type Default Min Max Choices kernel_size int 3 3 10 cell_number int 0 0 kernel_size*kernel_size active toggle on on off recursion int 4 1 7 IMPORTANT: This module will not work with AVS2 - it only works with AVS3!!!! DESCRIPTION: CURDLE creates a fractal image of a 'curdle' or Cantor dust. This kind of fractal is based on a square 'kernel' whose size is controlled by the KERNEL_SIZE parameter. Every element in the kernel gets recursively turned into a new copy of the kernel. The number of levels of recursion are controlled by the RECURSION parameter. Every element in the kernel which is ACTIVE gets evaluated further. Inactive kernel elements do not get evaluated. You activate kernel elements by dialing the CELL_NUMBER to a particular cell within the kernel and hitting the ACTIVE button. For example, a 3x3 kernel with every other element turned on looks like this after one level of recursion: _____________ |_0_|_1_|_0_| |_1_|_0_|_1_| |_0_|_1_|_0_| After two levels, you get: _____________________________________ |_0_|_0_|_0_|_0_|_1_|_0_|_0_|_0_|_0_| |_0_|_0_|_0_|_1_|_0_|_1_|_0_|_0_|_0_| |_0_|_0_|_0_|_0_|_1_|_0_|_0_|_0_|_0_| |_0_|_1_|_0_|_0_|_0_|_0_|_0_|_1_|_0_| |_1_|_0_|_1_|_0_|_0_|_0_|_1_|_0_|_1_| |_0_|_1_|_0_|_0_|_0_|_0_|_0_|_1_|_0_| |_0_|_0_|_0_|_0_|_1_|_0_|_0_|_0_|_0_| |_0_|_0_|_0_|_1_|_0_|_1_|_0_|_0_|_0_| |_0_|_0_|_0_|_0_|_1_|_0_|_0_|_0_|_0_| IMPORTANT: Large kernels with many levels of recursion can create HUGE images. If your kernel size is above 4, you generally do not want your recursion level to be above 3. EXAMPLE NETWORK: CURDLE | DISPLAY IMAGE