[BUG] [eToys] Embedded Morphs, Heading & Pen use

Karl Ramberg karl.ramberg at chello.se
Sun Aug 17 19:35:54 UTC 2003



Bert Freudenberg wrote:
> 
> diegogomezdeck at consultar.com wrote:
> 
> > Hi...
> >
> > See this project in
> >
> > http://www.squeakland.org/project.jsp?
> > http://www.squeakland.org/uploads/Spirograph%203.005.pr
> >
> > The green circle is embedded in the yellow rectangle, the yellow rectangle
> > is embedded in the red one and the red is embedded in the blue one.  The
> > blue, red and yellow rectangles have a non-default center of rotation.  The
> > green circle has the pen down.
> >
> > Each time the blue rectangle get heading in 0 degrees and the others
> > rectangles have non-zero headings, the pen trail get corrupted.
> 
> It's because the transform morph gets dropped at 0 degrees. You can see
> this when you make the blue bar transparent. No solution, though.

Use a float so it does not get a heading of 0.

Karl



More information about the Squeak-dev mailing list