transformation order bug
Posted: Sun Aug 28, 2016 10:32 pm
I found a minor undocumented feature.
This concerns [[...]] and order of evaluation of adjustment when there is randomness in the adjustments.
I'm using 3.0.9(v41) on Mac OS X.
MWE:
This concerns [[...]] and order of evaluation of adjustment when there is randomness in the adjustments.
I'm using 3.0.9(v41) on Mac OS X.
MWE:
Code: Select all
startshape S[a -.5]
shape S{
ONE[]
TWO[x 1.5]
THREE[x 3]
}
shape ONE{
SQUARE[b .5]
SQUARE[[x .5 y .5 s .5 sat 1 b 1 ]]
SQUARE[[s .5 x .5 y .5 sat 1 b 1 h 120]]
CIRCLE[[x .5 y .5 s .5 sat 1 b 1 h -120]]
}
shape TWO{
SQUARE[b .5]
SQUARE[[x .5 y .5 s .5 sat 1 b 1 ]]
SQUARE[[s .5 x .5 y .5 sat 1 b 1 h 120]]
CIRCLE[[x .5 y 0.5..0.501 s .5 sat 1 b 1 h -120]]
}
shape THREE{
SQUARE[b .5]
SQUARE[[x .5 y .5 s .5 sat 1 b 1 ]]
SQUARE[[s .5 x .5 y .5 sat 1 b 1 h 120]]
CIRCLE[[x .5 y 0.5..0.5 s .5 sat 1 b 1 h -120]]
}