I have an animation consisting of relatively simple moving shapes - mostly solid black polygons. When I render the animation using
myAnimation = animate(myListOfFrames)
myAnimation.show(delay=5)
I see bright yellow color along the leading edges of some of the black polygons. ("Leading edge" is defined with respect to the direction of motion. Specifically my figure is moving to the left with a combination of translational and counterclockwise rotational motion and I am seeing the yellow along the top left portions of the polygons in the top left part of the figure. I also smaller yellow effects in other parts of the figure.)
When I inspect the frames one-by-one using, for example,
myAnimation[12].show()
I do not see the yellow. Since imagemagick is used by default for showing animations, I thought it might be an imagmagick effect, so I tried
myAnimation.gif(delay=5,savefile='myFileName',use_ffmpeg=True)
instead, but still found the same thing.
I surmise this might have something to do with the limited color palette in converting to .gif format. Are there any options for show() or animate(), or for imagemagick or ffmpeg more generally that users can play with through sage? Or any suggestions really for getting around this issue.