Strange size changes in Manipulate with GeometricTransformation
- To: mathgroup at smc.vnet.net
- Subject: [mg92156] Strange size changes in Manipulate with GeometricTransformation
- From: Nazdrovje <nazdrovje at gmail.com>
- Date: Mon, 22 Sep 2008 05:24:39 -0400 (EDT)
Hi group,
I was playing with Manipulate and GeometricTransformation and found a
strange difference in behaviour when manipulating the orientation of a
circle containing a line depending on how it was drawn. Below, I
provide two ways of drawing this configuration. The first one behaves
as expected, but moving the slider in the second example results in
unexpected size changes.
I suppose it must have something to do with bounding boxes of the
building blocks, but I don't quite get it. I also feel the behaviour
of the second one is actually wrong. What do you folks think?
Cheers -- Nazdrovje
This one rotates as expected:
Manipulate[
Graphics[
GeometricTransformation[
{
Circle[],
Line[{{-1, 0}, {1, 0}}]
}, RotationTransform[x =B0]
]
], {x, -180, 180}
]
This one behaves erratical:
Manipulate[
Graphics[
GeometricTransformation[
{
EdgeForm[Black],
FaceForm[],
Disk[{0, 0}, 1, {\[Pi], 2 \[Pi]}],
Disk[{0, 0}, 1, {0, \[Pi]}]
}, RotationTransform[x =B0]
]
], {x, -180, 180}
]