startshape TestClone
CF::Impure=1
shape RANd
rule {CIRCLE [h 0 sat 1 b 1]}
rule {SQUARE [h 120 sat 1 b 1]}
rule {TRIANGLE [h 240 sat 1 b 1]}
shape TestClone {
loop 3 [y -1] loop 2 [x 1] clone [b -1] RANd [ ]
}
hoping that in column x=1 same random shapes (a clone)
to appear (in black) as in column x=0. However,
the code does not provide this result and all 6 shapes are
random and colored. I try to achieve that a random shape
can be clone-repeated for adjustments (color, skew etc).
Advise is very much appreciated.
startshape TestClone
CF::Impure=1
shape RANd
rule {CIRCLE [h 0 sat 1 b 1]}
rule {SQUARE [s .95 h 120 sat 1 b 1]}
rule {TRIANGLE [h 240 sat 1 b 1]}
shape TestClone {
clone [x 0 y 0], [x 1 y 0 s .5 h 60 b -.5] RANd [ ]
clone [x 0 y 1], [x 1 y 1 s .5 h 60 b -.5] RANd [ ]
clone [x 0 y 2], [x 1 y 2 s .5 h 60 b -.5] RANd [ ]
}
I can visualize the impact of the shape adjustment (s .5 h 60) on
shapes x=1 but can't get the impact on brightness reduction b -.5
to get them darker. I use CF 3.0.5. Any advice ?
startshape TestClone
CF::Impure=1
shape RANd
rule {CIRCLE [h 0 sat 1]}
rule {SQUARE [s .95 h 120 sat 1]}
rule {TRIANGLE [h 240 sat 1]}
shape TestClone {
clone [x 0 y 0 b 1], [x 1 y 0 s .5 h 60 b .5] RANd [ ]
clone [x 0 y 1 b 1], [x 1 y 1 s .5 h 60 b .5] RANd [ ]
clone [x 0 y 2 b 1], [x 1 y 2 s .5 h 60 b .5] RANd [ ]
}