Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- documentclass[tikz, border=0]{standalone}
- begin{document}
- begin{tikzpicture}
- fill [black] (-7,-8) rectangle (7,6);
- begin{scope}
- foreach c [count=i from 0] in {orange, yellow, yellow!50, white}
- clip [preaction={fill=c}, xscale=1-i/10]
- (0:1) to [bend right] ++(315:2) to [bend right] ++(60:4) to [bend right, looseness=0.5] cycle [xscale=-1]
- (0:1) to [bend right] ++(315:2) to [bend right] ++(60:4) to [bend right, looseness=0.5] cycle;
- end{scope}
- begin{scope}
- foreach c [count=i from 0] in {orange, yellow, yellow!50, white}
- clip [preaction={fill=c}, xscale=1-i/20, shift=(270:i/2), yscale=1-i/5] (0:5) arc (360:330:5 and 3)
- foreach i in {330, 300, 270, 240}
- { arc (i:i-10:5 and 3) -- (i-15:5 and 5) -- (i-20:5 and 3) arc (i-20:i-30:5 and 3) } arc (210:180:5 and 3)
- arc (180:225:5 and 6)
- foreach i in {225, 255, 285, 315}
- { arc (i:i+10:5 and 6) -- (i+15:5 and 4) -- (i+20:5 and 6) arc (i+20:i+30:5 and 6) } arc (345:360:5 and 6) -- cycle;
- end{scope}
- end{tikzpicture}
- end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement