gifs=Animate[
Graphics[p,PlotRange->2,Background->Darker[Gray, 0.5]],
{p,{Style[{LightYellow,Rectangle[{-0.1,-0.1},{0.1,0}],LightYellow,Disk[{0,0},0.1]}],Style[{LightYellow,Rectangle[{-0.15,-0.15},{0.15,0}],LightYellow,Disk[{0,0},0.15]}],Style[{LightYellow,Rectangle[{-0.2,-0.2},{0.2,0}],LightYellow,Disk[{0,0},0.2]}],Style[{LightYellow,Rectangle[{-0.25,-0.25},{0.25,0}],LightYellow,Disk[{0,0},0.25]}],Style[{LightYellow,Rectangle[{-0.3,-0.3},{0.3,0}],LightYellow,Disk[{0,0},0.3]}],Style[{LightYellow,Rectangle[{-0.35,-0.35},{0.35,0}],LightYellow,Disk[{0,0},0.35]}],Style[{LightYellow,Rectangle[{-0.4,-0.4},{0.4,0}],LightYellow,Disk[{0,0},0.4]}],Style[{LightYellow,Rectangle[{-0.45,-0.45},{0.45,0}],LightYellow,Disk[{0,0},0.45]}],Style[{LightYellow,Rectangle[{-0.5,-0.5},{0.5,0}],LightYellow,Disk[{0,0},0.5]}],
Style[{LightYellow,Rectangle[{-0.55,-0.55},{0.55,0}],LightYellow,Disk[{0,0},0.55]}],Style[{LightYellow,Rectangle[{-0.6,-0.6},{0.6,0}],LightYellow,Disk[{0,0},0.6]}],Style[{LightYellow,Rectangle[{-0.65,-0.65},{0.65,0}],LightYellow,Disk[{0,0},0.65]}],Style[{LightYellow,Rectangle[{-0.7,-0.7},{0.7,0}],LightYellow,Disk[{0,0},0.7]}],Style[{LightYellow,Rectangle[{-0.75,-0.75},{0.75,0}],LightYellow,Disk[{0,0},0.75]}],Style[{LightYellow,Rectangle[{-0.8,-0.8},{0.8,0}],LightYellow,Disk[{0,0},0.8]}],Style[{LightYellow,Rectangle[{-0.85,-0.85},{0.85,0}],LightYellow,Disk[{0,0},0.85]}],Style[{LightYellow,Rectangle[{-0.9,-0.9},{0.9,0}],LightYellow,Disk[{0,0},0.9]}],Style[{LightYellow,Rectangle[{-0.95,-0.95},{0.95,0}],LightYellow,Disk[{0,0},0.95]}],
Style[{LightYellow,Rectangle[{-1.0,-1.0},{1.0,0}],LightYellow,Disk[{0,0},1.0]}],Style[{LightYellow,Rectangle[{-1.5,-1.5},{1.5,0}],LightYellow,Disk[{0,0},1.5]}],Style[{LightYellow,Rectangle[{-2.0,-2.0},{2.0,0}],LightYellow,Disk[{0,0},2.0]}]
}},AnimationRunning->False]

Directory[]
Export["anime.gif",gifs]

Directory[]
Export["anime.gif",gifs]

Graphics[{Rectangle[{-0.1,-0.1},{0.1,0}],Disk[{0,0},0.1]}]

Style[Graphics[{LightYellow,Rectangle[{-0.1,-0.1},{0.1,0}],LightYellow,Disk[{0,0},0.1]}]]

Graphics[Style[{LightYellow,Rectangle[{-0.1,-0.1},{0.1,0}],LightYellow,Disk[{0,0},0.1]}]]